Bathily Posted April 19, 2013 Share Posted April 19, 2013 (edited) 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 May 6, 2013 by Bathily (see edit history) Link to comment Share on other sites More sharing options...
dowbly Posted April 19, 2013 Share Posted April 19, 2013 http://www.prestashop.com/forums/topic/201027-probleme-mise-en-ligne-prestashop/ Link to comment Share on other sites More sharing options...
Bathily Posted April 20, 2013 Author Share Posted April 20, 2013 Merci pour la réponse. Je vais essayer de résoudre le problème. Link to comment Share on other sites More sharing options...
Bathily Posted April 21, 2013 Author Share Posted April 21, 2013 Bonjour, Problème résolu: c'était un problème avec la base de donnée que j'avais pas bien configuré dans le fichier config/settings.inc.php. Merci encore. Je ne sais pas comment mettre résolu au topic. Link to comment Share on other sites More sharing options...
dowbly Posted April 22, 2013 Share Posted April 22, 2013 (edited) 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 April 22, 2013 by dowbly (see edit history) Link to comment Share on other sites More sharing options...
Bathily Posted April 22, 2013 Author Share Posted April 22, 2013 Merci, problème résolu. 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