Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't read RTF files #1344

Open
jhull opened this issue Apr 11, 2018 · 2 comments
Open

Can't read RTF files #1344

jhull opened this issue Apr 11, 2018 · 2 comments

Comments

@jhull
Copy link

jhull commented Apr 11, 2018

If I use Laravel's built-in Storage method: $contents = Storage::get($path); where $path is the full URL to an S3 store, I get the entire RTF complete with \par and \n everywhere.

If I try to run PHPWord with the same thing: $uploaded = \PhpOffice\PhpWord\IOFactory::load($url, 'RTF'); I get an error that the method couldn't read the file.

This isn't a permission or bucket policy problem, but rather something else. Any ideas?

@StevenBendell
Copy link

@narrative1st did you ever solve this? Trying to figure out how to use phpword and S3 together

@maciejsk
Copy link

@MachSteve did you solve this?I try to save phpword to S3 together.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants