PrestaRS Posted March 24, 2014 Share Posted March 24, 2014 Hi All! I have just upgraded from 1.5.4.1 to 1.6. I have cleared cache several times but my shop is not showing. All you can see is logo and back office. When I try to re-generate images under preference tab I get next error: 6066 errors Original image is missing or empty (/public_html/img/p/4/3/5/435.jpg) for product ID 84 ... Can someone please help me? It would be much appreciated! Thanks, Peter Link to comment Share on other sites More sharing options...
[email protected] Posted April 3, 2014 Share Posted April 3, 2014 (edited) I have the same problem. Originally was version 1.4, updated to 1.5. now I want to move to 1.6, do Export imaging products and have error: Original image is missing or empty (C: xampphtdocsikeabrest-plus/img/p/1/6/6/166.jpg) in the old version in the folder IMG no subfolders 1/2/3, images in the folder(img/p) as 11626-24126-thickbox_default.jpg. Help plz! Folder 1 is empty. Edited April 3, 2014 by [email protected] (see edit history) Link to comment Share on other sites More sharing options...
istox Posted May 9, 2014 Share Posted May 9, 2014 Same problem! From 1.4.7 to 1.6 upgrade missing product images. Categories images are fine. Link to comment Share on other sites More sharing options...
Edgeco Posted May 11, 2014 Share Posted May 11, 2014 I also have this problem after upgrading to 1.6 from 1.4.11. All of my Home Page product images have become question marks. Have tried regenerating under preferences > images but get "images missing" error messages for all images. I tried adding pics manually to the products. The thumbnails show up under the main picture area of the product but the main pic is again a question mark. Any advice appreciated. Thanks. http://leadersedge.co.za/test/ Link to comment Share on other sites More sharing options...
selin Posted May 12, 2014 Share Posted May 12, 2014 (edited) heyy upp, please! I do: 1.4.11 upd => 1.6.0.6 Original image is missing or empty (/var/www/vhosts/mydom.com/httpdocs/my/img/p/8/5/85.jpg) for product ID 2 ... how can I do? Edited May 12, 2014 by selin (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted May 12, 2014 Share Posted May 12, 2014 As a general guideline, it would be better to check if you are using the legacy filesystem, move images to the new one before upgrading, and then upgrading. Can you check if you have it selected in preferences,images? 1 Link to comment Share on other sites More sharing options...
selin Posted May 12, 2014 Share Posted May 12, 2014 As a general guideline, it would be better to check if you are using the legacy filesystem, move images to the new one before upgrading, and then upgrading. Can you check if you have it selected in preferences,images? hi @Nemo1 I do auto upgrade.. you says: "it would be better to check if you are using the legacy filesystem, move images to the new one before upgrading, and then upgrading. " I do not understand. Can you explain? thanks! Link to comment Share on other sites More sharing options...
NemoPS Posted May 12, 2014 Share Posted May 12, 2014 exactly as I said: Can you check if you have it selected in preferences,images? Link to comment Share on other sites More sharing options...
selin Posted May 12, 2014 Share Posted May 12, 2014 exactly as I said: Can you check if you have it selected in preferences,images? yes, Original image is missing or empty. (1.4.8 file, the same) but, (1.4.8) was working well. Link to comment Share on other sites More sharing options...
NemoPS Posted May 14, 2014 Share Posted May 14, 2014 So legacy filesystem is enabled? Try moving images using the 'move images' option ,then disable it and try regenerating. If you don't have the move images options, just disable legacy filesystem and try regenerating 1 Link to comment Share on other sites More sharing options...
selin Posted May 14, 2014 Share Posted May 14, 2014 So legacy filesystem is enabled? Try moving images using the 'move images' option ,then disable it and try regenerating. If you don't have the move images options, just disable legacy filesystem and try regenerating Hello @Nemo1 Thank you, your reply. I done: 'move images' => click and okay 'legacy filesystem' => no, okay replace image files (img/p folder) and (step step).. 'Regenerate thumbnails'.. (sample: selected 'product' and 'home' vs) But.. my v: 1.4.8 I have products: +4000 Is it true? In addition, a multi-product picture: does not appear. Thanks! Link to comment Share on other sites More sharing options...
selin Posted May 14, 2014 Share Posted May 14, 2014 In addition, Erase previous images: = Yes ? No ? Link to comment Share on other sites More sharing options...
NemoPS Posted May 14, 2014 Share Posted May 14, 2014 Multi-product picture: do you mean product combinations? Erase: yes, otherwise it will only add new ones if it thinks previous exist 1 Link to comment Share on other sites More sharing options...
selin Posted May 14, 2014 Share Posted May 14, 2014 Multi-product picture: do you mean product combinations? Erase: yes, otherwise it will only add new ones if it thinks previous exist Okay, now, I'm trying. Link to comment Share on other sites More sharing options...
selin Posted May 14, 2014 Share Posted May 14, 2014 Multi-product picture: do you mean product combinations? Erase: yes, otherwise it will only add new ones if it thinks previous exist @Nemo1 I done. Selected => product and home. (and, "Erase previous images: yes") system waiting.. waiting.. and so: Warning: imagecreatefromjpeg(): gd-jpeg, libjpeg: recoverable error: Premature end of JPEG file in /var/www/vhosts/mydom.com/httpdocs/myfolder/images.inc.php on line 305 Warning: imagecreatefromjpeg(): '/var/www/vhosts/mydom.com/httpdocs/myfolder/img/p/3/8/5/5/3855.jpg' is not a valid JPEG file in /var/www/vhosts/mydom.com/httpdocs/myfolder/images.inc.php on line 305 Warning: imagecopyresampled() expects parameter 2 to be resource, boolean given in /var/www/vhosts/mydom.com/httpdocs/myfolder/images.inc.php on line 253 pictures of the products, still do not. what I do? :/ Link to comment Share on other sites More sharing options...
selin Posted May 14, 2014 Share Posted May 14, 2014 system says: "../myfolder/img/p/3/8/5/5/3855.jpg' is not a valid JPEG file in " but, there is 3855.jpg and 3855.jpg is not harmful (not not corrupt) Link to comment Share on other sites More sharing options...
selin Posted May 14, 2014 Share Posted May 14, 2014 Multi-product picture: do you mean product combinations? Erase: yes, otherwise it will only add new ones if it thinks previous exist I done again: "regenerate thumb". (selected: product and home. "Erase previous images: yes" ) and again, error.. Cannot write no-picture image to (products) images folder. Please check the folder's writing permissions. 1 Link to comment Share on other sites More sharing options...
Cats Eye Posted May 14, 2014 Share Posted May 14, 2014 Could you check what permission that folder has? Looks like it has no write permission and therefore fails. Link to comment Share on other sites More sharing options...
NemoPS Posted May 15, 2014 Share Posted May 15, 2014 Did you select image type: PNG before? try with that Link to comment Share on other sites More sharing options...
selin Posted May 15, 2014 Share Posted May 15, 2014 Could you check what permission that folder has? Looks like it has no write permission and therefore fails. before 0755, I've changed.: 0777 myfolder = 0777 img = 0777 p = 0777 3 = 0777 5 & other = 0755 Is it true? Link to comment Share on other sites More sharing options...
selin Posted May 15, 2014 Share Posted May 15, 2014 Did you select image type: PNG before? try with that User JPEG Use only if the base image is in PNG PNG format Use PNG for all images I've tried them all. system: waiting.. waiting.. (4-5 min..) and error! Notice: imagecreatefromjpeg(): gd-jpeg, libjpeg: recoverable error: Premature end of JPEG file in /var/www/vhosts/mydom.com/httpdocs/myfolder/images.inc.php on line return imagecreatefromjpeg($filename); Cannot write no-picture image to (products) images folder. Please check the folder's writing permissions. Link to comment Share on other sites More sharing options...
Cats Eye Posted May 15, 2014 Share Posted May 15, 2014 Hi, I am guessing you need to upgrade your php version as the error you are getting is related to a certain php version and the gd library. Alternatively you can suppress the error like this: ini_set(‘gd.jpeg_ignore_warning’, 1); Al Link to comment Share on other sites More sharing options...
selin Posted May 15, 2014 Share Posted May 15, 2014 Hi, I am guessing you need to upgrade your php version as the error you are getting is related to a certain php version and the gd library. Alternatively you can suppress the error like this: ini_set(‘gd.jpeg_ignore_warning’, 1); Al yes, I add: config and plesk panel (php settings).. ini_set(‘gd.jpeg_ignore_warning’, 1); and gd.jpeg_ignore_warning = 1 (plesk) Link to comment Share on other sites More sharing options...
selin Posted May 15, 2014 Share Posted May 15, 2014 so, I've already added. (previously) Link to comment Share on other sites More sharing options...
selin Posted May 15, 2014 Share Posted May 15, 2014 (current server) Php info: V: 5.3.3 GD: GD Support enabled GD Version bundled (2.0.34 compatible) FreeType Support enabled FreeType Linkage with freetype FreeType Version 2.2.1 GIF Read Support enabled GIF Create Support enabled JPEG Support enabled libJPEG Version 6b PNG Support enabled libPNG Version 1.2.10 WBMP Support enabled XPM Support enabled XBM Support enabled I'm carrying another server. And I'll do the process all over again. (new server) Php info: V: 5.3.3 GD: GD Support enabled GD Version bundled (2.0.34 compatible) FreeType Support enabled FreeType Linkage with freetype FreeType Version 2.2.1 GIF Read Support enabled GIF Create Support enabled JPEG Support enabled libJPEG Version 6b PNG Support enabled libPNG Version 1.2.10 WBMP Support enabled XPM Support enabled XBM Support enabled Link to comment Share on other sites More sharing options...
selin Posted May 15, 2014 Share Posted May 15, 2014 (edited) (current server) Php info: V: 5.3.3 GD: GD Support enabledGD Version bundled (2.0.34 compatible) FreeType Support enabled FreeType Linkage with freetype FreeType Version 2.2.1 GIF Read Support enabled GIF Create Support enabled JPEG Support enabled libJPEG Version 6b PNG Support enabled libPNG Version 1.2.10 WBMP Support enabled XPM Support enabled XBM Support enabled I'm carrying another server. And I'll do the process all over again. (new server) Php info: V: 5.3.3 GD:GD Support enabledGD Version bundled (2.0.34 compatible) FreeType Support enabled FreeType Linkage with freetype FreeType Version 2.2.1 GIF Read Support enabled GIF Create Support enabled JPEG Support enabled libJPEG Version 6b PNG Support enabled libPNG Version 1.2.10 WBMP Support enabled XPM Support enabled XBM Support enabled gd.jpeg_ignore_warning = 1 Edited May 15, 2014 by selin (see edit history) Link to comment Share on other sites More sharing options...
nathanielleee Posted July 15, 2014 Share Posted July 15, 2014 im getting this same issue. The problem with it is tht none of the products exist anymore that it is looking for images. is that a glitch? Link to comment Share on other sites More sharing options...
NemoPS Posted July 16, 2014 Share Posted July 16, 2014 If products don't exist anymore there is no sense for the image generator to try and do it, do you know if there is anything left of them, in the database? Link to comment Share on other sites More sharing options...
asgllccb Posted August 6, 2014 Share Posted August 6, 2014 I stumbled across a partial solution. I noticed while in chrome inspect element that the path on my home page promoted products was to an image ending in "...home_default.jpg", the image listing name in the back office only showed "home" and the correct corresponding image was listed in the file folder as "home". So the path was not matching up. I took a shot and edited the name to "home_default" in the back office and all the images (products) using the "home_default" path are now showing up. Still working on some other images that are not showing, but this is progress. It seems that somehow in the translation/upgrade from 1.4.X this change is buggy and not configuring correctly. I would note the bug to prestashop staff for the upgrade fix, but not sure how to do that or how to read that stuff anyway. As for the lost images. I am doing this on a test wamp server before upgrading my live shop as recommended and got sick of loosing the images like everyone else and so I made a copy of the img folder after the upgrade to have on hand. I had legacy on (dont know if it makes a difference or not) but when I tried to regenerate, it deleted all the images, even though I had it set to not delete. I then deleted the img file that lost the images and replaced it by reinserting a copy of the img folder from my copy. This replaced all the files. Then I turned off legacy, was then able to regenerate successfully, and then I also used the move images option. This at first did not complete the solve, but that's when I noticed the path difference and made the change to "home_default" in the back office and got those images working. For me now, product images appear to be working, but no other images (category related images, logo's, etc) Will try to remember to update this if I get the others going, but wanted to get this help posted because it seems to be one of the number one upgrade problems to 1.6.X. I have only gone to try 1.6.X after repeated attempts to get 1.5.X to work from 1.4.4.1 with no success and little help follow through. I do like the template for 1.6.X ... a definite, get with the times and modern layout effort from prestashop. Like it or not, most of my industry sites are way ahead of 1.4.X and 1.5.X default template style and more comparable to 1.6. Its what customers and many retail industries are heading towards. Link to comment Share on other sites More sharing options...
asgllccb Posted August 6, 2014 Share Posted August 6, 2014 Update... I went searching around my test shop on wamp looking for any missing images, including those with question marks, did an inspect element just to make sure on the patch and did the same for other image types in the back office adding "_default" for small, medium, large and category, each time with the same successful outcomes. Could not figure out the logo, the path loading was not going far enough to identify an image. It stopped at ".../img". I could see the logo and related images in the img file folder though, so I had to just go into preferences/themes to get to the area to upload the logo and browsed to the img folder in my public html file system selected the logo image that was already there and the path was updated to the correct one and I got my logo back. PS...I recommend that as you are updating a test and have success, you make a personal log of each successful step you take to make things work. Then you will have your log to step through when updating your live site. I will post more as I find works for me. Link to comment Share on other sites More sharing options...
asgllccb Posted August 7, 2014 Share Posted August 7, 2014 Did the same to get "thickbox" images (pup up product magnification boxes) to work (added "_default" to the end of thickbox in preferences/images in the back office. For what I did to get favicon and store icon images to work see: http://www.prestashop.com/forums/topic/322947-i-cant-add-logo-image-favicon-etc/ Link to comment Share on other sites More sharing options...
rsanjose Posted September 22, 2014 Share Posted September 22, 2014 I have the same problem. Originally was version 1.4, updated to 1.5. now I want to move to 1.6, do Export imaging products and have error: Original image is missing or empty (C: xampphtdocsikeabrest-plus/img/p/1/6/6/166.jpg) in the old version in the folder IMG no subfolders 1/2/3, images in the folder(img/p) as 11626-24126-thickbox_default.jpg. I have the same problem, too! I observe that missing bars in the path (see bold in quote) xampphtdocs must be /xamp/phtdocs/ Link to comment Share on other sites More sharing options...
GrumpyFluffy Posted October 10, 2014 Share Posted October 10, 2014 Hello guys, I have the exact same problem (original images not found after upgrade to 1.6). But i don't have any "legacy filesystem" or "move image" button in the image section of my backoffice. Can someone help ? Link to comment Share on other sites More sharing options...
MoOoG Posted November 27, 2014 Share Posted November 27, 2014 So anybody fixed this problem with wrong image paths after upgrade? Is there a solution how to get back the original paths (i mean, images)? Link to comment Share on other sites More sharing options...
pb4sc Posted December 23, 2014 Share Posted December 23, 2014 (edited) After 6 hours, I finally got it to work. I upgraded from 1.4 to 1.6. Go to Preferences-Images Move all the files to the new system. Go to image names. (Small, Medium, Large etc.) Rename them, add a _default to the end. (ex. small_default, Medium-default...) Regenerate the images. Hope this helps someone in the future. Edited December 23, 2014 by pb4sc (see edit history) 2 Link to comment Share on other sites More sharing options...
cille5 Posted December 25, 2014 Share Posted December 25, 2014 I can see images on backoffice and also in frontoffice. just can,t regenerate image size. When I watch that error folder with ftp connection. There isn't sucks folder even. "Original image is missing or empty (/home/u711632949/public_html/img/p/4/9/5/495.jpg) for product ID 166" I use Stockmanager modul to transfer products to my shop. Link to comment Share on other sites More sharing options...
kingfaya Posted March 6, 2015 Share Posted March 6, 2015 Hi everybody I've found a solution to restore "move_image" in prestashop 1.6 on the forum. find the AdminImageController.php in /your_website/controllers/admin folder, then change: this->display_move = false; to this->display_move = true; Link to comment Share on other sites More sharing options...
PF22 Posted July 1, 2015 Share Posted July 1, 2015 this->display_move = false; to this->display_move = true; I tried that and regenerate images, but it didn't change anything, no images for any product page... Link to comment Share on other sites More sharing options...
mrio1212 Posted February 23, 2016 Share Posted February 23, 2016 Regenerating htaccess by turning off and on Friendly URLs may help. Link to comment Share on other sites More sharing options...
pegasus6464 Posted February 20, 2017 Share Posted February 20, 2017 i have a lot of missing images updating from 1.5 to 1.6 www.filateliadelahabana.com i try to regenerate it, tur on / off friendly urls --- without success anyoone can help me? thanks Link to comment Share on other sites More sharing options...
Lori Lafond Posted March 20, 2017 Share Posted March 20, 2017 I have the same problem.. How can I resolve my problem Link to comment Share on other sites More sharing options...
TASSIA BRITO Posted June 16, 2018 Share Posted June 16, 2018 I don´t know if it could help any one but after trying almost everything my images came back when I disabled the "watermark module". Link to comment Share on other sites More sharing options...
Guest Posted August 27, 2018 Share Posted August 27, 2018 No, it is the change in image system. Upgrade that on the Image settings page of 1.5 first, then upgrade to 1.6 or shit version 1.7. Link to comment Share on other sites More sharing options...
Davet1986 Posted September 6, 2018 Share Posted September 6, 2018 For what I did to get favicon and store icon images to work see: . Casino Online Link to comment Share on other sites More sharing options...
Thommen Posted February 13, 2019 Share Posted February 13, 2019 (edited) In PrestaShop option "Move photos" solving a problem Edited February 14, 2019 by Thommen (see edit history) Link to comment Share on other sites More sharing options...
AUGUSTINE JENIN Posted June 5, 2020 Share Posted June 5, 2020 Site url : http://quesoslarra.testme.es/ We upgraded prestashop 1.5.0.17 to 1.6.1.24. After updrade complete product images are not available. I tried regenerate images but showing this error Original image cannot be found or is empty (/home/quesoslarr/domains/quesoslarra.testme.es/public_html/img/p/3/7/37.jpg) for Product ID 19 Original image cannot be found or is empty (/home/quesoslarr/domains/quesoslarra.testme.es/public_html/img/p/4/0/40.jpg) for Product ID 8 Original image cannot be found or is empty (/home/quesoslarr/domains/quesoslarra.testme.es/public_html/img/p/4/2/42.jpg) for Product ID 13 Original image cannot be found or is empty (/home/quesoslarr/domains/quesoslarra.testme.es/public_html/img/p/4/4/44.jpg) for Product ID 16 Original image cannot be found or is empty (/home/quesoslarr/domains/quesoslarra.testme.es/public_html/img/p/4/5/45.jpg) for Product ID 17 Original image cannot be found or is empty (/home/quesoslarr/domains/quesoslarra.testme.es/public_html/img/p/4/7/47.jpg) for Product ID 15 Original image cannot be found or is empty (/home/quesoslarr/domains/quesoslarra.testme.es/public_html/img/p/4/8/48.jpg) for Product ID 21 Original image cannot be found or is empty (/home/quesoslarr/domains/quesoslarra.testme.es/public_html/img/p/4/9/49.jpg) for Product ID 23 Original image cannot be found or is empty (/home/quesoslarr/domains/quesoslarra.testme.es/public_html/img/p/5/0/50.jpg) for Product ID 22 Original image cannot be found or is empty (/home/quesoslarr/domains/quesoslarra.testme.es/public_html/img/p/5/5/55.jpg) for Product ID 25 Original image cannot be found or is empty (/home/quesoslarr/domains/quesoslarra.testme.es/public_html/img/p/5/6/56.jpg) for Product ID 25 Original image cannot be found or is empty (/home/quesoslarr/domains/quesoslarra.testme.es/public_html/img/p/5/7/57.jpg) for Product ID 26 Original image cannot be found or is empty (/home/quesoslarr/domains/quesoslarra.testme.es/public_html/img/p/5/9/59.jpg) for Product ID 20 Original image cannot be found or is empty (/home/quesoslarr/domains/quesoslarra.testme.es/public_html/img/p/6/0/60.jpg) for Product ID 10 Original image cannot be found or is empty (/home/quesoslarr/domains/quesoslarra.testme.es/public_html/img/p/6/2/62.jpg) for Product ID 11 Original image cannot be found or is empty (/home/quesoslarr/domains/quesoslarra.testme.es/public_html/img/p/6/3/63.jpg) for Product ID 12 Original image cannot be found or is empty (/home/quesoslarr/domains/quesoslarra.testme.es/public_html/img/p/6/4/64.jpg) for Product ID 14 Original image cannot be found or is empty (/home/quesoslarr/domains/quesoslarra.testme.es/public_html/img/p/6/5/65.jpg) for Product ID 18 Original image cannot be found or is empty (/home/quesoslarr/domains/quesoslarra.testme.es/public_html/img/p/6/7/67.jpg) for Product ID 27 Original image cannot be found or is empty (/home/quesoslarr/domains/quesoslarra.testme.es/public_html/img/p/6/8/68.jpg) for Product ID 17 Original image cannot be found or is empty (/home/quesoslarr/domains/quesoslarra.testme.es/public_html/img/p/6/9/69.jpg) for Product ID 28 Original image cannot be found or is empty (/home/quesoslarr/domains/quesoslarra.testme.es/public_html/img/p/7/0/70.jpg) for Product ID 18 Original image cannot be found or is empty (/home/quesoslarr/domains/quesoslarra.testme.es/public_html/img/p/7/1/71.jpg) for Product ID 29 I check /img/p there is no sub folders i can see. i done $this->display_move = true; and clicked move images after this when click on regenerate image gives the above error. and also tried the update settings.inc.php changed date to define('_PS_CREATION_DATE_', '2011-09-11'); and define('_PS_BASE_URI_', '/root_folder/'); 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