Hi,
I just installed the "export" package and phantomjs, but I am getting the following error message:
Fatal error: Uncaught exception 'Exception' with message 'Could not execute phantomjs' in C:\Users\gven\vqr\vqr-development\www\vendor\koolphp\koolreport\koolreport\packages\export\Handler.php:71 Stack trace: #0 C:\Users\gven\vqr\vqr-development\www\vendor\koolphp\koolreport\koolreport\packages\export\Handler.php(156): koolreport\export\Handler->runPhantom('C:\\Users\\gven\\v...', 'C:\\Users\\gven\\v...', 'C:\\Users\\gven\\v...', 'eyJmb3JtYXQiOiJ...') #1 C:\Users\gven\vqr\vqr-development\www\mypage\index.php(13): koolreport\export\Handler->pdf(Array) #2 {main} thrown in C:\Users\gven\vqr\vqr-development\www\vendor\koolphp\koolreport\koolreport\packages\export\Handler.php on line 71
Looking at line 71, it is an issue with the shell_exec. On my development machine I am running PHP 5.6.36. It is a Windows 10 machine, and the website runs through IIS. I have already assigned an administrator account as the account that runs the website, but this does not make any difference.
The code I am running is just the "mypage.php" example from the package blog. I did have to specify the path to the phantomjs file, because otherwise it gave a not found error. When I did set the path though, that error went away.
What now? Does anybody has any idea what needs to be done to make this work in this context?
Thanks!
Gerard