Jump to content

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


Recommended Posts

Bonjour,

Suite a la mise a jour de 1.7.6.5 vers 1.7.7.1, 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 ....

screenshot-medical.cidi.fr-2021.02.08-11_36_31.png

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

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

Citation

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 protected] -> 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
Link to comment
Share on other sites

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

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