DamichiXL Posted June 7, 2021 Share Posted June 7, 2021 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! Link to comment Share on other sites More sharing options...
El Patron Posted June 7, 2021 Share Posted June 7, 2021 check your img folder permissions, it sounds like when you built your domain you may have created permission issue (owner and/or permission level) Link to comment Share on other sites More sharing options...
DamichiXL Posted June 8, 2021 Author Share Posted June 8, 2021 (edited) 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 June 8, 2021 by DamichiXL wrong word (see edit history) Link to comment Share on other sites More sharing options...
DamichiXL Posted June 8, 2021 Author Share Posted June 8, 2021 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! 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now