Attached is a patch that enthusiastically debugs any
problem, no matter how minor. I wrote it to try and
trace a problem I was having with Apache segfaulting
with certain FoF pages (it turned out to be a problem
with my version of PHP). It's quite good at catching
uninitialised/misreferenced variables, though. To use,
just include_once (debug.php) in the file to watch.
Output goes to /tmp/foferr.log by default.
Debugger patch
Logged In: YES
user_id=1375948
Interesting.
We already set E_All error reporting if the FOF_PHP_DEBUG
constant is true. I'll see how this patch fits into what
debugging code we already have.