cardnpaste Posted December 26, 2012 Share Posted December 26, 2012 I've upgrade from 1.4.9 to 1.5.2 successfully using one-click upgrade. The only problem is the image upload for existing and new products. After browsing and selecting the picture but nothing happens when I click Save or Save and Stay. Only ie9 gives indication of 1/0 images but the images still cannot be uploaded. Please help! Link to comment Share on other sites More sharing options...
Bill Dalton Posted December 26, 2012 Share Posted December 26, 2012 Have you checked that the write permissions are ok for img directory and its sub directory's? Link to comment Share on other sites More sharing options...
cardnpaste Posted December 26, 2012 Author Share Posted December 26, 2012 (edited) Okie I have changed the permissions to 777 for /img and all the sub-folders and also for the /upload folder. But it's still the same. Any pointers? Edited December 26, 2012 by cardnpaste (see edit history) Link to comment Share on other sites More sharing options...
Bill Dalton Posted December 27, 2012 Share Posted December 27, 2012 Have you have checked in Preferences > Images and look for the Maximum size of product pictures - try increasing this. Make sure Image quality is set to JPEG. I'm sure you have done that already, just checking. Next try replacing (prestashop\classes\FileUploader.php - line 166) $temp = tmpfile(); with $temp = fopen("php://temp", "wb"); More info and link to patch here, http://forge.prestashop.com/browse/PSCFV-5756 Hope this helps. Link to comment Share on other sites More sharing options...
cardnpaste Posted December 27, 2012 Author Share Posted December 27, 2012 Thanks for your help! It's solved. At first I thought it still didn't work but realised the file size allowed is much smaller now, only 125kb. So now it's fine! 1 Link to comment Share on other sites More sharing options...
Site Posted December 27, 2012 Share Posted December 27, 2012 Hi, Nice to see upping the image file size fixed your issue, you may now mark this post as [solved] Link to comment Share on other sites More sharing options...
Recommended Posts