Guest Posted March 8, 2010 Share Posted March 8, 2010 Hi all,Please help,it is urgent.The products detailed page become blank as you can see here: [Fake website - Moderated by Patric]When click the products on the “viewed products “ and “new products” block and the parent categories (apparel / footwear),the page downloaded very very slowly and after that the page becomes blank.However, it is ok when you click the subcategories on the left of the website,product.php can be downloaded and shown correctly.Does anybody know why is that?Thank you very very much for your suggestions.PS.This happens in 2 days when I upgraded to the lastest version of prestashop. Link to comment Share on other sites More sharing options...
Martin Velikov Posted March 8, 2010 Share Posted March 8, 2010 As it seems your web site times out when trying to load the page. I have tested it in a simple text browser and it took over 22 seconds to load the specified URL. It is highly probable that your web server is interrupting the connection after approximately 22 seconds and thus the page fails to load.What I can advise you in this case is to consider optimizing your pages for better performance. I have tried loading the front page as well and it took over 10 seconds to load it each time. It includes a total of 388 internal links, including images, references to internal PrestaShop modules and more that further slows down the load time.As an example I could point out that normally a web page should load in less than a second. An average of 11 seconds is way too slow especially for a frontpage.As a resolution you could simply try lowering the number of links (products, category links, images) loaded on your front page. Lowering it down to a reasonable amount of about 100 links should work very well for you. Link to comment Share on other sites More sharing options...
Guest Posted March 8, 2010 Share Posted March 8, 2010 That is a professional answer.Thank you very much for your valued suggestion , I have lowered the links on the categaries by setting the categories maximun depth to 2 and now it seems faster when downoading. Thank you again for your carefully checking and professional answer.However,the problem I mentioned has not been resolved ,when you click the featured products on the homepage, a blank page comes up.As far as i know it is caused by database ,because I tested the database locally with a new and the lastest verion of prestashop, the problem still exsit.So Martin Velikov can you give me some suggestion about this issue? Link to comment Share on other sites More sharing options...
Martin Velikov Posted March 9, 2010 Share Posted March 9, 2010 It seems the problem with the URL is with the Last Viewed products module. I have seen people reporting issues with it. You might want to check this thread:http://www.prestashop.com/forums/viewthread/11400/bug_last_viewed_products_block_bugWhat I would recommend at this point is disabling this box so it does not stay broken on your web site.I am afraid further research should be done on server side. You might want to check the MySQL slow log (as indeed it seems a slow MySQL query is causing the delay when loading the page and thus it reached the web server timeout). The fact that the web server times out when trying to execute this request is pretty much all that can be seen from just visiting it.I hope this helps and you successfully resolve the issue. Link to comment Share on other sites More sharing options...
Recommended Posts