MyBB Community Forums

Full Version: weird problem: I can't remove this warning
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Before answering please note that : I have tried everything said in support forums about this topic and I have done all the research but still can't solve this issue.
I am using mybb 1.6.4. Recently I changed the board URL. And since then this problem has started. I get this message in Admin CP and every where else:
Quote:Warning [2] Cannot modify header information - headers already sent by (output started at /home/evolut35/public_html/ - Line: 51 - File: admin/index.php PHP 5.2.17 (Linux)
I know you will say that there is a blank line or space at the start of settings.php file but I have removed windows notepad and replaced it with notepad2. I have removed all white spaces from the start and end. Here is my settings.php file attached. [attachment=23696]
My board URL is
try moving ?> from the last line to a new line !!
$settings['mytubepid'] = "4";?>
Edit : not seen Yaldaram's response Smile

:oops: AND line 51 is mixes with 2 statements !!
$settings['cpstyle'] = "";$settings['cookiedomain'] = "";

it should be :
$settings['cpstyle'] = "";
$settings['cookiedomain'] = "";
Try the attached file;
@Yaldarm:Thanks for help. But doesn't work. Still the same.
What did you change ?
@Randani: Nopes doesn't work.
Please help guys.
Try this instead;
Great. Yaldarm you are a genius.Works like a charm. What did you change?
(08-06-2011, 08:26 AM)ahmar2 Wrote: [ -> ]What did you change?

There was one unknown character on line # 194.
Thanks Mate.