php errors get display too short, how to get them full?
carsten888
7:34 am on Oct 22, 2010 (gmt 0)
On my development server, when there is an error, I get these short PHP error messages, that seem incomplete.
example:
PHP Fatal error: Call to a in C:\Users\car
"Call to a"? Useless for debugging.
How to get the full error displayed?
Matthew1980
8:45 am on Oct 22, 2010 (gmt 0)
Hi there carstoen888,
How are you setting them to display? and what level of error reporting have you go going on in the script?
Cheers, MRb
carsten888
10:43 am on Oct 25, 2010 (gmt 0)
error_reporting = E_ALL & ~E_DEPRECATED
Matthew1980
11:51 am on Oct 25, 2010 (gmt 0)
Hi there carsten888,
That error message generally means that the parser is looking for a function, but cant find it, when using error reporting I always set it within the script, as this supersedes whatever is defined within the context of the ini file.
But I agree, that error message does seem rather short...
Is there much content in that file, check through that file too see if there is an extraneous letter that is 'confusing' the parser, I have seen that before now.