Annonce

  •  » Utilisation
  •  » [Résolu] Piwigo encountered a non recoverable error

#1 2021-06-28 19:35:13

karlxena
Membre
2021-06-09
5

[Résolu] Piwigo encountered a non recoverable error

Bonjour,

J'ai voulu modifié la version de mon PHP sur OVH passer à la "stable 64" 7.4 mais cela planté mon site Piwigo.
J'ai essayé de revenir à une configuration précédente de PHP mais j'ai un message d'erreur sur mon site !

Pouvez-vous m'aider SVP ?

Warning: mysqli::__construct(): (HY000/1045): Access denied for user 'delucineicono'@'10.10.20.39' (using password: YES) in /home/delucine/www/iconographie/include/dblayer/functions_mysqli.inc.php on line 52

Warning: my_error(): Couldn't fetch mysqli in /home/delucine/www/iconographie/include/dblayer/functions_mysqli.inc.php on line 856

Warning: my_error(): Couldn't fetch mysqli in /home/delucine/www/iconographie/include/dblayer/functions_mysqli.inc.php on line 856
Piwigo encountered a non recoverable error
[mysql error ]
Can't connect to server

#1    my_error /home/delucine/www/iconographie/include/common.inc.php(113)
#2    include_once /home/delucine/www/iconographie/index.php(11)

Version de Piwigo: 11.5.0
Version de PHP: 7.3
Version de MySQL: 5.6
URL Piwigo: http://delucine.com/iconographie/

Hors ligne

#2 2021-06-29 08:25:53

k5
Équipe Piwigo
La reppe
2014-01-26
1291

Re: [Résolu] Piwigo encountered a non recoverable error

Bonjour
Dans .ovhconfig de votre installation piwigo c'est écrit quoi dedans ?
Si vous avez une .ovhconfig globale ça prend automatiquement ceci
A très vite


Piwigo 14.3 VM alpneLinux php 8.3
Piwigo 14.3 php 8.3 -- 8.3 mysql -- ImageMagick 7.1.1.28

Hors ligne

#3 2021-06-29 08:49:41

biache
Membre
Jacou
2021-05-29
45

Re: [Résolu] Piwigo encountered a non recoverable error

Peut être ça :

The underlying issue is having an unsupported authentication plugin assigned to the user, which causes the password to not match. You could configure your development MySQL server differently, in order to establish a similar environment. In order to do so, you have to edit /etc/mysql/my.cnf:

[mysqld]
...
default-authentication-plugin = mysql_native_password

However, I'd rather suggest to upgrade the production environment to PHP 7.4 and MySQL 8.0, in order to use caching_sha2_password instead, which is the default authentication plugin since MySQL 8.0. One could also update the passwords during deployment through the MySQL CLI - but running identical configurations is the most hassle free - and the most reliable for testing it.

Upgrading to MySQL 8.0 : Default Authentication Plugin Considerations explains it in detail.


cf https://stackoverflow.com/questions/594 … onnections

Hors ligne

#4 2021-06-29 10:22:30

k5
Équipe Piwigo
La reppe
2014-01-26
1291

Re: [Résolu] Piwigo encountered a non recoverable error

Bonjour Biache,

possible !!

karlxena a écrit:

The underlying issue is having an unsupported authentication plugin assigned to the user, which causes the password to not match. You could configure your development MySQL server differently, in order to establish a similar environment. In order to do so, you have to edit /etc/mysql/my.cnf:

[mysqld]
...
default-authentication-plugin = mysql_native_password

However, I'd rather suggest to upgrade the production environment to PHP 7.4 and MySQL 8.0, in order to use caching_sha2_password instead, which is the default authentication plugin since MySQL 8.0. One could also update the passwords during deployment through the MySQL CLI - but running identical configurations is the most hassle free - and the most reliable for testing it.

Upgrading to MySQL 8.0 : Default Authentication Plugin Considerations explains it in detail.

mais de faire cohabiter wordpress avec une redirection en racine, c'est un peu complexe mais c'est possible !!!
A très vite


Piwigo 14.3 VM alpneLinux php 8.3
Piwigo 14.3 php 8.3 -- 8.3 mysql -- ImageMagick 7.1.1.28

Hors ligne

#5 2021-06-29 10:53:58

karlxena
Membre
2021-06-09
5

Re: [Résolu] Piwigo encountered a non recoverable error

k5 pour .ovhconfig je l'ai seulement à la racine de mon ftp et j'ai cela :

app.engine=php
app.engine.version=7.3
http.firewall=security
environment=production
container.image=stable

Hors ligne

#6 2021-06-29 10:55:51

karlxena
Membre
2021-06-09
5

Re: [Résolu] Piwigo encountered a non recoverable error

J'ai peut-être entre-temps modifié le mot de passe de la basse de donnée.
Comment le modifié dans Piwigo? ftp où directement dans mysql ?

Hors ligne

#7 2021-06-29 11:08:21

k5
Équipe Piwigo
La reppe
2014-01-26
1291

Re: [Résolu] Piwigo encountered a non recoverable error

bonjour,
que sur ftp dans ./local/config/database.inc.php
A très vite


Piwigo 14.3 VM alpneLinux php 8.3
Piwigo 14.3 php 8.3 -- 8.3 mysql -- ImageMagick 7.1.1.28

Hors ligne

#8 2021-06-29 11:13:08

karlxena
Membre
2021-06-09
5

Re: [Résolu] Piwigo encountered a non recoverable error

UN GRAND MERCI K5 !!!! Cela fonctionne maintenant

Hors ligne

#9 2021-06-29 11:25:46

k5
Équipe Piwigo
La reppe
2014-01-26
1291

Re: [Résolu] Piwigo encountered a non recoverable error

Bonjour
mais de rien. Maintenant essayer ça devrait fonctionner en php 7.4
A très vite


Piwigo 14.3 VM alpneLinux php 8.3
Piwigo 14.3 php 8.3 -- 8.3 mysql -- ImageMagick 7.1.1.28

Hors ligne

  •  » Utilisation
  •  » [Résolu] Piwigo encountered a non recoverable error

Pied de page des forums

Propulsé par FluxBB

github twitter newsletter Faire un don Piwigo.org © 2002-2024 · Contact