-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Comments
@narrative1st did you ever solve this? Trying to figure out how to use phpword and S3 together |
@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
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?
The text was updated successfully, but these errors were encountered: