Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

php error


techb's Avatar
Member
0 0

When I have an error in my code, it doesn't give me an error message. All it does is load the page blank. I am using firefox as the browser to view my local scripts. When I used chrome it gave a general server side error (500 I think). Is there some configuration that must be done to give me some kinda of trace-back or something?


ghost's Avatar
0 0

Setting display_errors to on in the php.ini file might help.


ghost's Avatar
0 0

MoshBat wrote: Quick and easy way would be to shove error_reporting(E_ALL) at the top. And there should be some logs of that error, but as you neglected to mention anything specific, it's up to you to find where they're stored. Unless, as said, his display_errors is set to Off, in which case setting error_reporting won't do a thing for showing the errors when accessing with a browser, which is what he's trying to do.