the_el_man Posted August 7, 2013 Share Posted August 7, 2013 Hi On 1.5.4.1 and when I do the regenerate thumbnails it just loads. No screen changes or 500 errors. I've left it for 2 hours now and nothing. Bit unsure what is going on but no images are in my shop anymore. Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 7, 2013 Share Posted August 7, 2013 Hi the_el_man, do you have access to your php.ini file? You may need to increase your max_input_time = Maximum amount of time each script can wait for requested data, in seconds and max_execution_time = Maximum allowed execution time of each script, in seconds. What are the current values? Link to comment Share on other sites More sharing options...
the_el_man Posted August 7, 2013 Author Share Posted August 7, 2013 (edited) Hi the_el_man, do you have access to your php.ini file? You may need to increase your max_input_time = Maximum amount of time each script can wait for requested data, in seconds and max_execution_time = Maximum allowed execution time of each script, in seconds. What are the current values? Hi Benjamin, Thanks for the reply. My hosting are currently doing work. However I found this http://faq.1and1.co....ting/php/8.html This suggests I can, although I have never seen/played with it. What would you recommend settings wise. Could you leave me an example of an enitre php.ini? Edited August 7, 2013 by the_el_man (see edit history) Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 7, 2013 Share Posted August 7, 2013 Hey, you can read my BlogPost here, it will detail the most important php.ini values for your PrestaShop store. Let me know what you think. This will definitely help! 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...
the_el_man Posted August 8, 2013 Author Share Posted August 8, 2013 Hey, you can read my BlogPost here, it will detail the most important php.ini values for your PrestaShop store. Let me know what you think. This will definitely help! http://www.prestasho...commerce-store/ Hi Ben. I made a file based off what you put at the end of the post. All I did was copy paste that info and save as php.ini. Is that all that is needed? Based off the link I sent you, which directory do I need to put it in (where does the script run from?) Thanks Link to comment Share on other sites More sharing options...
the_el_man Posted August 12, 2013 Author Share Posted August 12, 2013 UPDATE: Still not working however I spoke to my provider and they created a PHP.ini file for me and tried it in the / and the /admin. This still created the same error. It contains max_execution_time = 300 max_input_time = -1 Any ideas, I am really stuck. There are only 850 products, Ive had a store with far more before Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 12, 2013 Share Posted August 12, 2013 Yes, that is strange... Was this a fresh install of 1.5.4.1 or an upgrading version? Link to comment Share on other sites More sharing options...
the_el_man Posted August 12, 2013 Author Share Posted August 12, 2013 Yes, that is strange... Was this a fresh install of 1.5.4.1 or an upgrading version? Fresh. Plus I have now paid for a Regenerating thumbnail add on which also doesnt work. Any ideas? Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 12, 2013 Share Posted August 12, 2013 Yes, there is no need to to pay for a regenerating thumbnail addon if the default does not work on a fresh install. It is a problem with your server configuration, this error does not happen on a fresh install on any local host or most hosting providers. Your host does not give you any more information about this problem? Make sure that the changes that they made to the php.ini actually reflect on your store. What is the permission set for your images? Link to comment Share on other sites More sharing options...
the_el_man Posted August 12, 2013 Author Share Posted August 12, 2013 Yes, there is no need to to pay for a regenerating thumbnail addon if the default does not work on a fresh install. It is a problem with your server configuration, this error does not happen on a fresh install on any local host or most hosting providers. Your host does not give you any more information about this problem? Make sure that the changes that they made to the php.ini actually reflect on your store. What is the permission set for your images? I run several prestashop stores on the same server with no problems. Used to be a case of 500 error, then go back and untick erase images, then it would continue and eventually complete on the large sites. Although they did personally check the php.ini All the product img folders are 777. Hence why I bought the regen thumbnails add on as it said it would work if you have problems with the Prestashop version.. it hasnt. I'm currently awaiting an email back from them. I would prefer the original Prestashop version to work. Any ideas on what I could do? Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 12, 2013 Share Posted August 12, 2013 Okay, first let me ask, you have imported your images via CSV correct? What folder and subfolders did the images go to in your store? 1 Link to comment Share on other sites More sharing options...
the_el_man Posted August 12, 2013 Author Share Posted August 12, 2013 Okay, first let me ask, you have imported your images via CSV correct? What folder and subfolders did the images go to in your store? It was done via Cart2Cart as I had no way of extracting the products with the images from my old store. The images are in /img/p etc. Link to comment Share on other sites More sharing options...
the_el_man Posted August 13, 2013 Author Share Posted August 13, 2013 Okay, first let me ask, you have imported your images via CSV correct? What folder and subfolders did the images go to in your store? Hi Ben, Thanks for all your help. I tried again to regen, and for some reason it came up with a Prestashop "oops something wen wrong" error. It seemed to act like the old generic 500 error on previous versions. Low and behold it worked. Took about 15 goes (Back, refresh with erase unticked) at it but I noticed more and more images appearing. All working... no idea why!! But happy. Thanks for your input I'm sure it was something due to this, but I'm unsure what it was exactly. Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 13, 2013 Share Posted August 13, 2013 Awesome! I'm so glad that you were able to solve this problem. Sometimes with server related generations like csv import, thumbnails etc... just one corrupted file exchange can cause a big problem. Can I mark this as SOLVED now and close this thread? Link to comment Share on other sites More sharing options...
Recommended Posts