Skip to content
This repository has been archived by the owner on Apr 27, 2020. It is now read-only.

show() function doesn't work! #108

Open
wixys opened this issue Jun 20, 2016 · 3 comments
Open

show() function doesn't work! #108

wixys opened this issue Jun 20, 2016 · 3 comments

Comments

@wixys
Copy link

wixys commented Jun 20, 2016

Hi there,

I'm using thujohn/pdf-l4 with Laravel 4 and the show function doesn't work, showing the PDF in the browser without formatting. Can anyone tell me why this is happening?

@josephilipraja
Copy link

Running a chmod -R 777 vendor/thujohn/pdf/src/Thujohn/Pdf/dompdf/ seems to fix it for me!
Apparently dompdf needs write permissions to generate PDF on the fly..

@patieru12
Copy link

patieru12 commented Aug 21, 2017

Running this chown -R www-data:www-data vendor/thujohn Fix my issue www-data is user used by my web server.

@wixys
Copy link
Author

wixys commented Jan 4, 2019

@patieru12 It works, thanks!

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

No branches or pull requests

3 participants