Jump to content

Prestashop 1.7.7.4. An error occurred while copying image


Recommended Posts

Hi there! Need help with one of my projects. After downloading and configuring on the AWS server, Prestashop 1.7.7.4 starts to crash every time you upload images.

First error : getimagesize - failed to open stream : Permission denied

The next day the error changes to Warning: imagejpeg : failed to open stream: No such file or directory

Images uploading via webservice returns same error.

Thanks a lot!

image.thumb.png.a8b62997685b54a6cac372cd5aa59984.png

Link to comment
Share on other sites

19 hours ago, El Patron said:

check your img folder permissions, it sounds like when you built your domain you may have created permission issue (owner and/or permission level)

I use s3 to store images. I mounted the bucket on AWS and made a link from the img folder to it. 

Checked all the functions that return an error in Prestashop by writing a simple php script. Have problem only in Prestashop. Pure php works correctly.

Edited by DamichiXL
wrong word (see edit history)
Link to comment
Share on other sites

20 hours ago, El Patron said:

check your img folder permissions, it sounds like when you built your domain you may have created permission issue (owner and/or permission level)

Ok. You are right. Target directory have a wrong owner. Thanks a lot!

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...