forum.coppermine-gallery.net

Support => Français (French) => Language Specific Support => cpg1.5.x Français (French) => Topic started by: Phil85 on April 07, 2012, 09:42:19 am

Title: Coppermine critical error
Post by: Phil85 on April 07, 2012, 09:42:19 am
Bonjour à toutes et à tous

Je viens de réaliser la mise à jour de coppermine de la version 1-5-18 vers 1-5-20  et je me retrouve avec une page blanche et le message suivant  :(:

Quote
Coppermine critical error:
Unable to connect to database !

MySQL said: mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD('your_existing_password'). This will store a new, and more secure, hash value in mysql.user. If this user is used in other scripts executed by PHP 5.2 or earlier you might need to remove the old-passwords flag from your my.cnf file

Voici le lien (http://www.photos-et-panoramas.fr/copmine/index.php) vers la page concerné

J'avais réalisé une sauvegarde de la bdd et des fichiers en ligne avant , ouf :
C'est une manip réalisé moulte fois sans souci , là je comprend pas .
J'ai essayer de trouver sur le forum une info sans résultat  .

Help !!! :-[

D'avance merci
Philippe
Title: Re: Coppermine critical error
Post by: Phil85 on April 07, 2012, 12:50:54 pm
Je viens de lire cette info (http://documentation.coppermine-gallery.net/en/upgrading.htm#updater_purpose)

J'ai fais le test et voilà la réponse:

Quote
Welcome to Coppermine update 
• • • ERROR • • • 
The following errors were encountered and need to be corrected first:
 

--------------------------------------------------------------------------------
Could not create a mySQL connection. Please check the SQL values in include/config.inc.php.
MySQL said: mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD('your_existing_password'). This will store a new, and more secure, hash value in mysql.user. If this user is used in other scripts executed by PHP 5.2 or earlier you might need to remove the old-passwords flag from your my.cnf file 
Welcome to Coppermine update 
• • • ERROR • • • 
The following errors were encountered and need to be corrected first:
 

--------------------------------------------------------------------------------
Could not create a mySQL connection. Please check the SQL values in include/config.inc.php.
MySQL said: mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD('your_existing_password'). This will store a new, and more secure, hash value in mysql.user. If this user is used in other scripts executed by PHP 5.2 or earlier you might need to remove the old-passwords flag from your my.cnf file 

J'ai tester et il ne me demande ni mon id , ni mdp de connection , il m'affiche uniquement les 2 messages précédents.

Il doit falloir faire une manip sur la base de donnée , mais là je ne sais comment procéder  :-[

Pour info j'ai changé mon HDD dernièrement et ne me suis pas connecté a ma page copermine depuis , peut-être une raison ??
Mais connaissances au niveau base de donnée sql est pour ainsi dire nul  :-[

Merci
Philippe
Title: Re: Coppermine critical error
Post by: Phil85 on April 07, 2012, 05:09:36 pm
Problème résolu !  :)

Mon hébergeur a changé de version php ce qui a créer un souci de connction avec la base sql .
Il a juste fallu retaper le mdp dans mon espace client dans la rubrique Mysql & PhpMyadmin .

La prise de tête !

Merci tout de même
Philippe
Title: Re: Coppermine critical error
Post by: François Keller on April 10, 2012, 08:07:56 am
Pas de quoi ;)
Title: Re: Coppermine critical error
Post by: Phil85 on April 10, 2012, 08:04:07 pm
He He !   ;D