KoolReport's Forum

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

Phantomjs issue again! #2041

Open Richb201 opened this topic on on Apr 20, 2021 - 5 comments

Richb201 commented on Apr 20, 2021

I am getting an error "could not execute phantomjs". This is on my ec2 server. Here is the listing:

ubuntu@ip-172-31-66-147:~/rst/RST/app/vendor/koolreport/export$ ls -l
total 100
-rwxrwxr-x 1 ubuntu ubuntu  1412 Apr 20 09:41  CHANGELOG.md
-rwxrwxr-x 1 ubuntu ubuntu   927 Apr 20 09:41  Exportable.php
-rwxrwxr-x 1 ubuntu ubuntu  2601 Apr 20 09:41  File.php
-rwxrwxr-x 1 ubuntu ubuntu 10304 Apr 20 09:41  Handler.php
-rwxrwxr-x 1 ubuntu ubuntu   625 Apr 20 09:41 'How to run nodejs linux.md'
-rwxrwxr-x 1 ubuntu ubuntu  2464 Apr 20 09:41 'How to run nodejs windows.md'
-rwxrwxr-x 1 ubuntu ubuntu    51 Apr 20 09:41  LICENSE
-rwxrwxr-x 1 ubuntu ubuntu 13997 Apr 20 09:41  README.md
drwxrwxrwx 2 ubuntu ubuntu  4096 Apr 19 20:17  bin
-rwxrwxr-x 1 ubuntu ubuntu   210 Apr 20 09:41  codeception.yml
drwxrwxrwx 2 ubuntu ubuntu  4096 Apr 20 09:41  common
-rwxrwxr-x 1 ubuntu ubuntu   616 Apr 20 09:41  composer.json
-rwxrwxr-x 1 ubuntu ubuntu  5046 Apr 20 09:41  composer.lock
drwxrwxrwx 2 ubuntu ubuntu  4096 Apr 20 09:41  image
-rwxrwxr-x 1 ubuntu ubuntu 11364 Apr 20 09:41  package-lock.json
drwxrwxrwx 2 ubuntu ubuntu  4096 Apr 20 09:41  pdf
drwxrwxrwx 5 ubuntu ubuntu  4096 Apr 20 09:41  tests

Please tell me what to fix?

KoolReport commented on Apr 20, 2021

Please make sure the phantomjs has permission to run, try chmod 755 for phantomjs execution file.

Richb201 commented on Apr 20, 2021

I don't see a phantomjs execution file. I was thinking that it is Handler.php that needs to be changed? Am I wrong? Where would phantomjs be located?

KoolReport commented on Apr 20, 2021

the phantomjs execution file should be inside "bin" folder.

Richb201 commented on Apr 21, 2021

Still there. richb201@richb201-XPS-13-9370:/opt/docker-substantiator2/app/vendor/koolreport/export/bin$ ls -l total 66344 -rwxrwxrwx 1 richb201 richb201 67932064 Jan 25 2016 phantomjs

KoolReport commented on Apr 21, 2021

Yes, although the file is there but it may not have permission to run so please use chmod 755 to set permission to the file.

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

None