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

Permission issues since upgrading to Laravel 4.1 #5

Open
ghost opened this issue Jan 29, 2014 · 4 comments
Open

Permission issues since upgrading to Laravel 4.1 #5

ghost opened this issue Jan 29, 2014 · 4 comments

Comments

@ghost
Copy link

ghost commented Jan 29, 2014

Hi, since upgrading to 4.1 I get the following error on PDF generation:
Could not run command '' --bin '/var/www/docassembly/vendor/h4cc/wkhtmltopdf-amd64/bin/wkhtmltopdf-amd64' /var/www/docassembly/public/tmp/tmp_WkHtmlToPdf_1Ji2WE.html /var/www/docassembly/public/tmp/tmp_WkHtmlToPdf_WPB2Nl: sh: 1: : Permission denied

I checked all permissions and everything seems fine, any ideas?

Cheers

@baze
Copy link

baze commented May 5, 2014

the config option in phpwkhtmltopdf has changed, so this package needs to reflect this.
the config option is no longer "bin" but "binPath".
If you change it in the config file and in the service provider, it works fine again.

@saikirakiva
Copy link

I have the same problem too. I changed "bin" to "binPath" in the config file and the service provider. However, there is still an error of Permission Denied.

@baze
Copy link

baze commented Jul 26, 2014

Do you use vagrant? If so, set fmode for files to 777 or 755 or else all files in the shared dir won't be executable. I nearly lost my mind over this problem ;)

On 26.07.2014, at 17:55, saikirakiva [email protected] wrote:

I have the same problem too. I changed "bin" to "binPath" in the config file and the service provider. However, there is still an error of Permission Denied.


Reply to this email directly or view it on GitHub.

@saikirakiva
Copy link

I am not using Vagrant. Is there anything else I should be looking at? Sorry, I am really lost on what to do next. On the net, there has been discussion but no solution.

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

No branches or pull requests

2 participants