Ronaldo Perez Posted September 4, 2013 Share Posted September 4, 2013 (edited) UPD: as I see many people have the same trouble,so I should update my post with simplest solution: Guys, simple way, just edit your config/settings.inc.php file and set shop creation date "in the past" earlier than 2013-03-26, like: define('_PS_CREATION_DATE_', '2011-09-11'); It works) old: My English not so good, but maybe someone will face a similar problem. I did manual shop upgrade for one of my clients from ver. 1.4.x to 1.5.5 (latest) After upgrade - shop did not show product images (with default template and created _default suffixes) and I see error "original images missed". Client shop used default images settings before - all product images in one folder. Ok, now we understand problem - Prestashop refused from old image storage system and use only now "legacy = no" (and maybe have some bugs with define right settings for your shop) Solution: edit controllers/admin/AdminImagesController.php find // No need to display the old image system if the install has been made later than 2013-03-26 $this->display_move = (!Configuration::get('PS_LEGACY_IMAGES') && defined('_PS_CREATION_DATE_') && strtotime(_PS_CREATION_DATE_) > strtotime('2013-03-26')) ? false : true; replace to $this->display_move = true; then goto Preferences -> Images and click Move Images When it will be done - change code as before or leave it. Edited October 7, 2013 by SergeyH (see edit history) 8 Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 5, 2013 Share Posted September 5, 2013 My English not so good, but maybe someone will face a similar problem. I did manual shop upgrade for one of my clients from ver. 1.4.x to 1.5.5 (latest) After upgrade - shop did not show product images (with default template and created _default suffixes) and I see error "original images missed". Client shop used default images settings before - all product images in one folder. Ok, now we understand problem - Prestashop refused from old image storage system and use only now "legacy = no" (and maybe have some bugs with define right settings for your shop) Solution: edit controllers/admin/AdminImagesController.php find // No need to display the old image system if the install has been made later than 2013-03-26 $this->display_move = (!Configuration::get('PS_LEGACY_IMAGES') && defined('_PS_CREATION_DATE_') && strtotime(_PS_CREATION_DATE_) > strtotime('2013-03-26')) ? false : true; replace to $this->display_move = true; then goto Preferences -> Images and click Move Images When it will be done - change code as before or leave it. Hi Sergey, can you please add your suggestion to Github? Our development team will take a look. Here is the link for the concerning file, https://github.com/PrestaShop/PrestaShop/blob/development/controllers/admin/AdminImagesController.php You can register if you are not already, click "edit", make the changes and click "Propose file change" Let me know if you have any questions. Thank you! 1 Link to comment Share on other sites More sharing options...
ahmadsajid Posted September 18, 2013 Share Posted September 18, 2013 SergeyH you just save the day... salute!! Link to comment Share on other sites More sharing options...
Ronaldo Perez Posted September 18, 2013 Author Share Posted September 18, 2013 SergeyH you just save the day... salute!! glad to help but exist easysist solution - just change shop creation date in settings.inc.php, e.g. on 2011 year Link to comment Share on other sites More sharing options...
Slumdog Posted September 21, 2013 Share Posted September 21, 2013 Thank you guys for sharing it... It works like a charm.... Link to comment Share on other sites More sharing options...
daveharkaa Posted September 23, 2013 Share Posted September 23, 2013 (edited) Unfortunately, not for every one Luckily I backed up all my stuff before I upgraded so I an just go back to 1.5.4.1 - and I won't be trying another upgrade until this is no longer an issue. I know Prestashop is free, open source, whavever you want to call it, but fixes like this are work arounds - the core problem still exits because the 'program' (if I can call it that) causes an issue that this fix does not solve universally. Perhaps this is something that the Prestashop team can look at fixing/correcting in their next update. I am sure that I am not the only one that is still having an issue and these quick fixes do not work for. Edited September 23, 2013 by daveharkaa (see edit history) 2 Link to comment Share on other sites More sharing options...
sahwira Posted October 2, 2013 Share Posted October 2, 2013 I did both suggested changes ie changing the creation date to 2012, and changed the code in image controller file to $this->display_move = true; Yet I still have the question mark in place of product image. Any idea how I should proceed from here? Link to comment Share on other sites More sharing options...
jordiob Posted October 3, 2013 Share Posted October 3, 2013 SergeyH: 1 Link to comment Share on other sites More sharing options...
FaTedev Posted October 7, 2013 Share Posted October 7, 2013 I found a solution using a mix of these responses and it does work.. Yes edit config > settings.inc.php to creation date in the past I used 2010 to really make sure. Now instead of doing the other things go to your administration Go to your preferences > Images page and scroll to the bottom where now a new option box is available since editing config file called "Move images". This allows you to import your old stock images so select "Move images" and confirm OK when done: Just above Move images is Regenerate thumbnails, now select to Regenerate "All" thumbnails Your product images now should be back. We upgraded from 1.4.8 to 1.5.5 so its a big leap and working. 2 Link to comment Share on other sites More sharing options...
mds Posted October 9, 2013 Share Posted October 9, 2013 I found a solution using a mix of these responses and it does work.. Yes edit config > settings.inc.php to creation date in the past I used 2010 to really make sure. Now instead of doing the other things go to your administration Go to your preferences > Images page and scroll to the bottom where now a new option box is available since editing config file called "Move images". This allows you to import your old stock images so select "Move images" and confirm OK when done: Just above Move images is Regenerate thumbnails, now select to Regenerate "All" thumbnails Your product images now should be back. We upgraded from 1.4.8 to 1.5.5 so its a big leap and working. This is the best solution. Thanks Link to comment Share on other sites More sharing options...
totallighting.sk Posted November 6, 2013 Share Posted November 6, 2013 Not working for me! During regenerate thumbnails, I`m allways getting this error: Proxy ErrorThe proxy server received an invalid response from an upstream server.The proxy server could not handle the request POST Reason: Error reading from remote server Version 1.5.6 is great, but without images is for two things... Link to comment Share on other sites More sharing options...
Ganesh Hipparkar Posted November 12, 2013 Share Posted November 12, 2013 SergeyH thank you very much it work..! Link to comment Share on other sites More sharing options...
totallighting.sk Posted November 12, 2013 Share Posted November 12, 2013 Therer is also another way, just export products from 1.4.11 with image links, than create new csv to import into 1.5.6, each file must included max 1000 prodcuts. After this import, just refresh images and its working... Link to comment Share on other sites More sharing options...
FaTedev Posted November 12, 2013 Share Posted November 12, 2013 What so you have to import all the csv data too?! Come on thats not the way to do it. If the original method does not work for you then you should really be looking at how "1-click-upgrade" is coming along as an official prestashop modules.. Since version 2.2.4 (and I've tested LOTS) the image move feature becomes available without file modifications. So all you need to do is download the latest "1-click-upgrade" and select to update to the "Major channel" update to 1.5.6. After your install is updated follow the same advice as before just this time the "Move images" option is already there to use" Link to comment Share on other sites More sharing options...
Belph Posted November 20, 2013 Share Posted November 20, 2013 Hi Guys, I've got a similar problem with showing of images. I made import of database from 1.3 platform to recent one, copied all images in p folder. Thanks to Sergey I've set legacy setting to previous form. But my obstacle that I am currently hitting is path of images. It still remains the same - new format p/x/y/image.jpeg . Then I made test and created new product with its images. When I checked that image path has been generated correctly and images are showing fine. Does any of you have some clue what I am doing wrong? I checked almost everything - settings, DB, forum threads. Clueless and desperate right now. Will appreciate every help Cheers Link to comment Share on other sites More sharing options...
Belph Posted November 26, 2013 Share Posted November 26, 2013 (edited) I solved my problem by myself, cause it was more complicated. I had to transfer pictures from very old version into newer one, so I have made application where it will take your pictures in whatever structure to correct one with structured folders and it works perfectly. If somebody will encounter same problem to put pictures in right format, feel free to send me pm and I can help you out to avoid suffering what I had. Edited November 26, 2013 by Belph (see edit history) Link to comment Share on other sites More sharing options...
sshare Posted November 28, 2013 Share Posted November 28, 2013 I just upgraded to 1.5.6.1, read through this post as I also have no images showing, and on regenration it says the original files are missing, however instead of modifying anything.I decided to go to the images preferences and turned the legacy system option back to having "yes" selected. I then regenerated my thumbnails and it works, I guess that during the upgrade the image system preference changes automatically and makes the image regenerator look for the images in the wrong place. Eventhough this is marked solved, I thought I would throw it out there in case it saves someones day Link to comment Share on other sites More sharing options...
benjamin utterback Posted November 29, 2013 Share Posted November 29, 2013 I just upgraded to 1.5.6.1, read through this post as I also have no images showing, and on regenration it says the original files are missing, however instead of modifying anything. I decided to go to the images preferences and turned the legacy system option back to having "yes" selected. I then regenerated my thumbnails and it works, I guess that during the upgrade the image system preference changes automatically and makes the image regenerator look for the images in the wrong place. Eventhough this is marked solved, I thought I would throw it out there in case it saves someones day Thank you for this. You are correct in your troubleshooting. If you were using the legacy system before the upgrade then you need to switch it back to legacy in order to regenerate (sometimes). PrestaShop does automatically transfer the images to the new filesystem so in order to regenerate it you would need to switch back to legacy. Link to comment Share on other sites More sharing options...
ssekazinga Posted December 5, 2013 Share Posted December 5, 2013 Thanks Guy, was really stuck, hellouganda Link to comment Share on other sites More sharing options...
Tanu Posted December 12, 2013 Share Posted December 12, 2013 (edited) I just upgraded to 1.5.6.1 from 1.5.6.0 Some of the pictures are missing from my website and question mark is appeared. There us no legacy system or move images available. Lat time it was there I think when I upgraded to 1.5.6.0 but now it is missing. I still regenerated the images but still images are missing. What should I do ???? Ofcourse I pressed control + F5 but images are still missing Edited December 12, 2013 by Tanu (see edit history) Link to comment Share on other sites More sharing options...
molen manis Posted December 13, 2013 Share Posted December 13, 2013 Hi all, I have problem with my shop, there are no product showed in my web.Just like question tag.I have tried all of advise from related post of my problem but it didn't finish my problem.Help me please.. this is my online shop www.serbaklik.com ( sorry my english is not good ) Link to comment Share on other sites More sharing options...
Tanu Posted December 13, 2013 Share Posted December 13, 2013 Hello Yesterday I updated my prestashop to 1.5.6.1 and I had the same problem Did whatever is advised on this thread plus cleared cashe of my system nothing happened. Still question mark just like your website. So I had to role back to my previous version. So you do the same too role back to your previous version. All your images would return to your website. I guess there is a known issue with this version or something. Don't worry about your language. It is easily understood. Link to comment Share on other sites More sharing options...
fadedsuede Posted December 14, 2013 Share Posted December 14, 2013 Hello all - Im a small business owner with only modest coding experience. Bear with me. My web developer upgraded our website from a 1.4X version of Prestashop to the current 1.5.6.1 version. Some of the images look as they should after the upgrade - others are simply replaced by the server with a "?" question mark. What is even more annoying, if I try and manually create a new item from scratch, one at a time, the images still wont show up live on the website, but they WILL shop up in the admin panel when looking at the products. I have tried all of the suggestions in this Topic list myself - all but 1 was able to be tested. The one that wouldnt work was the "Move Images" option. Yes, I made the change to 'True' so that this option could be seen - but I get an error message that says: Error: Some -- or all -- images can not be moved. and I get this error message just with 2 seconds after I start the process. Any suggestions? It takes a week or more for our web developers in India to reply. Link to comment Share on other sites More sharing options...
Tanu Posted December 14, 2013 Share Posted December 14, 2013 Hello There is a problem with this upgrade. Please contact Presta Shop email them they will revert. I also did everything mentioned in Forums but had to role back to previous version as my problem was not sorting out. I advise you to role back to your previous version or contact Presta Shop development team. Link to comment Share on other sites More sharing options...
molen manis Posted December 15, 2013 Share Posted December 15, 2013 Hello Yesterday I updated my prestashop to 1.5.6.1 and I had the same problem Did whatever is advised on this thread plus cleared cashe of my system nothing happened. Still question mark just like your website. So I had to role back to my previous version. So you do the same too role back to your previous version. All your images would return to your website. I guess there is a known issue with this version or something. Don't worry about your language. It is easily understood. Thank you, now my product image showed, i just add syntax "define('_PS_BASE_URI_', '/root_folder/');" on setting.inc.php, but i have a other problem. My product show in home page is not same with setting BO. I set product showed 16 but just 8 showed. 1 Link to comment Share on other sites More sharing options...
Tanu Posted December 15, 2013 Share Posted December 15, 2013 thats good Wow I have roled back now otherwise I would have done exactly the same Anyway, can't help you with other problem too sorry no idea Link to comment Share on other sites More sharing options...
fadedsuede Posted December 15, 2013 Share Posted December 15, 2013 Hello SerbaKlik ~ I tried what you did - but it didnt solve my problem. Perhaps I didnt out the correct base folder name. I think it is \public_html\ I also tried both the letter "i" and the letter "L" for the URX where X is the unknown in your suggestion (red font below) "define('_PS_BASE_URI_', '/root_folder/');" Link to comment Share on other sites More sharing options...
molen manis Posted December 16, 2013 Share Posted December 16, 2013 thats good Wow I have roled back now otherwise I would have done exactly the same Anyway, can't help you with other problem too sorry no idea No problem Tanu, greetings Link to comment Share on other sites More sharing options...
molen manis Posted December 16, 2013 Share Posted December 16, 2013 Hello SerbaKlik ~ I tried what you did - but it didnt solve my problem. Perhaps I didnt out the correct base folder name. I think it is \public_html\ I also tried both the letter "i" and the letter "L" for the URX where X is the unknown in your suggestion (red font below) "define('_PS_BASE_URI_', '/root_folder/');" Hello fadedsuede, did you try to move image and regenerate image from BO ? about the syntax i means "define('_PS_BASE_URL_', '/root_folder/');" /root_folder/ is name of the folder where you put the content of your web. Link to comment Share on other sites More sharing options...
Fidel62 Posted January 26, 2014 Share Posted January 26, 2014 Hi All, I have the same problem. I move images and when I try to regenerate thumbnails I have this error Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator and inform them of the time the error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Apache Server at 4fevi.com Port 80 Can sombody help me please. Thanks Link to comment Share on other sites More sharing options...
totallighting.sk Posted January 26, 2014 Share Posted January 26, 2014 Try to create new product images, and than change in code names... Link to comment Share on other sites More sharing options...
Fidel62 Posted January 26, 2014 Share Posted January 26, 2014 Code names means small_default to small and so on? I did this already and did not work for me. Link to comment Share on other sites More sharing options...
jarnail Posted February 10, 2014 Share Posted February 10, 2014 (edited) Dear all. I upgraded from PrestaShop1.5.3.1 to PrestaShop1.5.6.2 but images on product list are not displaying. I tried every method mention in the post but it didnt help. If I regenrate images it display message: 3 errors Original image is missing or empty (/home/sitename/public_html/jai/img/p/3/8/9/389.jpg) for product ID 290 Original image is missing or empty (/home/sitename/public_html/jai/img/p/4/4/6/446.jpg) for product ID 356 Original image is corrupt (/home/sitename/public_html/jai/img/p/6/7/1/671.jpg) for product ID 491 or bad permission on folder. I tried by changing presmission to 755, 777 but that didnt work This issue wasted 4 days without any result. Any help would be really great.Jarnail Edited February 10, 2014 by jarnail (see edit history) Link to comment Share on other sites More sharing options...
benjamin utterback Posted February 10, 2014 Share Posted February 10, 2014 When you open up those pictures via FTP, do they correctly show? If it is only those three pictures, I would delete the current picture and replace them again to see if it works. That may actually do the trick. Link to comment Share on other sites More sharing options...
pietro Posted February 12, 2014 Share Posted February 12, 2014 (edited) Thank you for this. You are correct in your troubleshooting. If you were using the legacy system before the upgrade then you need to switch it back to legacy in order to regenerate (sometimes). PrestaShop does automatically transfer the images to the new filesystem so in order to regenerate it you would need to switch back to legacy. Hi Benjamin, I upgraded from 1.4.6.2 to 1.5.6.2 and I tried all the solutions above without making any progress. As you recommend I selected the legacy system but then when I regenerate the images and I get the same error with the new path: Original image is missing or empty (/home/XXX/img/p/1/6/7/167.jpg) for product ID 169 ..... total of 709 errors I also tried to move the images using the Preferences>>Images tool but the process only takes about 2 seconds before I get the message "The selected images have successfully been moved." The time is too short and the actual new directories are not created. All of the above makes me think that none of the actions that I called on Preference>>Images are actually not performed. Besides the error above I am not getting any other error messages (I have display_errors ON) I am stock here, I don't know what to do next. Any pointers will be appreciated. Edited February 12, 2014 by pietro (see edit history) 1 Link to comment Share on other sites More sharing options...
pietro Posted February 12, 2014 Share Posted February 12, 2014 I rolled back the upgrade. Reinstalled PS 1.5.6.2 and still encountering the same issues. Images wont show even in the legacy system. When I regenerate the thumbnails I get the following error for 709 images. Original image is missing or empty (/home/XXX/img/p/1/6/7/167.jpg) for product ID 169 I re-uploaded the entire img folder from my backup, thinking that the directory was damaged during the upgrade but nothing changes. Thanks for reading, 1 Link to comment Share on other sites More sharing options...
pietro Posted February 14, 2014 Share Posted February 14, 2014 I was able to solve the issue by rollingback one more time, move the images in the old PS version, then upgrade and then regenerate the images. I don't know why I couldn't do it the other way around. Man that was frustrating. Link to comment Share on other sites More sharing options...
stonepilot Posted February 26, 2014 Share Posted February 26, 2014 I found a solution using a mix of these responses and it does work.. Yes edit config > settings.inc.php to creation date in the past I used 2010 to really make sure. Now instead of doing the other things go to your administration Go to your preferences > Images page and scroll to the bottom where now a new option box is available since editing config file called "Move images". This allows you to import your old stock images so select "Move images" and confirm OK when done: Just above Move images is Regenerate thumbnails, now select to Regenerate "All" thumbnails Your product images now should be back. We upgraded from 1.4.8 to 1.5.5 so its a big leap and working. This technique isn't working for me as we just upgraded to 1.5.6.2 and the backup that I have is old there are some mySql syntax errors that is keeping me from importing it. 1 Link to comment Share on other sites More sharing options...
stonepilot Posted February 26, 2014 Share Posted February 26, 2014 Hi Benjamin, I upgraded from 1.4.6.2 to 1.5.6.2 and I tried all the solutions above without making any progress. As you recommend I selected the legacy system but then when I regenerate the images and I get the same error with the new path: Original image is missing or empty (/home/XXX/img/p/1/6/7/167.jpg) for product ID 169 ..... total of 709 errors I also tried to move the images using the Preferences>>Images tool but the process only takes about 2 seconds before I get the message "The selected images have successfully been moved." The time is too short and the actual new directories are not created. All of the above makes me think that none of the actions that I called on Preference>>Images are actually not performed. Besides the error above I am not getting any other error messages (I have display_errors ON) I am stock here, I don't know what to do next. Any pointers will be appreciated. Pietro, did you ever get this fixed? Link to comment Share on other sites More sharing options...
benjamin utterback Posted February 26, 2014 Share Posted February 26, 2014 Pietro, did you ever get this fixed? He did say he got it solved. This is what he did I was able to solve the issue by rollingback one more time, move the images in the old PS version, then upgrade and then regenerate the images. I don't know why I couldn't do it the other way around. Man that was frustrating. Have you tried that way? Link to comment Share on other sites More sharing options...
Adam Akhirat Posted March 6, 2014 Share Posted March 6, 2014 why prestashop did system like this?? im totally frustrated on this.. ill try everything - not success.. any helps please??? 4836 errors Original image is missing or empty (/home/loverfra/public_html/img/p/6/3/0/630.jpg) for product ID 630 Original image is missing or empty (/home/loverfra/public_html/img/p/6/3/1/631.jpg) for product ID 631 Original image is missing or empty (/home/loverfra/public_html/img/p/6/3/2/632.jpg) for product ID 632 Original image is missing or empty (/home/loverfra/public_html/img/p/6/3/3/633.jpg) for product ID 633 Original image is missing or empty (/home/loverfra/public_html/img/p/6/3/4/634.jpg) for product ID 634 Original image is missing or empty (/home/loverfra/public_html/img/p/6/3/5/635.jpg) for product ID 635 Original image is missing or empty (/home/loverfra/public_html/img/p/6/3/7/637.jpg) for product ID 637 etc !!!!!!!!!!!!!!!!!!!!!!!!!! Link to comment Share on other sites More sharing options...
Xavier du Tertre Posted March 7, 2014 Share Posted March 7, 2014 Adam, your PrestaShop is using the old directory system for images. They're all in the img/p/ folder, when the new system requires them to be in subdirectories. Ex: image 1752.jpg is going to be in img/p/1/7/5/2/ You can do that easily with the button "Move images" in your Back-office : Link to comment Share on other sites More sharing options...
Xavier du Tertre Posted March 7, 2014 Share Posted March 7, 2014 And this is in 1.5 : Link to comment Share on other sites More sharing options...
Adam Akhirat Posted March 7, 2014 Share Posted March 7, 2014 And this is in 1.5 : dd.gif Xavier, its not 1.5.6.2 i think. mine is different,. there is no such move images after regenerate thumbnails Link to comment Share on other sites More sharing options...
Xavier du Tertre Posted March 7, 2014 Share Posted March 7, 2014 Yes it is a 1.5.6.2. What does it say when you click on "Regenerate thumbnails"? Link to comment Share on other sites More sharing options...
Adam Akhirat Posted March 8, 2014 Share Posted March 8, 2014 Yes it is a 1.5.6.2. What does it say when you click on "Regenerate thumbnails"? are you sure of it? damn mine is 1.5.6.2 but is not like that man... it give 4800++ errors man.. Link to comment Share on other sites More sharing options...
benjamin utterback Posted March 10, 2014 Share Posted March 10, 2014 are you sure of it? damn mine is 1.5.6.2 but is not like that man... it give 4800++ errors man.. Are you clicking on Move images? 1 Link to comment Share on other sites More sharing options...
nikmagnus Posted March 13, 2014 Share Posted March 13, 2014 Hi there, I came across this problem upgrading to 1.5.6.2, where "original image is missing or empty" and I got hundreds of errors on regenerating thumbnails resulting in all images being replaced by a question mark. It seems to be an issue with the legacy image storing system. Previous versions allowed me to continue using the legacy system in which images were stored inside this folder: Prestashop/img/p/ as a list of images e.g.: product ID 201201-1.jpg201-1-home.jpg201-1-thickbox.jpg201-1-large.jpg etc. The new filing system is a little different, using nested folders rather than a huge number of image files in one folder.Take product ID 201 again.Would be stored in prestashop/img/p/2/0/1/ as 201-home.jpg 201-large.jpg 201-medium.jpg etc... So PS 1.5.6.2 has been shipped to default to NOT use the Legacy system, and also not offer a choice.So, even if your updated system displays images using the legacy system, as soon as you regenerate thumbnails, (and delete all existing images) it will delete the legacy images, but then not find any images in the nested folders to regenerate. In short you are f***ed. Solution.Edit line 56 of prestashop/controllers/admin/AdminImagesController.php from (or whatever it says) $this->display_move = false; to $this->display_move = true; Then, in the backend, you should go to preferences > images and at the bottom of the page, find an button to MOVE IMAGES from the Legacy system to the new system. You can look in the prestashop/img/p folder to confirm that they have been moved and renamed to a nested system. Then where it says: Use the legacy image filesystem, click on "no". Check your images display on your front end, then you should be right to regenerate your thumbnails without the images being deleted or de-linked. 1 Link to comment Share on other sites More sharing options...
Adam Akhirat Posted March 15, 2014 Share Posted March 15, 2014 Are you clicking on Move images? the Move images is not in my presta... i never see it Link to comment Share on other sites More sharing options...
nabeez Posted March 26, 2014 Share Posted March 26, 2014 I have just updated from 1.4.3 to 1.6 and I experienced the exact same images problem. BUT I was able to resolve it like a charm. Here are the steps: 1- I created a staging copy of my Prestashop for upgrade. 2- Copy images from the "img/p" folder from your old prestashop 1.4.3 (live site still). 3- Copy images over the staging (1.6) 4- Disable your cache on 1.6 5- Disable Friendly URLs on 1.6 6- Go to Preferences -> Images on 1,6 and switch to Legacy Images 7- Regenerate all your image WITH "Erase previous images" set to NO 8- Clear your cache and you are all SET It works for me like a charm. Let me know if that works for you Nabil Link to comment Share on other sites More sharing options...
istox Posted May 10, 2014 Share Posted May 10, 2014 No luck with regeneration in 1.6 I have just updated from 1.4.3 to 1.6 and I experienced the exact same images problem. BUT I was able to resolve it like a charm. Here are the steps: 1- I created a staging copy of my Prestashop for upgrade. 2- Copy images from the "img/p" folder from your old prestashop 1.4.3 (live site still). 3- Copy images over the staging (1.6) 4- Disable your cache on 1.6 5- Disable Friendly URLs on 1.6 6- Go to Preferences -> Images on 1,6 and switch to Legacy Images 7- Regenerate all your image WITH "Erase previous images" set to NO 8- Clear your cache and you are all SET It works for me like a charm. Let me know if that works for you Nabil No luck with regeneration in 1.6. Not works. Original image is missing or empty (C:xampphtdocsprc16/img/p/2/3/9/239.jpg) for product ID 60 Original image is missing or empty (C:xampphtdocsprc16/img/p/2/4/0/240.jpg) for product ID 60 Original image is missing or empty (C:xampphtdocsprc16/img/p/2/4/1/241.jpg) for product ID 60 Original image is missing or empty (C:xampphtdocsprc16/img/p/2/4/2/242.jpg) for product ID 60 Link to comment Share on other sites More sharing options...
theridinghood Posted July 13, 2014 Share Posted July 13, 2014 I upgraded to 1.6.0.6 and on hover my images disappear also there is no image display in the cart on the top menu. Can anyone help as I cant configure my shop on facebook. Link to comment Share on other sites More sharing options...
lovemyseo Posted July 17, 2014 Share Posted July 17, 2014 UPD: as I see many people have the same trouble,so I should update my post with simplest solution: Guys, simple way, just edit your config/settings.inc.php file and set shop creation date "in the past" earlier than 2013-03-26, like: define('_PS_CREATION_DATE_', '2011-09-11'); It works) old: My English not so good, but maybe someone will face a similar problem. I did manual shop upgrade for one of my clients from ver. 1.4.x to 1.5.5 (latest) After upgrade - shop did not show product images (with default template and created _default suffixes) and I see error "original images missed". Client shop used default images settings before - all product images in one folder. Ok, now we understand problem - Prestashop refused from old image storage system and use only now "legacy = no" (and maybe have some bugs with define right settings for your shop) Solution: edit controllers/admin/AdminImagesController.php find // No need to display the old image system if the install has been made later than 2013-03-26 $this->display_move = (!Configuration::get('PS_LEGACY_IMAGES') && defined('_PS_CREATION_DATE_') && strtotime(_PS_CREATION_DATE_) > strtotime('2013-03-26')) ? false : true; replace to $this->display_move = true; then goto Preferences -> Images and click Move Images When it will be done - change code as before or leave it. Will this work on PS 1,6x? Link to comment Share on other sites More sharing options...
lovemyseo Posted July 17, 2014 Share Posted July 17, 2014 When you open up those pictures via FTP, do they correctly show? If it is only those three pictures, I would delete the current picture and replace them again to see if it works. That may actually do the trick. What is the solution if we get 504 gateway time out whule regenrating thumbnails ? for PS 1,4 Link to comment Share on other sites More sharing options...
lovemyseo Posted July 17, 2014 Share Posted July 17, 2014 I have just updated from 1.4.3 to 1.6 and I experienced the exact same images problem. BUT I was able to resolve it like a charm. Here are the steps: 1- I created a staging copy of my Prestashop for upgrade. 2- Copy images from the "img/p" folder from your old prestashop 1.4.3 (live site still). 3- Copy images over the staging (1.6) 4- Disable your cache on 1.6 5- Disable Friendly URLs on 1.6 6- Go to Preferences -> Images on 1,6 and switch to Legacy Images 7- Regenerate all your image WITH "Erase previous images" set to NO 8- Clear your cache and you are all SET It works for me like a charm. Let me know if that works for you Nabil Can you tell me exact paths of stagging image or the folder where it needs to be created? Link to comment Share on other sites More sharing options...
J.Sahu Posted August 9, 2014 Share Posted August 9, 2014 Thank You it worked for me. I have regenerated after moving the files. Link to comment Share on other sites More sharing options...
dieffemedia Posted August 21, 2014 Share Posted August 21, 2014 my solution: rename the image in preference->images in xxxx_default. Es home rename to home_default this method worked on update from 1.4.6 to 1.6 no need to regenerate images ( no gateway timeout :-) ) i hope this help someone Link to comment Share on other sites More sharing options...
lovemyseo Posted October 23, 2014 Share Posted October 23, 2014 I am getting error when I use new themes as I have more than 1000 products regeneration on thumbnail has became impossible. My old images shows up with thumbnail but new images shows with no image. In my new theme there is option of descending of images showing all new uploaded images on top but all images shows no images but when I do ascending all my old images shows up. If I upload a single upload of product it shows up even after decending order . Any solutions as regeneration of thumbnails takes more than hour and fails giving 404 error for all. If I do regeneration of thumbnail for cart_default it gives error original image missing Use Move image option fist then regenerate htaccess file otherwise regenerate thumbnail one by one not using All option make sure images dimnisions are same in new theme like old one Pass me store URl if possible Link to comment Share on other sites More sharing options...
mma87 Posted December 4, 2014 Share Posted December 4, 2014 I had the same error Original image is missing or empty (C:xampphtdocsprc16/img/p/2/3/9/239.jpg) for product ID 60I see that the id is the only product in the homepage, in the tab "new arrivals" my solution is to upload manually the images for this product Matteo Link to comment Share on other sites More sharing options...
midunmkumar Posted December 17, 2014 Share Posted December 17, 2014 I have upgraded my site from ps 1.5.3 to 1.5.6 after upgrdation there is no image shown on my site. I have done ps creation date on settings.inc.php file and set true for move images but there is no change on my site. after that i just rename the img folder name..now it shows some of product images and still question mark symbol appear on some of product images. help me to fix this issue.. thanks in advance Link to comment Share on other sites More sharing options...
RobS Posted December 23, 2014 Share Posted December 23, 2014 Hello I read through all the post here but I am still not sure what I should do. I just upgraded to 1.6 from 1.5 and now my images are displaying very small compared to my PS development site as well as PS live Demo site. I also see on PS live Demo site many less settings in back office compared with my live site. There is even one extra column called "Scenes" in my shop unlike PS demo shop. During my testing on my own development site this image problem did not occur only now after upgrading live site with One Click Upgrade. I believe all my extra rows are left overs from 1.5 those without the "_default"behind them. Can I now just delete these rows? Also I had to change a couple of the settings to match all PS default settings like in demo shop. Should I use the "Move Image Option" and if so just what will that do? Also should I regenerate all images as I was instructed to do after making edits to some image settings? I have recently uploaded all brand new images 800x800 but they are all still displaying very small. Thanks so much. Link to comment Share on other sites More sharing options...
lovemyseo Posted December 24, 2014 Share Posted December 24, 2014 I just upgraded to 1.5.6.1 from 1.5.6.0 Some of the pictures are missing from my website and question mark is appeared. There us no legacy system or move images available. Lat time it was there I think when I upgraded to 1.5.6.0 but now it is missing. I still regenerated the images but still images are missing. What should I do ???? Ofcourse I pressed control + F5 but images are still missing Change the image thumbnail values Link to comment Share on other sites More sharing options...
cille5 Posted December 26, 2014 Share Posted December 26, 2014 (edited) thx Edited December 26, 2014 by cille5 (see edit history) Link to comment Share on other sites More sharing options...
Gipielle Posted January 23, 2015 Share Posted January 23, 2015 (edited) How long does it takes to move 11 Gb of images ? Edited January 23, 2015 by Gipielle (see edit history) Link to comment Share on other sites More sharing options...
MeowsTheTime Posted February 10, 2015 Share Posted February 10, 2015 How can I get the "Move" to legacy option back in 1.6.0.11? At this point, I am willing to start over from scratch with the upgrade. Anyone please..I'll do what I need to do to get my images....... Link to comment Share on other sites More sharing options...
kitesurfsup Posted March 26, 2015 Share Posted March 26, 2015 Hi Sergey I have been trying everything to resolve this issue. Can you please advise where i find 'edit config settings as I can't find it within the shop? Thanks Leigh Link to comment Share on other sites More sharing options...
Gipielle Posted March 27, 2015 Share Posted March 27, 2015 kitesurfsup you have to change the date of creation of prestashop to display the setting, but in my case this procedure has not solved the problem, we are still without images in BO Link to comment Share on other sites More sharing options...
vivedesigns Posted March 31, 2015 Share Posted March 31, 2015 Hi i am having same issue i migrated server, files where missing i manually updaload, changed date, changed adminimage cntrol to True, reenerated thumbnail and still ? on images which are actually there in ftp. Link to comment Share on other sites More sharing options...
Gipielle Posted April 1, 2015 Share Posted April 1, 2015 Hello, try to solve the problem in this topic.... In my case, the images are in place, in fact if I click on the photo of the image missing, prestashop opens the correct picture to full screen. In my case also lack the icons for choose the cover image. PS: 1.5.6.1 Link to comment Share on other sites More sharing options...
Pixel Posted July 1, 2015 Share Posted July 1, 2015 If you're upgrading from 1.3.7 to 1.5.6.2 and have moved your images to the new file system, regenerated but still get blank images in your shop, you need to add '_default' to all of your image names, then regenerate all images. Eg. 'small' becomes 'small_default' etc. I don't know if this needs doing from 1.4.x to 1.5.6.2, or from 1.5.x to 1.6, but you sure need to do it with 1.3.7. Just wasted around 5 hours playing with this and searching for an answer ... the upgrade instructions need to say things like this very clearly (or the program code needs to add the '_default' automatically during the move process where it's needed). Link to comment Share on other sites More sharing options...
Gipielle Posted July 2, 2015 Share Posted July 2, 2015 Hi Pixel, can you please tell how ? Link to comment Share on other sites More sharing options...
Gipielle Posted July 2, 2015 Share Posted July 2, 2015 .. In Preferences > Imges we have: 1 small_default 45 px 45 px 2 medium_default 58 px 58 px 3 large_default 264 px 264 px 4 thickbox_default 600 px 600 px etc... Link to comment Share on other sites More sharing options...
Pixel Posted July 6, 2015 Share Posted July 6, 2015 Hi, You already have the '..._default' on your image names. In 1.3.7 the image names don't have that as standard (eg they're just named 'small', 'medium' ...) Link to comment Share on other sites More sharing options...
Gipielle Posted July 6, 2015 Share Posted July 6, 2015 Ok, you have any other suggestions? Regards Link to comment Share on other sites More sharing options...
Lucas Delhez Posted August 6, 2015 Share Posted August 6, 2015 Hello, I've the same issue that @gipielle . Does someone solve it? Thanks Link to comment Share on other sites More sharing options...
Gipielle Posted August 17, 2015 Share Posted August 17, 2015 Welcome to the club ! Hello, I've the same issue that @gipielle . Does someone solve it? Thanks Link to comment Share on other sites More sharing options...
bhmstore Posted November 5, 2015 Share Posted November 5, 2015 After upgrade 1.4 to 1.6 i am missing most of my product pictures i read all solutions and i did all unfortunately I still have problem Link to comment Share on other sites More sharing options...
Gipielle Posted November 7, 2015 Share Posted November 7, 2015 (edited) Welcome to the club bhmstore ! Edited November 7, 2015 by Gipielle (see edit history) 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