screen icon indicating copy to clipboard operation
screen copied to clipboard

Getting 500 issue

Open manikandanselva opened this issue 6 years ago • 3 comments

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

manikandanselva avatar Jun 19 '19 07:06 manikandanselva

Same issue on centos, how can resolve it?

vahidsabet avatar Aug 09 '19 19:08 vahidsabet

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

vahidsabet avatar Aug 10 '19 06:08 vahidsabet

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

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

sebastianskurnog avatar Feb 12 '20 14:02 sebastianskurnog