Problème avec Wampserver

Bonjour,
J'ai installé WampServer 2 pour la conception de mes site joomla en local, mais lorsque j'affiche un site j'ai des message qui s'affiche sur mes sites:

"# Notice: Undefined variable: title in C:\wamp\www\bopacher\templates\themza_j15_15\functions.php on line 172
Notice: Undefined variable: title in C:\wamp\www\bopacher\templates\themza_j15_15\functions.php on line 176
#
Notice: Undefined variable: title in C:\wamp\www\bopacher\templates\themza_j15_15\functions.php on line 172
*
Notice: Undefined variable: title in C:\wamp\www\bopacher\templates\themza_j15_15\functions.php on line 172
#
Notice: Undefined variable: title in C:\wamp\www\bopacher\templates\themza_j15_15\functions.php on line 172
#
Notice: Undefined variable: title in C:\wamp\www\bopacher\templates\themza_j15_15\functions.php on line 172
#
Notice: Undefined variable: title in C:\wamp\www\bopacher\templates\themza_j15_15\functions.php on line 172
#
Notice: Undefined variable: title in C:\wamp\www\bopacher\templates\themza_j15_15\functions.php on line 172
Notice: Undefined variable: title in C:\wamp\www\bopacher\templates\themza_j15_15\functions.php on line 172
#
Notice: Undefined variable: title in C:\wamp\www\bopacher\templates\themza_j15_15\functions.php on line 172

Comment supprimer ces message là?

Merci de m'aider
Configuration: Windows Vista
Firefox 3.5.3

9 réponses

  1. Bonjour,
    Il faut ajouter "error_reporting = E_ALL & ~E_NOTICE" dans le fichier php.ini
    Ou il faut tout simplement enlever le ";" devant celui-ci.
    Cette ligne peut ce trouver à la ligne 342.
    1. Voici ce que j'ai trouvé dans le fichier
      error_reporting
      ; Default Value: E_ALL & ~E_NOTICE
      ; Development Value: E_ALL | E_STRICT
      ; Production Value: E_ALL & ~E_DEPRECATED

      Qu'es ce que je dois changer?
      1. Donc après : "error_reporting"
        Il faut mettre " = E_ALL & ~E_NOTICE"
        qui donne au final : "error_reporting = E_ALL & ~E_NOTICE"
        1. Voici ce que sa donne mais sa ne change rien.

          error_reporting = E_ALL & ~E_NOTICE
          ; Default Value: E_ALL & ~E_NOTICE
          ; Development Value: E_ALL | E_STRICT
          ; Production Value: E_ALL & ~E_DEPRECATED
          1. Normalement cette solution devrait marcher, vérifie qu'il n'y ai pas plusieurs "error_reporting =....".
            Sinon tu peux mettre toutes tes variables vides au début du php.
            exemple $title =' ';
            1. Salut

              En fait si ça ne fonctionne pas, sans te vexer :p c'est juste dut à une erreur sur ta ligne :

              error_reporting = E_ALL & ~E_NOTICE

              en fait, il faut mettre

              error_reporting = E_ALL & E_NOTICE

              Voila moi ça fonctionne avec wamp cette manip :)