Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting 500 issue #111

Open
manikandanselva opened this issue Jun 19, 2019 · 3 comments
Open

Getting 500 issue #111

manikandanselva opened this issue Jun 19, 2019 · 3 comments

Comments

@manikandanselva
Copy link

manikandanselva commented Jun 19, 2019

Fatal error: Uncaught Screen\Exceptions\PhantomJsException: sh: /home/www/html/developementsec.com/browsershotnew/plugin/bin/phantomjs: Permission denied in /home/www/html/developementsec.com/browsershotnew/plugin/src/Capture.php:301 Stack trace: #0 /home/www/html/developementsec.com/browsershotnew/plugin/demo/shot.php(43): Screen\Capture->save('test') #1 {main} thrown in /home/www/html/developementsec.com/browsershotnew/plugin/src/Capture.php on line 301

@vahidsabet
Copy link

Same issue on centos, how can resolve it?

@vahidsabet
Copy link

Found out, Just add
$screen->setOptions([
'ignore-ssl-errors' => 'yes',
]);
and it works like a charm.
Good luck

@sebastianskurnog
Copy link

In my case i have to set phantomjs path directly (linux):

$screen->binPath = '/usr/local/bin/';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants