KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.

Phantomjs #867

Open Kasun Wijayamanna opened this topic on on May 13 - 2 comments

Kasun Wijayamanna commented on May 13

Hi, I have error in Export package. I have same package in same server that works fine. But, in this project it was not executing . Can you please help to resolve the issue . It's very emergency. Please help to resolve the issue. Thanks.

Fatal error: Uncaught Exception: Please set executable permission for phantomjs in /home/xx/public_html/go/application/libraries/koolreport/packages/export/Handler.php:63 Stack trace: #0 /home/xx/public_html/go/application/libraries/koolreport/packages/export/Handler.php(237): koolreport\export\Handler->runPhantom('/home/xx...', '/tmp/5cd94ade1a...', '/tmp/5cd94ade1a...', 'eyJmb3JtYXQiOiJ...') #1 /home/xx/public_html/go/application/views/admin/reports/WebExport.php(33): koolreport\export\Handler->pdf(Array) #2 /home/xx/public_html/go/system/core/Loader.php(1667): include('/home/xx...') #3 /home/xx/public_html/go/system/core/Loader.php(839): CI_Loader->_ci_load(Array) #4 /home/xx/public_html/go/application/controllers/report.php(332): CI_Loader->view('admin/reports/W...') #5 /home/xx/public_html/go/system/core/CodeIgniter.php(719): Report->quote_pdf('5', 'Normal') #6 /home/xx/public_html/go/index.php(403): require_once('/home/xx...') #7 {m in /home/xx/public_html/go/application/libraries/koolreport/packages/export/Handler.php on line 63

KoolReport commented on May 13

Please try to use chmod to set permission of phantomjs execution file to 755

Kasun Wijayamanna commented on May 14

Thanks very much, it's solved.

Give tips to supporter for his good work

If you feel that supporter has done a good work, consider giving him some credit. Any amount put into the tips box below is appreciated. By doing so, you have contribtuted to the existence of KoolReport and the quality of support.

Tips box
help needed