alexandra_b Posted April 5, 2016 Share Posted April 5, 2016 (edited) Hello! Today I couldn't upload any picture on my web-store. It constantly appears undefined error. I tried to upload a picture to an old product and also to a new one but does not work. I tried on Firefox, IE and Chrome. All 3 failed. Help? Edited April 5, 2016 by alexandra_b (see edit history) Link to comment Share on other sites More sharing options...
presta4you.com Posted April 5, 2016 Share Posted April 5, 2016 Probably you have some problem with permision in your server. Check your php version and folders permisions. Link to comment Share on other sites More sharing options...
tuk66 Posted April 6, 2016 Share Posted April 6, 2016 undefined looks like a JavaScript issue. Do you see an error in the browser console? Link to comment Share on other sites More sharing options...
Prestachamps Posted April 6, 2016 Share Posted April 6, 2016 -You can try switching the Debug Mode on to get a more detailed error : 1: Connect to your server using a FTP client or using file-manager from cPanel 2: Go into ROOT/config folder and open the defines.inc.php file (from cpanel usualy in public_html , or www folder) 3: Modify the value of _PS_MODE_DEV_ from false to true , then Save the file. 4: While debug mode is enabled, try uploading the picture again, and check the error. 5: Once youメre done with all changes, switch _PS_MODE_DEV back to False so that itメs turned off in production mode. - Regarding incorrect file permissions, you can check if the permissions of your prestashop folders are correct from back-office Menu: Advanced Parameters -> Configuration Information , Here the folders that have incorrect file permissions will be reported in the "YOUR CONFIGURATION" box. Regards, Leo 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