Problème avec Wampserver

Nichelvi Messages postés 206 Statut Membre -  
 skynof -
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. kartnia Messages postés 28 Date d'inscription   Statut Membre Dernière intervention   5
     
    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.
    2
  2. Nichelvi Messages postés 206 Statut Membre 2
     
    SVP où trouver le fichier php.ini
    0
  3. kartnia Messages postés 28 Date d'inscription   Statut Membre Dernière intervention   5
     
    cliquez sur l'icône wamp (barre des taches) > php, et php.ini
    0
  4. Nichelvi Messages postés 206 Statut Membre 2
     
    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?
    0
  5. Vous n’avez pas trouvé la réponse que vous recherchez ?

    Posez votre question
  6. kartnia Messages postés 28 Date d'inscription   Statut Membre Dernière intervention   5
     
    Donc après : "error_reporting"
    Il faut mettre " = E_ALL & ~E_NOTICE"
    qui donne au final : "error_reporting = E_ALL & ~E_NOTICE"
    0
  7. Nichelvi Messages postés 206 Statut Membre 2
     
    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
    0
  8. kartnia Messages postés 28 Date d'inscription   Statut Membre Dernière intervention   5
     
    Il faut redémarrer wamp.
    0
  9. Nichelvi Messages postés 206 Statut Membre 2
     
    Malheureusement c'est toujours le même problème
    0
  10. kartnia Messages postés 28 Date d'inscription   Statut Membre Dernière intervention   5
     
    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 =' ';
    0
    1. skynof
       
      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 :)
      0