I see this in the Troubleshooting manual for this package:
1. Some users have noted a strange permissions issue executing the drivers. Try chmod'ing the driver files to solve the issue.
Have you given this a shot?
Question
I am using the laravel php framework, version 4.1 and the wkhtml2pdf package. I am using the following code in routes.php:
Route::get('/test/export', function() {
return PDF::url('http://google.com');
});
But I get this error saying WKHTMLTOPDF didn't return any data
:
I also tried using an internal view like this:
Route::get('/test/export', function() {
return PDF::html('Auth.home');
});
But I got the same error I have also tried giving my whole project recursive permissions and that did not fix it either. I am running OS X 10.9 on a 2011 macbook pro and using mamp
La solution
I see this in the Troubleshooting manual for this package:
1. Some users have noted a strange permissions issue executing the drivers. Try chmod'ing the driver files to solve the issue.
Have you given this a shot?