Euroland Posted September 10, 2015 Share Posted September 10, 2015 (edited) I've hosted my Prestashop at Azure. It runs very quickly, except the Modules page (in Administration). It loads at least a minute, but now it takes about 5 minutes. I've upgraded the VM to a D1 (with SSD) but it's still very slow. There must be a module causing this issue. How can I investigate this? Only solution is to turn on performance monitoring (which will then be visible for the public site as well, right?)? When I log on the server via SSH and check TOP, the CPU is almost idle... Edited September 10, 2015 by Euroland (see edit history) Link to comment Share on other sites More sharing options...
Blawdi Posted September 12, 2015 Share Posted September 12, 2015 i, have same problem... You have soluce? Link to comment Share on other sites More sharing options...
codochi Posted September 13, 2015 Share Posted September 13, 2015 Because your shop is linked to addons.prestashop This problem solve easily. The first: open classes/admin/Tools.php Search addonsRequest and then insert return false; Such as public static function addonsRequest($request, $params = array()) { return false; if (!self::$is_addons_up) { Link to comment Share on other sites More sharing options...
El Patron Posted September 13, 2015 Share Posted September 13, 2015 this might help: https://github.com/PrestaShop/PrestaShop/commit/7e891c594e3cc8b48aea0a57ed674189abc19493 Link to comment Share on other sites More sharing options...
sparsek Posted September 23, 2016 Share Posted September 23, 2016 I solve this way: (in classes/Tools.php) Change the URL to IP: $protocols = array('https'); //$end_point = 'api.addons.prestashop.com'; $end_point = '91.240.109.18'; Link to comment Share on other sites More sharing options...
serfmen Posted November 15, 2016 Share Posted November 15, 2016 (edited) I solve this way: (in classes/Tools.php) Change the URL to IP: $protocols = array('https'); //$end_point = 'api.addons.prestashop.com'; $end_point = '91.240.109.18'; Sorry for digging this thread but THANKS! Solution from @sparsek just work! My loading time when i try open modules list was ~1min or better, i changed "end_point=" to IP (like he said up) and now i have ~2-3s loading time! Big thank you! Great solution I'm really happy now - really frustrating when you wait 1 min to open module list Maybe someone need this solution too so i telling it works (in my case) Edited November 15, 2016 by serfmen (see edit history) Link to comment Share on other sites More sharing options...
sparsek Posted November 15, 2016 Share Posted November 15, 2016 Sorry for digging this thread but THANKS! Solution from @sparsek just work! My loading time when i try open modules list was ~1min or better, i changed "end_point=" to IP (like he said up) and now i have ~2-3s loading time! Big thank you! Great solution I'm really happy now - really frustrating when you wait 1 min to open module list Maybe someone need this solution too so i telling it works (in my case) I'm sorry but this is not the solution... you gonna get an error. Is better just don't load from site Try "return false" after the fiction: public static function addonsRequest($request, $params = array()) { return false; if (!self::$is_addons_up) { Link to comment Share on other sites More sharing options...
serfmen Posted November 15, 2016 Share Posted November 15, 2016 (edited) I'm sorry but this is not the solution... you gonna get an error. Is better just don't load from site Try "return false" after the fiction: public static function addonsRequest($request, $params = array()) { return false; if (!self::$is_addons_up) { I have something like this (i don't modify this, just copy from my presta): public static function addonsRequest($request, $params = array()) { if (!self::$is_addons_up) { return false; } All is working now so i think i don't need to change anything. EDIT Really @sparsek have right, few days later i have error so i change classes/tools.php to this and now work GREAT, you just add "return false;" - look at quote below. public static function addonsRequest($request, $params = array()) { return false; if (!self::$is_addons_up) { Edited December 27, 2016 by serfmen (see edit history) 1 Link to comment Share on other sites More sharing options...
Skydone Posted February 16, 2017 Share Posted February 16, 2017 Thanks a lot @serfmen, this works for me in PS 1.6.0 and 1.6.1 versions. Before this, it takes betwen 3 and 5 minutos to load the modules page, and now it loads in 10-15 seconds. 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