Warning: Cannot modify header information - headers already sent by (output started at /homez.194/pshdauph/www/manager/includes/config.inc.php:1) in /homez.194/pshdauph/www/manager/index.php on line 148 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /homez.194/pshdauph/www/manager/includes/config.inc.php:1) in /homez.194/pshdauph/www/manager/includes/config.inc.php on line 59 Warning: Cannot modify header information - headers already sent by (output started at /homez.194/pshdauph/www/manager/includes/config.inc.php:1) in /homez.194/pshdauph/www/manager/includes/config.inc.php on line 73
Quelqu’un aurait une idée? Je deviens folle, si je ne peux plus accéder au manager mon site est foutu
En général, cela se produit quand il manque le fichier config.php.inc de l’ancienne installation. Du coup, n’ayant pas les informations de connexion à la BDD, MODx ne peut pas proposer de mise à jour.
(bizarrement je ne pouvais pas sélectionner la mise à jour).
De rien, je suis ravi que tout fonctionne à nouveau.
En tout cas merci pour tout Fairytree, j’ai eu une très grosse peur![]()
Étonnant... Normalement, en le mettant directement dans le code du snippet, ça fonctionne. En tout cas, ça n’a jamais posé de souci avec Ditto.
- J’ai tenté sans succès de faire la date en français avec le paramètre &language=`francais-utf8` et j’ai ajouté setlocale (LC_ALL, ’fr_FR’); dans manager/includes/config.inc.php (j’ai même tenté de mettre setlocale directement dans le snippet).
<?php setlocale (LC_ALL, 'fr_FR.utf-8,fr_FR,fr,french'); ?>
setlocale(LC_ALL, 'fr_FR.utf-8');
According to MSDN, Windows setlocale()'s implementation does not support UTF-8 encoding. Citation from "MSDN setlocale, _wsetlocale" page (http://msdn.microsoft.com/en-us/library/x99tb11d.aspx): The set of available languages, country/region codes, and code pages includes all those supported by the Win32 NLS API except code pages that require more than two bytes per character, such as UTF-7 and UTF-8. If you provide a code page like UTF-7 or UTF-8, setlocale will fail, returning NULL.