MadSilence Posted September 26, 2013 Share Posted September 26, 2013 Hello guys!I just upgraded to 1.5.5.0 from 1.4.9And almost everything went fine. everything is showing up BUT the images wont be moved. I get a server error every time.And now the website thinks the images are here: src="http://www.knk-tuning.no/img/p/1/0/4/6/2/10462-large_default.jpg"But they are really still here: src="http://www.knk-tuning.no/img/p/10462-large_default.jpg"How can i fix this? I have quite a lot of products. possibly 8000 :S =)I can allways revert to 1.4.9 but... =) Any suggestions?Tried move=Server errorTried refresh= partly ok i get the categories but products are no go. Tried refresh only product images. get world longest list of file not existing:SPlease help! Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 26, 2013 Share Posted September 26, 2013 Hi! You do need to move your images. First, have you regenerated your images in your backoffice? Link to comment Share on other sites More sharing options...
MadSilence Posted September 26, 2013 Author Share Posted September 26, 2013 I tried to move them yes. It moves partially. looks like it moved the category images but none of the product images. PS: I also installed a new 1.5 module that added some image size rules. can that be interfering?I have regenerated several times. it says old images not found. because they wont be moved =) Link to comment Share on other sites More sharing options...
safa Posted September 26, 2013 Share Posted September 26, 2013 my suggestion, first step . -> /img folder and all subfolders and files set permison 777 second step . -> go to admin /preferences /images and click "Move İmages" after click regenere imeges i hope your images will be show. Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 26, 2013 Share Posted September 26, 2013 I tried to move them yes. It moves partially. looks like it moved the category images but none of the product images. PS: I also installed a new 1.5 module that added some image size rules. can that be interfering? I have regenerated several times. it says old images not found. because they wont be moved =) I wonder if you are receiving a server error because of memory limitations when you try to move your images. Could you contact your host and see if there are any errors on their side (especially memory errors) that could prevent you from moving all of your images. Link to comment Share on other sites More sharing options...
bellini13 Posted September 27, 2013 Share Posted September 27, 2013 it is also likely a timing issue. If the max_execution_time is too low, or your host kills long running processes, then you will need to ask them to increase it. The alternative is to replicate your site to your local computer using WAMP or similar software. Remove any memory or resource constraints, and perform the move and image regen on your local computer. Then when complete, just copy the entire /img folder back to your live site 1 Link to comment Share on other sites More sharing options...
indus Posted September 27, 2013 Share Posted September 27, 2013 (edited) Hi I have also read about a bug where it wont find some images, which can be fixed by changing the dates ? http://www.prestashop.com/forums/topic/272333-solved-how-to-dont-show-product-images-after-upgrade-to-155/ Edited September 27, 2013 by indus (see edit history) Link to comment Share on other sites More sharing options...
MadSilence Posted September 27, 2013 Author Share Posted September 27, 2013 WOW thanks for all the suggestions!! safa: tried that. no help. Prestashop says images is moved but they remain in the root of p. Benjamin: I will mail them about that!!=)=) indus: tried the date change too. 2008. no help:(Thanks for all the suggestions! =)safa Link to comment Share on other sites More sharing options...
indus Posted September 27, 2013 Share Posted September 27, 2013 (edited) Dont try 2008. maybe that is too early Try 2011 Edited September 27, 2013 by indus (see edit history) Link to comment Share on other sites More sharing options...
MadSilence Posted September 27, 2013 Author Share Posted September 27, 2013 indus: tried several dates. still not moving the rest of them:S Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 27, 2013 Share Posted September 27, 2013 indus: tried several dates. still not moving the rest of them:S Much like bellini13 stated, I do think this could be a timeout or memory issue. These settings are within the php.ini file. You may be able to edit it within your Cpanel but it is a good idea to contact your host as well. Read more in this blog, http://www.prestashop.com/blog/en/utilize-the-php-ini-file-to-optimize-your-ecommerce-store/ Link to comment Share on other sites More sharing options...
MadSilence Posted September 27, 2013 Author Share Posted September 27, 2013 Benjamin + Bellini: I am starting to believe that too! I have mailed the, but ill have to w8 til Monday to get an answer=) oh well=) Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 27, 2013 Share Posted September 27, 2013 Benjamin + Bellini: I am starting to believe that too! I have mailed the, but ill have to w8 til Monday to get an answer=) oh well=) No problem, they should be able to help you and power up your memory settings at least temporarily. It may be a module error. Do you have any third party modules enabled. Link to comment Share on other sites More sharing options...
MadSilence Posted October 1, 2013 Author Share Posted October 1, 2013 Okay! It is not the server. The problem is prestashop doesnt move the images. when I click the move images button it says they are moved after 5 seconds. but they are still stuck in the root of img/p ...Manually moving the images is a pain as there are over 50 000 images =)any other suggestions?Thanks! Link to comment Share on other sites More sharing options...
indus Posted October 1, 2013 Share Posted October 1, 2013 Hi Just file a bug report man, i did the same and got help from a developer who solved my problem in half a day. 1 Link to comment Share on other sites More sharing options...
tuk66 Posted October 1, 2013 Share Posted October 1, 2013 Do you have a local copy of the old site? I mean the database, scripts and images too. Can you upgrade locally and then post all files as well the new database to your server? Link to comment Share on other sites More sharing options...
MadSilence Posted October 1, 2013 Author Share Posted October 1, 2013 tuk66: Thats is actually what i am doing now;)Downloading the site(takes forever) and trying to use apache and live database and upgrade=)PS: I am also considering a fresh prestashop install hence all my modules from 1.4 in useless now. so less junk is good. BUT!!How do i get all the products and images from my old backed up prestashop 1,4 to my new fresh install prestashop 1,5?=)Thanks guys!!! Link to comment Share on other sites More sharing options...
tuk66 Posted October 1, 2013 Share Posted October 1, 2013 Can you trace the code with NetBeans or other debugger? It should find an exact place in the code where the problem is. Then you would be only one step from resolving the issue. Link to comment Share on other sites More sharing options...
MadSilence Posted October 1, 2013 Author Share Posted October 1, 2013 tuk66: Never used NetBeans before but I could try=) Link to comment Share on other sites More sharing options...
tuk66 Posted October 1, 2013 Share Posted October 1, 2013 If you are serious with PHP and especially PrestaShop than NetBeans + XDebug are your best friends. It is like to overcome blindness. Link to comment Share on other sites More sharing options...
Recommended Posts