Re: errors not reported
| From: | Sdav | Date: | Thu, 10 Feb 2005 13:02:38 +0000 |
| Subject: | Re: errors not reported | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-208430@lists.php.net to get a copy of this message | ||
u may try to use ini_set.
prepend it to the file and see what happens:
ini_set('display_errors', 1);
ini_set('error_reporting',E_ALL);
may not solve the problem but is a good start to see where u are.
ini_set got a good documentation about error displaying on the website,
what it does is overwrite .ini values on realtime.
and it is on
http://ar2.php.net/manual/en/ref.errorfunc.php#ini.display-errors
Sdav
"D_c" <d3ntaku@gmail.com> wrote in message
news:c3d2e587050209211936350d74@mail.gmail.com...
Hiya -
My parse errors have disappeared from my development environment. Now
whenever php cannot run a page, it just stops with a blank page in the
browser and no clues.
Running the same code on another server will give a "fatal error class
not found" etc type output to the browser.
Can someone help me with what other places error reporting (esp parse
errors) is configured?
What i did:
check phpinfo()
find which php.ini is being used
edited that to set all error settings I could find to on.
call error_reporting(E_ALL) in my scripts.
but all to no avail! Gak!
Are there any other apache settings or other system variables to check?
/dc
_______________________________________________
David "DC" Collier
mobile business creator |????????????????
dc@pikkle.com
skype: d3ntaku
http://www.pikkle.com
+81 (0)90-7414-6107