Warning: Cannot modify header information - 6.0.0004

zak2008 posted 18th of February 2008 in Community Voice. 6 comments.
I just hosted by site on hostforweb once again after running into a problem. I now have the following error on top of the home page and the page is not centered either.

Warning: Cannot modify header information - headers already sent by (output started at /home/ethiomys/public_html/inc/menu.inc.php:1) in /home/ethiomys/public_html/inc/design.inc.php on line 667

Can someone help pls.

Thx,
Zak
 
Comments
·Oldest
·Top
Please login to post a comment.
lalakis
Hi Zak,
I had the same problem.
Make sure that menu.inc.php and design.inc.php have been saved in ansi and not in utf8
Hello Gentlemen,

Here is the solution.

Open /inc/design.inc.php and comment this line (approx line 667):

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

like this:

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

Dotnet.
zak2008
Dotnet...you area life saver.
Lalakis...I didn't try your solution but I thank you for your help too.
In design.inc.php I did not found like which is given above you header('Content-type:text/html;charset=utf-8"); plz give the suggetion in detailed if I hope your solution will help full to me
zak2008
Somu1...do a key word search, (like utf-8) in the file and should be able to locate that line and comment it out by adding // infront of it.
@zak2008

You are welcome!

@somu1

Yep. you can find the line by searching into your design.inc.php as suggested by zak2008.

Cheers to yall.
 
 
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.
PET:0.11587595939636