introduction screenshots faq forum blog modules components download
Please use the search function and/or read the FAQ first.

Go to Topic: PreviousNext
Go to: Message ListNew TopicSearchLog InPrint View

Errors display



Posted by: websan
December 16, 2009 01:09PM
Bonjour;

Je viens d'installer EasyPhp et je commence un développement de site internet.
Je voudrais voir s'afficher les erreurs php.
Dans php.ini tout semble ok, pourtant aucune erreur ne s'affiche à l'écran.
Par exemple si je change le chemin d'un include, il n'affiche pas d'erreur. Si la session n'a pas démarré, il n'affiche pas d'erreur non plus.
Quelqu'un a une idée ?
Merci

Hello
I have installed EasyPhp and I start to develop a website.
I'd like to display php errors.
In the php.ini file, everything seems setup correclty, but I see no errors on screen. For instance, if I change the path to an include file, it shows no error nor if the session didn't start.
Any idea ?
thank you.
Options: ReplyQuote
Posted by: Amour
December 16, 2009 02:30PM
Comment est le paramètre "error_reporting" du php.ini ?
Options: ReplyQuote
Posted by: websan
December 17, 2009 08:19AM
Bonjour

error_reporting = E_ALL

J'ai remarque qu'a priori le php n'était pas interprété car <? echo "hello"; ?>, ne marche pas.

merci pour l'aide.
PS : j'ai change document_root par : \\ddwebsan\www\2009\
Options: ReplyQuote
Posted by: websan
December 17, 2009 08:28AM
J'ai trouvé le short_open_tag étati sur off dans le php.ini

Les erreurs s'affichent maintenant

Merci encore
Options: ReplyQuote
Posted by: Amour
December 17, 2009 10:43AM
Très mauvaise idée...

Il faut bien laisser short_open_tag à off et utiliser les tags complets :

au lieu de <? : <?php

et la fin reste identique : ?>

PS : voici un sujet expliquant le problème, datant de longues années :
[blog.wampserver.com]
Options: ReplyQuote


Go to: Message ListSearchLog In
Your Name: 
Your Email: 
Subject: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.