Jump to content

[Résolu] - Plus de backoffice apres mise a jour de vers

Recommended Posts


Suite a la mise a jour de vers, mon FO a l'air de fonctionner correctement mais je ne peux plus acceder au BO.

Apres avoir entré mon id/mdp, je reviens sur la page du BO sans le formulaire (cf image en PJ).

J'ai activé le mode DEBUG dans le fichier defines.inc.php mais cela ne donne rien non plus.

Help me please ....


Edited by ablink81 (see edit history)

Share this post

Link to post
Share on other sites

J'ai trouvé la solution sur un autre post du forum qui dit :


There is a problem with constant INTL_IDNA_VARIANT_UTS46 in the file "src/Core/Util/InternationalizedDomainNameConverter.php". It needs to be modified as follows. The constant INTL_IDNA_VARIANT_UTS46 needs to be converted to int type explicitelly by intval() on the line 47.

class InternationalizedDomainNameConverter {     /**      * Convert the host part of the email from punycode to utf8 (e.g,. email@xn--e1aybc.xn--p1ai -> email@тест.рф)      *      * @param string $email      *      * @return string      */     public function emailToUtf8(string $email): string     {         $parts = explode('@', $email);         if (count($parts) !== 2) {             return $email;         }         return $parts[0] . '@' . idn_to_utf8($parts[1], 0, intval(INTL_IDNA_VARIANT_UTS46));     } }

Et cela fonctionne maintenant !

  • Like 1

Share this post

Link to post
Share on other sites

  • ablink81 changed the title to [Résolu] - Plus de backoffice apres mise a jour de vers

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

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More