monstercreativestudio Posted December 11, 2012 Share Posted December 11, 2012 having an issue where when I try to upload an image I get an error message, not explaining whats wrong or giving an error code. I went to eat dinner and came back to this... " An error occurred during the image upload " I honestly haven't tweaked anything (although I am modding a template, I did no code work today at all and never touch anything in core files). I am using Prestashop 1.5.1. Still a bit of a prestashop noob. Please help with advice. Thank You Link to comment Share on other sites More sharing options...
Valérie Assetskaya Posted December 11, 2012 Share Posted December 11, 2012 Hello, It is not clear what may cause the problem. Please, check server logs and responses of ajax requests via Google Developer Tools or Mozilla Firebug. Besides, you may check permissions on img/p folder. Hope it will clarify the issue. Best regards. Link to comment Share on other sites More sharing options...
monstercreativestudio Posted December 12, 2012 Author Share Posted December 12, 2012 Thanks for the insight Valerie. It ended up working after and still not sure what went wrong. I did clear my browser cache right before I worked again for anyone who might be experiencing the same problem, I would try this first. Link to comment Share on other sites More sharing options...
linster Posted December 22, 2012 Share Posted December 22, 2012 I managed to find the solution here: https://github.com/PrestaShop/PrestaShop/blob/master/classes/FileUploader.php I replaced the codings with the one I found on this URL. I saw the uploaded image in BO but I am not able to see it on frontpage. Link to comment Share on other sites More sharing options...
Recommended Posts