Jump to content

After upgrade from 1.6 to 1.7.7.4 module install hangs


logosur

Recommended Posts

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

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/

 

  • Like 1
Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...