KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Export package setup #452

Open Eric opened this topic on on Sep 7, 2018 - 2 comments

Eric commented on Sep 7, 2018

Hello, I'm testing the export to PDF package. It works fine on Windows but I'm having some issues with Linux. I've installed phantomjs-2.1.1-linux.zip on the server in the export/bin directory. The PHP functions 'exec', 'sustem', 'passthru' and 'popen' exist and are available but when I generate a report I get this error:

Fatal error: Uncaught Exception: Could not execute phantomjs in /home/<path>/koolreport/packages/export/Handler.php:71 Stack trace: #0 /home/<path>/koolreport/packages/export/Handler.php(156): koolreport\export\Handler->runPhantom('/home/grouperb/...', '/tmp/5b927c4c0c...', '/tmp/5b927c4c0c...', 'eyJmb3JtYXQiOiJ...')

What am i missing? Thanks

KoolReport commented on Sep 8, 2018

Could you please check the shell_exec() since Export package use this function.

Eric commented on Sep 8, 2018

I confirm that shell_exec is available on the server. Thanks

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
help needed

Export