title: Exception in JasperPHP.php line 178: Your report has an error and couldn't be processed
body: <p>If you have some time to replay to me. 
  I try to use JasperPHP in Laravel 5 but can't. I make sample report with static text:
  <img src="https://cloud.githubusercontent.com/assets/10199584/13254745/085187ba-da43-11e5-863c-60f106ed2482.png" alt="test report">
  But when I publish it and start with Laravel with that code:</p>
  
  <pre><code>    $output = public_path() . '/report/Test';
      $ext = "pdf";
      $jasper = JasperPHP::compile(
          public_path() . '/reports/Test.jasper',
          true
      )-&gt;execute();
  
      header('Content-Description: File Transfer');
      header('Content-Type: application/octet-stream');
      header('Content-Disposition: attachment; filename='.time().'Test.'.$ext);
      header('Content-Transfer-Encoding: binary');
      header('Expires: 0');
      header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
      header('Pragma: public');
      header('Content-Length: ' . filesize($output.'.'.$ext));
      flush();
      readfile($output.'.'.$ext);
      unlink($output.'.'.$ext); // deletes the temporary file
  </code></pre>
  
  <p>And Laravel gives me an error:</p>
  
  <p>Exception in JasperPHP.php line 178: Your report has an error and couldn't be processed! Try to output the command using the function <code>output();</code> and run it manually in the console.</p>
  
  <p>Can you help me? What I do wrong? I would like to generate pdf file for that report and send it to client. </p>
  
  <p>Also one more question. How to send param to report?</p>
  
  <p>The same problem I have when try with real report with datasets </p>
  
  <p>When I change it with:</p>
  
  <pre><code>   $jasper = new JasperPHP;
      $jasper-&gt;process(
          public_path() . '/reports/Faktura.jasper',
          $output,
          array("pdf"),
          array("fID"=&gt;$request-&gt;fID),
          Config::get('database.connections.mysql')
      )-&gt;output();
  </code></pre>
  
  <p>Where is fID param. in report Faktura and also get error:
  Your report has an error and couldn't be processed! Try to output the command using the function <code>output();</code> and run it manually in the console.</p>
  
  <p>when try output I get that in output:
  <img src="https://cloud.githubusercontent.com/assets/10199584/13279918/2c2de7bc-dadb-11e5-8016-526f5e0c324f.png" alt="output"></p>
  
  <p>TNX.</p>