Problème avec Wampserver
Nichelvi
Messages postés
206
Statut
Membre
-
skynof -
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
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
-
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. -
-
cliquez sur l'icône wamp (barre des taches) > php, et php.ini
-
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? -
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question -
Donc après : "error_reporting"
Il faut mettre " = E_ALL & ~E_NOTICE"
qui donne au final : "error_reporting = E_ALL & ~E_NOTICE" -
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 -
Il faut redémarrer wamp.
-
-
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 =' ';