Blog - New post error

Hello,

I'm getting the following error when creating a new post in a blog:

BlogsNotice: No file uploaded in Unknown on line 0

Warning: Cannot modify header information - headers already sent in /home/www/website/inc/design.inc.php on line 487

Line 487 is: header( 'Content-type: text/html; charset=utf-8' );

I checked the permissions and all seems ok.

Thanks for your help!

Quote · 14 May 2009

Edit any files lately?

The "headers already sent" error is usually caused by having white space before or after the opening and closing PHP tags (<?php . . . ?>).

Quote · 14 May 2009

What is:

BlogsNotice

?

we haven`t such class for blogs. Only BxDolBlogs.php

are your blogs was modified? - describe all problem more detailed please

Quote · 14 May 2009

Hello Andrey and sgt_pfk,

Thank you so much for your quick answer. SGT, based on what you advised, I checked for every possible space but didn't find any. But your assumption is not totally wrong, in fact the problem (I think) might come from the code not being "fully compliant" with my version of PHP (the latest though). I had php error turned on (E_ALL and E_NOTICE), E_NOTICE returned an error as I wasn't uploading a picture => Notice: No file uploaded in Unknown on line 0

(and not BlogsNotice... sorry, my mistake Andrey:)

This error placed at the top as html, most likely caused the second error:

Warning: Cannot modify header information - headers already sent in /home/www/website/inc/design.inc.php on line 487

Turning off error logging in php.ini did the trick.

Again, thanks to both of you, I really appreciated your help!

Quote · 14 May 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.