boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

A confusing issue with headers

 
Post new topic   Reply to topic    boardom Forum Index -> How to ?
View previous topic :: View next topic  
Author Message
DruidX



Joined: 22 Jul 2004
Posts: 4
Location: UK

PostPosted: Mon Oct 11, 2004 1:12 pm    Post subject: A confusing issue with headers Reply with quote

I recently added the smilies hack to my blog, doing everything as the readme said to, then I altered a few things in the config file to let me use the smilies, and I thought everything was fine.

Untill I came to update my blog. Now eveytime I try to update or edit a post it throws up this:
Quote:
Warning: Cannot modify header information - headers already sent by (output started at /home/druidxc/public_html/blog/b2config.php:356) in /home/druidxc/public_html/blog/b2edit.php on line 191
I have no idear what it means, so I ignored it as b2 still seemed to update/ edit what I wanted it to.

However, I changed somthing to do with the rss feed in the config file and wanted to test it, so I duly went to look at my rss file [which had been working fine] to find it was saying this:
Quote:
XML Parsing Error: xml processing instruction not at start of external entity
Location: http://druidx.co.uk/blog/b2rss.php
Line Number 4, Column 1:
Line 4 says 'header("Content-type: text/xml");'.

Some how I don't think this is a coincidence. So my question to you is: What did I do wrong? and how can I fix this 'headers' problem? and what does it all mean anyway?

Thanks in advance.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Sigg3



Joined: 03 Jul 2003
Posts: 626
Location: Oslo, Norway

PostPosted: Tue Oct 12, 2004 11:11 am    Post subject: Reply with quote

I think you've two, seperate problems.

The "header already sent by" error is pretty common.
Look, a search feature:
http://cafelog.com/board/viewtopic.php?t=5743&highlight=headers+already+sent

[quote=stevem]Remove any spaces or blank lines after ?> at the end of b2config.php[/quote]
I'm not into the rss feed.. What did you change?
_________________
Sigg3 dot net - because you're worth it! | b2 Cafelog Resource Center
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
DruidX



Joined: 22 Jul 2004
Posts: 4
Location: UK

PostPosted: Tue Oct 12, 2004 11:45 am    Post subject: Reply with quote

Sigg3 wrote:
The "header already sent by" error is pretty common.
Look, a search feature:
http://cafelog.com/board/viewtopic.php?t=5743&highlight=headers+already+sent
Heh, sorry. I didn't know that it was a common problem. I guess I should have realised though, sorry. But it seems that getting rid of the spaces at the end of the configure file has fixed everything, even the rss feed. Thanks for helping the dumb little n00b Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Sigg3



Joined: 03 Jul 2003
Posts: 626
Location: Oslo, Norway

PostPosted: Tue Oct 12, 2004 3:00 pm    Post subject: Reply with quote

I'm ubern00b myself, but I resolve most issues by browsing the forum:)
_________________
Sigg3 dot net - because you're worth it! | b2 Cafelog Resource Center
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> How to ? All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group