logosur Posted May 14, 2021 Share Posted May 14, 2021 Hello, I cant't install any module, it hangs every time. I can even see in logs this error: [2021-05-13 18:49:21] php.DEBUG: Warning: file_get_contents(/home/.../public_html/config/xml/must_have_modules_list.xml): failed to open stream: No such file or directory [] [] I think this file doesn't exist anymore in Prestashop 1.7.7.x right? Any help would be appreciated. Regards. Link to comment Share on other sites More sharing options...
musicmaster Posted May 15, 2021 Share Posted May 15, 2021 Please mention your PHP version. Link to comment Share on other sites More sharing options...
El Patron Posted May 15, 2021 Share Posted May 15, 2021 also enable ps debug mode Link to comment Share on other sites More sharing options...
logosur Posted May 17, 2021 Author Share Posted May 17, 2021 This is PHP 7.2 and debug mode is on. Thanks. Link to comment Share on other sites More sharing options...
logosur Posted May 17, 2021 Author Share Posted May 17, 2021 I've also disabled any overrides and non-native modules, but no luck. Link to comment Share on other sites More sharing options...
logosur Posted May 17, 2021 Author Share Posted May 17, 2021 Memory limit: 512M Max execution time: 120 Upload filesize: 128M this is weird that there's no javascript errors, but it never timeout. Link to comment Share on other sites More sharing options...
musicmaster Posted May 17, 2021 Share Posted May 17, 2021 The error message concerns one the files downloaded from Prestashop. Try disabling the downloading by changing in classes/Tools.php Change public static function addonsRequest($request, $params = array()) { if (!self::$is_addons_up) { return false; } } into public static function addonsRequest($request, $params = array()) { return false; // if (!self::$is_addons_up) { // return false; // } } See also this discussion: https://www.prestashop.com/forums/topic/907905-very-slow-backend/ 1 Link to comment Share on other sites More sharing options...
logosur Posted May 17, 2021 Author Share Posted May 17, 2021 yeah it works, thank you very much Link to comment Share on other sites More sharing options...
logosur Posted May 19, 2021 Author Share Posted May 19, 2021 sorry now it loads the module but throws and unknown error, and I can see this at logs: 2021-05-19 13:39:22] php.DEBUG: Warning: file_get_contents(/home/.../public_html/config/xml/default_country_modules_list.xml): failed to open stream: No such file or directory [] [] Link to comment Share on other sites More sharing options...
musicmaster Posted May 19, 2021 Share Posted May 19, 2021 I have no idea what the cause can be. You can try to solve it by outcommenting line 1485 of /classes/module/Module.php 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