J’ai 4 sites qui cohabitent au sein d’une même mutualisation (SPIP 4.3.9).
Pour un de ces sites, j’ai une erreur fatale quand je cherche à accéder à l’espace privé :
Fatal error: Uncaught Error: Undefined constant "_DEFAULT_CHARSET" in /home/simodwpy/public_html/ecrire/inc/charsets.php:45
Stack trace: #0 /home/simodwpy/public_html/ecrire/inc/charsets.php(50): init_charset()
#1 /home/simodwpy/public_html/ecrire/inc/utils.php(1634): include_once('/home/simodwpy/...')
#2 /home/simodwpy/public_html/ecrire/inc/utils.php(159): find_in_path()
#3 /home/simodwpy/public_html/ecrire/inc/filtres.php(21): include_spip()
#4 /home/simodwpy/public_html/ecrire/inc/utils.php(1634): include_once('/home/simodwpy/...')
#5 /home/simodwpy/public_html/ecrire/inc/utils.php(159): find_in_path()
#6 /home/simodwpy/public_html/ecrire/inc/headers.php(56): include_spip()
#7 /home/simodwpy/public_html/config/mes_options.php(33): redirige_par_entete()
#8 /home/simodwpy/public_html/ecrire/inc_version.php(482): include_once('/home/simodwpy/...') #9 /home/simodwpy/public_html/spip.php(17): include_once('/home/simodwpy/...')
#10 /home/simodwpy/public_html/index.php(3): include('/home/simodwpy/...')
#11 {main} thrown in /home/simodwpy/public_html/ecrire/inc/charsets.php on line 45
Les trois autres sites accèdent sans problème à leur espace privé.
Pas de fichier mes_options.php dans le config de ce site.
D’où peut venir cette fatal error // pourquoi uniquement sur un site et pas les autres ?