je viens d'installer WampServer 2.0 afin de pouvoir créer mes sites avec CMS rapidement, sans devoir à chaque fois uploader mes fichiers chez l'hébergeur. ça fonctionne, mais! Je reçois toute une série de warnings. Savez-vous de quoi il s'agit? Je vous en mets quelques-uns ci-dessous:
Notice: Undefined variable: session_time_out in C:\wamp\www\fondation-jkb.ch\web\includes\application_top.php on line 19
Notice: Undefined index: mod in C:\wamp\www\fondation-jkb.ch\web\includes\application_top.php on line 27
Deprecated: Function session_is_registered() is deprecated in C:\wamp\www\fondation-jkb.ch\web\includes\application_top.php on line 33
Deprecated: Function session_is_registered() is deprecated in C:\wamp\www\fondation-jkb.ch\web\includes\functions\sessions.php on line 25
Notice: Undefined variable: language in C:\wamp\www\fondation-jkb.ch\web\includes\application_top.php on line 83
Notice: Undefined variable: rowUserQuery in C:\wamp\www\fondation-jkb.ch\web\includes\application_top.php on line 94
Notice: Undefined index: mod in C:\wamp\www\fondation-jkb.ch\web\includes\application_top.php on line 94
Notice: Undefined index: mod in C:\wamp\www\fondation-jkb.ch\web\includes\applications\index.php on line 33
Notice: Undefined index: mod in C:\wamp\www\fondation-jkb.ch\web\includes\applications\index.php on line 168
Notice: Undefined index: mod in C:\wamp\www\fondation-jkb.ch\web\includes\applications\index.php on line 579
Votre CMS comporte des variables non déclarées. Ce ne sont que des avertissements.
De plus, la fonction session_is_registered est OBSOLETE depuis PHP 5.3.0. Nous vous encourageons vivement à ne plus l'utiliser. Pour vérifier si une variable de session existe, il faut utiliser isset($_SESSION['ma_variable'])
Soit vous utilisez un CMS valide et bien écrit pour PHP 5.3.x, soit vous utilisez PHP branche 5.2.x