Replies: 1 comment
-
Same issue here, have to rebuild my models! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using laravel with phpword on a shared hosting.
The issue is that php word create doc file in system temporary directory.
the solution is either make phpword to use custom temp directory or allow
Storage::download
to accept absolute path.When i did
it gave me this

it seems like
Storage::download
strip leading/
. sure i can use$tpp->saveAs($path)
instead,but that means i have to configure cronjob and perform cleanup by myself instead of let the hosting provider do it for me.
Beta Was this translation helpful? Give feedback.
All reactions