18
Indiquez l’intérêt que vous portez à cette question
0

Écrans envahis par des messages, après mise à niveau vers php 5.4

joseph-tux

Sur le site lespoulbots.fr

 J’ai d’abord mis à niveau le PHP (5.4) de mon hébergeur ( 1&1 )
je n’ai plus souvenir de sa version précédente, probablement la version 5.2, mais sans certitude
 J’ai commencé à avoir des pages remplis de lignes d’injures, mais heureusement avec accès aux interfaces noyées dans ce flot.
 J’ai téléchargé le dernier spip_loader.php ici : http://www.spip.net/fr_download
 J’ai vidé et désactivé le cache
 J’ai ensuite mis à niveau SPIP v2 avec spip_loader.php (paramétré pour spip version 2.1 comme indiqué ici : http://www.spip.net/fr_download)
 J’ai ensuite mis à niveau avec spip_loader.php paramétré pour SPIP 3
 J’ai ensuite supprimé les champs extra des tables articles, auters, breves, mots, rubriques, syndic et le champs id_version de la table articles.
 J’ai mis à jour tous les plugins

Ce site est en Français, et le codage semble avoir été modifié ( les accentués sont remplacés par des variantes d’aspect hiéroglyphique. )

La page d’accueil n’est pas SPIP.
Vous pouvez voir certains messages d’ injure dans l’espace public : http://lespoulbots.fr en ouvrant une des pages proposées sauf le bandeau inférieur (liens externes)
========================================

Voici quelques messages d’erreurs (liste non-exhaustive) copiées de l’espace privé :

Strict Standards : strtotime() : It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected ’Europe/Berlin’ for ’CEST/2.0/DST’ instead in /homepages/36/d358335603/htdocs/spip/ecrire/inc/auth.php on line 294

Strict Standards : date() : It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected ’Europe/Berlin’ for ’CEST/2.0/DST’ instead in /homepages/36/d358335603/htdocs/spip/ecrire/inc/auth.php on line 297

Strict Standards : date() : It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected ’Europe/Berlin’ for ’CEST/2.0/DST’ instead in /homepages/36/d358335603/htdocs/spip/ecrire/public/parametrer.php on line 103

Strict Standards : date() : It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected ’Europe/Berlin’ for ’CEST/2.0/DST’ instead in /homepages/36/d358335603/htdocs/spip/ecrire/public/parametrer.php on line 108

Strict Standards : strtotime() : It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected ’Europe/Berlin’ for ’CEST/2.0/DST’ instead in /homepages/36/d358335603/htdocs/spip/ecrire/inc/filtres.php on line 715

Strict Standards : strtotime() : It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected ’Europe/Berlin’ for ’CEST/2.0/DST’ instead in /homepages/36/d358335603/htdocs/spip/ecrire/inc/filtres.php on line 715

Strict Standards : date() : It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected ’Europe/Berlin’ for ’CEST/2.0/DST’ instead in /homepages/36/d358335603/htdocs/spip/ecrire/inc/filtres.php on line 715

========================================
En conclusion, les problèmes semblent liés au passage à php 5.4

========================================

Voici les paramètres de php.ini donnés par 1&1 :
Option de configuration PHP 5.6 (beta) PHP 5.5 PHP 5.4 PHP 5.2
allow_call_time_pass_reference Non pris en charge Non pris en charge Non pris en charge Activé
allow_url_fopen Activé Activé Activé Désactivé
display_errors Activé Activé  Activé Activé
error_reporting 22517 22517 22517 Aucune valeur
html_errors Activé Activé Activé Activé
include_path . :/usr/lib/php5.6 . :/usr/lib/php5.5 . :/usr/lib/php5.4 . :/usr/lib/php5
log_error Désactivé Désactivé  Désactivé Désactivé
magic_quotes_runtime Non pris en charge Non pris en charge Non pris en charge Désactivé
magic_quotes_sybase Non pris en charge Non pris en charge Non pris en charge Désactivé
max_execution_time 50000 50000 50000 50000
memory_limit 120M 120M 90M 90M
post_max_size 8M 8M 8M 8M
precision 14 14 14 14
safe_mode Désactivé Désactivé Désactivé Désactivé
short_open_tag Activé Activé Activé Activé
upload_max_filesize 40M 40M 40M 40M
zend framework v2.5.0 v2.5.0 v2.4.0 v2.2.0