Jump to content

PrestaShop Original version: undefined


Recommended Posts

  • 5 months later...
  • 3 months later...

The issues is with the autoupgrade module. If you are using a socket to connect to your database, so something like: 

define('_DB_SERVER_', 'localhost:/var/run/mysqld/mysqld.sock');

or like:

define('_DB_SERVER_', '/var/run/mysqld/mysqld.sock');

within your settings.inc.php file, then the autoupgrade will just simple fail. 

 
 
Change it to a host:port combination like this: 
define('_DB_SERVER_', 'localhost:3306');

and it should be working then. 

Edited by innovacy (see edit history)
  • Like 1
Link to comment
Share on other sites

I definitely owe you a beer. This was the problem that no one was able to solve.

 

Thank you

 

The issues is with the autoupgrade module. If you are using a socket to connect to your database, so something like: 

define('_DB_SERVER_', 'localhost:/var/run/mysqld/mysqld.sock');

or like:

define('_DB_SERVER_', '/var/run/mysqld/mysqld.sock');

within your settings.inc.php file, then the autoupgrade will just simple fail. 

 
 
Change it to a host:port combination like this: 
define('_DB_SERVER_', 'localhost:3306');

and it should be working then. 

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...