title: Laravel WKHTMLTOPDF Not Working
body: <p>I am using the laravel php framework, version 4.1 and the <a href="https://github.com/NitMedia/wkhtml2pdf" rel="nofollow noreferrer">wkhtml2pdf</a> package. I am using the following code in routes.php:</p>
  <pre><code>Route::get('/test/export', function() {
      return PDF::url('http://google.com');
  });
  </code></pre>
  <p>But I get this error saying <code>WKHTMLTOPDF didn't return any data</code>:
  <img src="https://i.stack.imgur.com/ZJ9qJ.png" alt="Error I get" />
  I also tried using an internal view like this:</p>
  <pre><code>Route::get('/test/export', function() {
      return PDF::html('Auth.home');
  });
  </code></pre>
  <p>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</p>