S7 Media Ltd Posted June 11, 2013 Share Posted June 11, 2013 Hi there, all of a sudden I can't seem to regenerate thumbnails. I get the following error: 187 errors Original image is missing or empty (/home/arcademu/public_html/img/p/2/2/22.jpg) The list goes on with every image. I don't believe I've changed anything. Could it be a CHMOD issue? What folders relate to the process and what CHMOD should they be? Thanks in advance. Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted June 11, 2013 Share Posted June 11, 2013 (edited) Hi, 1) do the images is really exists? 2) try change CHMOD for img folder to 777 recursively Regards Edited June 11, 2013 by Alexander Simonchik (see edit history) Link to comment Share on other sites More sharing options...
S7 Media Ltd Posted June 11, 2013 Author Share Posted June 11, 2013 Hi Alexander, thanks for the speedy response. They exist, but not in the folder structure that Prestashop generates with the htaccess (you know if you right click an image on the front end and the image url is something like /p/22/22-100 or something). It's just a bunch of images in the img folder. It's like it's getting mixed up with the url generated by the htaccess. I did try 777 too, and I'm afraid that didn't work. Tbh that wouldn't be my ideal way of fixing it either as it's rather unsecure. Thanks for your advice. Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted June 11, 2013 Share Posted June 11, 2013 Very important that images is exists on the path img/p/2/2/22.jpg because url_rewrite is not works on that moment (I mean regenerate process) Link to comment Share on other sites More sharing options...
S7 Media Ltd Posted June 12, 2013 Author Share Posted June 12, 2013 Hmm but those paths are virtual, my htaccess has all the instructions in there for the site to generate those paths... Link to comment Share on other sites More sharing options...
S7 Media Ltd Posted June 12, 2013 Author Share Posted June 12, 2013 Hi, I've just tried using the Move Images function, which has now created a bunch of sub folders. Turned off legacy file system. However, I still have the same problem. Link to comment Share on other sites More sharing options...
S7 Media Ltd Posted June 12, 2013 Author Share Posted June 12, 2013 (edited) Ok, Prestashop is weird. For some reason, when I've done multiple CSV uploads, the images have reuploaded every time. So I had duplicates. Most of the duplicates then became broke somehow. So, instead of going manually one by one deleting each broken image, and setting the working one as cover image, I've gone into the DB, looked at ps_images table and deleted the duplicate broken image references as the broken images don't exist, which I reckon is causing the Original image is missing or empty error. So, now, because the working images aren't set as cover images, the products aren't showing in the back office, yet the products are there in the front. Really strange. To test this, I guessed the back office URL for a product that doesn't exist there, but does on the front, and I got to edit the product fine. Made the working image a cover image, and now the product displays in the back office. So, in the database, in ps_image, I set all positions of images to 1 (be careful if you have multiple images for one product), set them all to covers, using UPDATE ps_image SET position = replace(position, "3", "1"); Then I had to go ps_image_shop and set them all to covers. This then cured the products not getting displayed in the back office. Anyway, I'm detailing it here just in case someone has the same problem in the future. I'm going to mark this as partially solved as I'm convinced this is a bug. Edited June 12, 2013 by S7 Media Ltd (see edit history) Link to comment Share on other sites More sharing options...
sexplay Posted July 23, 2013 Share Posted July 23, 2013 Hi, please, can you explain me step by step? Link to comment Share on other sites More sharing options...
JohnADK Posted August 22, 2013 Share Posted August 22, 2013 Hi, I've just tried using the Move Images function, which has now created a bunch of sub folders. Turned off legacy file system. However, I still have the same problem. I believe this might solve my issue. Where do I find the Move Images function in Prestashop 1.5.4.1? I don't see that function anywhere. Link to comment Share on other sites More sharing options...
Slumdog Posted September 21, 2013 Share Posted September 21, 2013 (edited) Maybe this will help you and others with this issue: http://www.prestashop.com/forums/topic/225360-upgrade-13-to-1531-images-problem-in-fo/?p=1388292 Edited September 21, 2013 by Slumdog (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted September 21, 2013 Share Posted September 21, 2013 the link should looks like: http://www.prestashop.com/forums/topic/272333-solved-how-to-dont-show-product-images-after-upgrade-to-155/ thanks 1 Link to comment Share on other sites More sharing options...
Recommended Posts