mauinsons Posted April 19, 2014 Share Posted April 19, 2014 Hi all, I have this problem that it takes 30-40 seconds to load each tab at the product info page at the Back Office. I've enabled "_PS_MODE_DEV_" and "_PS_DEBUG_PROFILING_" in the defines.inc.php file and got the following screenshots. It shows that the InitContent process is taking forever to load and I hope that someone could let me know what could be the problem. Link to comment Share on other sites More sharing options...
NemoPS Posted April 19, 2014 Share Posted April 19, 2014 You can try adding a die('here') to that method of adminProductsController, line by line, and see there it starts hanging. But first, are you using any module hooking there? Link to comment Share on other sites More sharing options...
mauinsons Posted April 19, 2014 Author Share Posted April 19, 2014 (edited) Thanks for the quick reply. This is the last module that i've added which added a new tab at the product page: http://addons.prestashop.com/en/comparison-shopping-prestashop/11546-bundle-pack-content-module-with-discounts-premium.html I had this module installed a week ago but this slow loading issue only started showing up yesterday. How do I use the die('here') command to debug? I'm still very new to Prestashop. Added: I've also tried to disable the module at the module page but problem still persist. Edited April 19, 2014 by mauinsons (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted April 21, 2014 Share Posted April 21, 2014 Try writing die('here'); at the very beginning of the initContent method. Then take it down and down till the page goes for that infinite loading Link to comment Share on other sites More sharing options...
Recommended Posts