logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Coding & Scripting Corner View previous topic :: View next topic
Reply to topic   Topic: PHP :: warnings in logfile ?
Author
reidak



Joined: 07 Jul 2006
Posts: 12

PostPosted: Tue 15 Aug '06 9:30    Post subject: PHP :: warnings in logfile ? Reply with quote

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: 3049
Location: Hilversum, NL, EU

PostPosted: Wed 16 Aug '06 22:20    Post subject: Reply with quote

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

PostPosted: Thu 17 Aug '06 16:48    Post subject: Reply with quote

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


Reply to topic   Topic: PHP :: warnings in logfile ? View previous topic :: View next topic
Post new topic   Forum Index -> Coding & Scripting Corner