Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

no error reporting 1

Status
Not open for further replies.

iamregistered

Programmer
Oct 3, 2006
27
SE
I am building a web-page in php but there is no error reported, even when I type them on purpose.
Is there a setting in php.ini file that is making this, or is it my apache server that is malfuntioning?

If I don't get error reports I am unable to find the problem and fix it.
 
yes.
error_reporting and display_errors
 
I have set it to "error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR" which was suposed to display all error but still doesn't

I have php v. 4.4.4 is there any known errors known to this version?
 
try
Code:
error_reporting(E_ALL);
and make sure that display_errors is set to on, otherwise ... it won't display errors!
 
then you probably were not getting errors, but warnings and notices instead. i.e. flaws that php forgives you for!
 
No, i got nothing. It only resulted in a blank page. But now it's working fine =)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top