ahmadsab Posted November 13, 2019 Share Posted November 13, 2019 hello everyone , I am trying to add image to products manually but i got this in Debug notice tempnam() file created in the system's temporary directory prestashop Please find the attachments for the Errors I hope someone help me Link to comment Share on other sites More sharing options...
lototo Posted November 13, 2019 Share Posted November 13, 2019 Check is target folder have write permissions 1 Link to comment Share on other sites More sharing options...
ahmadsab Posted November 13, 2019 Author Share Posted November 13, 2019 17 minutes ago, lototo said: Check is target folder have write permissions thanks Lototo , How could i do that ? I have executed these lines of codes : find /home/fyndpris.co.uk/public_html -type f -exec chmod 644 {} \; find /home/fyndpris.co.uk/public_html -type d -exec chmod 755 {} \; for permission but still not work Link to comment Share on other sites More sharing options...
lototo Posted November 13, 2019 Share Posted November 13, 2019 Try another small image less than 100KB Link to comment Share on other sites More sharing options...
ahmadsab Posted November 13, 2019 Author Share Posted November 13, 2019 Just now, lototo said: Try another small image less than 100KB i have tried that also , the problem happened after i moved my website to another server I reattach the data base and my old files manually Link to comment Share on other sites More sharing options...
ahmadsab Posted November 13, 2019 Author Share Posted November 13, 2019 [SOLVED] Just Edit the permission 777 Link to comment Share on other sites More sharing options...
selectshop.at Posted November 13, 2019 Share Posted November 13, 2019 2 hours ago, ahmadsab said: [SOLVED] Just Edit the permission 777 Never give permissions 777. With this chmod you are giving permissions to the whole world to change things on your server (hacker open door). You should give not more than 0755. If with this you cannot solve, then you should revert with your problem to the server admin. Link to comment Share on other sites More sharing options...
ahmadsab Posted November 13, 2019 Author Share Posted November 13, 2019 6 hours ago, selectshop.at said: Never give permissions 777. With this chmod you are giving permissions to the whole world to change things on your server (hacker open door). You should give not more than 0755. If with this you cannot solve, then you should revert with your problem to the server admin. what should i do so ? I have tried every thing and nothing worked Link to comment Share on other sites More sharing options...
selectshop.at Posted November 14, 2019 Share Posted November 14, 2019 Then change your server, If you need to give ALL permissions for the whole world, you have a security lack on your system. With 777 USERS!!! can ready, write and execute everything on your server. So you are opening the door for hackers to do everything they want on your server. Contact your provider and tell him your problem. It's not a Prestashop problem, but a problem of bad configured servers! Link to comment Share on other sites More sharing options...
lototo Posted November 14, 2019 Share Posted November 14, 2019 14 hours ago, ahmadsab said: what should i do so ? I have tried every thing and nothing worked Try 644 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