SimplePortal

Support => English Support => Topic started by: neilbombd on February 27, 2013, 01:43:14 PM

Title: "Warning: Cannot modify header information - headers already sent"
Post by: neilbombd on February 27, 2013, 01:43:14 PM
I've just noticed that I've got this infuriating message on my homepage now.  Not sure how long it's been there, but not long - I am uptodate on the latest SMF patches and have the latest Simple Portal installed.  It seems like it's only on the front page, the other portal pages are fine, and this message isn't appearing on the forum pages either:

Quote
Warning: Cannot modify header information - headers already sent by (output started at /home/cookd/public_html/index.php:2) in /home/cookd/public_html/forums/Sources/Subs.php on line 3533

Warning: Cannot modify header information - headers already sent by (output started at /home/cookd/public_html/index.php:2) in /home/cookd/public_html/forums/Sources/Subs.php on line 3534

Warning: Cannot modify header information - headers already sent by (output started at /home/cookd/public_html/index.php:2) in /home/cookd/public_html/forums/Sources/Subs.php on line 3540

Warning: Cannot modify header information - headers already sent by (output started at /home/cookd/public_html/index.php:2) in /home/cookd/public_html/forums/Sources/Subs.php on line 3543

Any idea how to get rid of this?  I thought it might have started after the latest SMF patch, but can't see anyone else having this issue.

The site is at www.cookdandbombd.co.uk if you want to see it.
Title: Re: "Warning: Cannot modify header information - headers already sent"
Post by: phantomm on February 27, 2013, 02:02:54 PM
did you add any SSI functions in blocks or SMF code?
Title: Re: "Warning: Cannot modify header information - headers already sent"
Post by: neilbombd on February 27, 2013, 03:31:39 PM
Nope, and there's been no changes to the front page for ages.
Title: Re: "Warning: Cannot modify header information - headers already sent"
Post by: Chen Zhen on February 27, 2013, 10:22:31 PM

neilbombd,

 Ensure that the paths in your Settings.php file are correct.
 

Title: Re: "Warning: Cannot modify header information - headers already sent"
Post by: neilbombd on March 04, 2013, 10:07:51 AM

neilbombd,

 Ensure that the paths in your Settings.php file are correct.

They're all fine.

Edit: Got it - rogue space inserted itself in the index :-/
SimplePortal 2.3.8 © 2008-2024, SimplePortal