Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: PHP :: warnings in logfile ? |
|
Author |
|
reidak
Joined: 07 Jul 2006 Posts: 12
|
Posted: Tue 15 Aug '06 9:30 Post subject: PHP :: warnings in logfile ? |
|
|
Why do I get warnings in Apache 2.2.2 with php4apache2.dll?
[php.ini]
error_reporting = E_ERROR
[httpd.conf]
Loglevel error
[error.log]
Warning 1: TIFFReadDirectory:\\...\xxx.tif: invalid TIFF directory; tags are not sorted in ascending order
Warning 1: \\...\xxx.tif:incorrect count for field "DateTime" (26, expecting 20); tag trimmed
If I use php.exe as CGI there are no warnings.
How can I disable these warnings?
Any help will be appreciated.
Thanks
reidak |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Wed 16 Aug '06 22:20 Post subject: |
|
|
To supress the warnings use:
error_reporting = E_ALL & ~E_NOTICE
Steffen
ps.
Maybe you have to correct the script which is causing these warnings. |
|
Back to top |
|
reidak
Joined: 07 Jul 2006 Posts: 12
|
Posted: Thu 17 Aug '06 16:48 Post subject: |
|
|
Thanks for your answer Steffen.
These warnings didn't come from Apache nor PHP,
they were from Mapserver and particularly libtiff.dll.
reidak |
|
Back to top |
|
|
|
|
|
|