KoolReport's Forum

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

Export package show blank report - 2 #2439

Open saiful opened this topic on on Nov 18, 2021 - 9 comments

saiful commented on Nov 18, 2021

My apologize that forum that I was started here: https://www.koolreport.com/forum/topics/2428 is getting inaccessible due to page unresponsive.

here is the result with or without

echo str_replace("<", "&lt", $result); exit;

Sebastian Morales commented on Nov 18, 2021

Since the phantomjs command executes fine in command line but not in PHP I think the difference might be the user account executing the command (your account in command line and IIS web user in PHP). Could you pls try to switch to using Apache and see if it makes different. Tks,

saiful commented on Nov 19, 2021

okay, i've been moved out the project to Ubuntu with Apache server, i've been change permission for the exectuion file too:

and here is the result:

Sebastian Morales commented on Nov 19, 2021

Pls echo the $command before shell_exec and copy/paste the echoed command to your Ubuntu's terminal to run it and let us know the result. Tks,

saiful commented on Nov 19, 2021

here is the result:

Sebastian Morales commented on Nov 19, 2021

Pls copy/paste this command to Ubuntu's terminal and run it. Tks,

saiful commented on Nov 19, 2021

here is the result:

Sebastian Morales commented on Nov 19, 2021

Pls don't use the command in multi lines, copy and edit it so that it's one line command. Tks,

saiful commented on Nov 19, 2021

do you mean like this? :

Sebastian Morales commented on Nov 19, 2021

Yes, I did. Your command is fine now. The only problem is that Phantomjs seems not running correctly. Pls try install it again using this link as guidance:

https://tecadmin.net/install-phantomjs-on-ubuntu/

Then verify it by running phantomjs --version.

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