Jump to content

[Résolu] Problème export prestashop de local en ligne


Recommended Posts

Bonjour

 

Je viens de mettre prestashop en ligne et une page blanche s'affiche lorsque je vais sur mon domaine. En mettant displays errors à on, une erreur s'affiche:" Fatal error: Uncaught link to database cannot be established: SQL STATE [HY000] [2002] can't connect to local My SQL server through socket '//phpmyadmin.monsite.com' (2) thrown in /web/monsite/www/classes/db/DbPDO.php on line 57".

Est-ce que quelqu'un sait ce que ça veut dire et comment résoudre cette erreur?

Merci.

Edited by Bathily (see edit history)
Link to comment
Share on other sites

le problème de l'information

/classes/db/DbPDO.php

('Link to database cannot be established: %s')

 

solutions

par exemple comme ceci

/config/settings.inc.php

define('_DB_SERVER_', 'mysql.yourhosting.com'); /***Your Server DataBase Name***/
define('_DB_NAME_', '34532456_ps');	   /*Your Database Name*/
define('_DB_USER_', 'UserName');	   /*User Name Your DataBase*/
define('_DB_PASSWD_', 'Password');	/*Password Your DataBase*/
define('_DB_PREFIX_', 'ps_');	 /*Your DataBase Prefix*/
define('_MYSQL_ENGINE_', 'MyISAM');
define('_PS_CACHING_SYSTEM_', 'xxx');
define('_PS_CACHE_ENABLED_', '0');
define('_MEDIA_SERVER_1_', '');
define('_MEDIA_SERVER_2_', '');
define('_MEDIA_SERVER_3_', '');
define('_COOKIE_KEY_', 'xxx');
define('_COOKIE_IV_', 'xxx');
define('_PS_CREATION_DATE_', 'xxx');
define('_PS_VERSION_', '1.5.4.0');
define('_RIJNDAEL_KEY_', 'xxx');
define('_RIJNDAEL_IV_', 'xxx/xx==');

Edited by dowbly (see edit history)
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...