Image icon indicating copy to clipboard operation
Image copied to clipboard

copy(cache/images/f/a/l/l/b/fallback.jpg): failed to open stream: No such file or directory

Open hebertlima opened this issue 4 years ago • 1 comments

Hey friend! first of all, thank you! this library is amazing!

Everything works fine on localhost, but I've got this error on AWS host, I gave permission 775 for this file: vendor/gregwar/image/Gregwar/Image/Image.php but still not working, may you help?

"message": "copy(cache/images/f/a/l/l/b/fallback.jpg): failed to open stream: No such file or directory",
"exception": "ErrorException",
"file": "/var/www/html/project/vendor/gregwar/image/Gregwar/Image/Image.php",

hebertlima avatar Jun 17 '21 00:06 hebertlima

Is the folder valid?

What is the output of the following

<?php
var_dump(is_dir('cache/images/f/a/l/l/b/'));

basteyy avatar Jun 17 '21 06:06 basteyy

the problem was the server did without the lib to create jpeg images, also, in laravel i had to create public/cache folder manually

hebertlima avatar Oct 25 '22 09:10 hebertlima