johannes.jarolim.com/yapb-forum

Full Version: "Cannot Modify Header Information"
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

The plug-in looks very cool, but when I try to create a new post with an image, I get the following error:

Warning: Division by zero in /home/whosefau/public_html/photoblog/wp-content/plugins/yet-another-photoblog/lib/phpExifRW-1.1/exifReader.inc on line 846

Warning: Cannot modify header information - headers already sent by (output started at /home/whosefau/public_html/photoblog/wp-content/plugins/yet-another-photoblog/lib/phpExifRW-1.1/exifReader.inc:846) in /home/whosefau/public_html/photoblog/wp-includes/pluggable-functions.php on line 269

I searched the forum and couldn't find any information about this error. I followed the download and install instructions, including setting the permissions.

Please help!

Thanks.
danhw Wrote:Warning: Division by zero in /home/whosefau/public_html/photoblog/wp-content/plugins/yet-another-photoblog/lib/phpExifRW-1.1/exifReader.inc on line 846

Warning: Cannot modify header information - headers already sent by (output started at /home/whosefau/public_html/photoblog/wp-content/plugins/yet-another-photoblog/lib/phpExifRW-1.1/exifReader.inc:846) in /home/whosefau/public_html/photoblog/wp-includes/pluggable-functions.php on line 269

Looks like the used EXIF-Library has Problems with your image (Or your systems configuration). Could you please try another photo just for checking that?

Greets from Salzburg,

Johannes
Johannes Wrote:Looks like the used EXIF-Library has Problems with your image (Or your systems configuration). Could you please try another photo just for checking that?

I just tried with a photo from another camera, and it posted just fine.

Is this something that's going to affect all photos taken with the same camera, or is it just that one picture? Is there any way I can modify the file to make it post okay?

Thanks!
Replying to myself here...I found a tool that would remove EXIF information from the picture, and without the EXIF, it posted without the error. I'd prefer not to have to do that for every picture, though--is there a better solution?
Replying to myself again, it looks like if I uncheck "Post date from image exif data", the original image, without the exif data stripped, posts okay. So unless the problem pops up with a future picture, I'm going to consider this one solved.
Hi Danhw -

That's a topic although. The used EXIF library is a little bit old right now and doesn't seem to get developed further. The last changelog item was writen in may, 2005.

I'll search for a newer library and look what i can do to support newer cameras.

Greets from Salzburg,

Johannes
Johannes Wrote:Hi Danhw -

That's a topic although. The used EXIF library is a little bit old right now and doesn't seem to get developed further. The last changelog item was writen in may, 2005.

I'll search for a newer library and look what i can do to support newer cameras.

Cool. It's a great tool, and I'm glad you're keeping it up-to-date.

Thanks again for your help.
Reference URL's