screen
screen copied to clipboard
failed to write the picture
Hey. Just tried to use your demo code and this is what I got from nginx:
FastCGI sent in stderr: "PHP message: PHP Warning: filesize(): stat failed for test.jpg in /httpdocs/test.php on line 42 PHP message: PHP Warning: readfile(test.jpg): failed to open stream: No such file or directory in /httpdocs/test.php on line 43" while reading response header from upstream
Thx for your package anyway
Same problem here :(
I'm sorry but I can't test it at the moment, can you debug it please, and if possible submit a fix?
Thanks
Same problem..
Can you provide steps to reproduce the problem?
Hi, I followed the instruction of README (install with composer ). And i have => sh: 1: /var/www/xxx.xxx/thumb/vendor/microweber/screen/bin/phantomjs: not found
My code : ````
save($fileLocation, true); ``` ```
ping @MASNathan
if i try your demo, same problem too.
come-on someone submit PR for this :)
Yup. Not working for me either.
@joshcrawmer4 @demenvil
can you debug it?
Would be great, if someone could fix this awesome tool. Will be really useful.
I managed to fix this problem by replacing phantomjs with the 64bit one from http://phantomjs.org/download.html Just swap them and now works :)
hy for me, on localhost (window) it works with phantomjs linux 64bit too but on server it does not work run demo/shot.php: the test.jpg image is deleted, but it's not create the new image
any suggest?
Same problem with errors. 🎱
Warning: filesize(): stat failed for test.jpg in PATH on line 50
Warning: readfile(test.jpg): failed to open stream: No such file or directory in PATH on line 51
This fixed the problem on my site:
Change the filelocation to: $fileLocation = $_SERVER["DOCUMENT_ROOT"].'/SAVE_FOLDER/FILENAME'; $screen->save($fileLocation);
I did all of solution but get 500 error. how can I get rid of it? It really made me crazy
create pacote:
$ composer require cpdrenato/screen
pacote corrigido para 64bits : $ composer require cpdrenato/screen