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 

smiley hack

 
Post new topic   Reply to topic    boardom Forum Index -> Hacks
View previous topic :: View next topic  
Author Message
paperxHEART



Joined: 03 Dec 2004
Posts: 4

PostPosted: Fri Dec 03, 2004 11:10 am    Post subject: smiley hack Reply with quote

I dont have config.php in my folders!

[EDIT] i get it now, it's b2config. [/EDIT]
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
paperxHEART



Joined: 03 Dec 2004
Posts: 4

PostPosted: Fri Dec 03, 2004 11:58 am    Post subject: Reply with quote

Warning: Cannot modify header information - headers already sent by (output started at /home/sharon/public_html/paperheart/b2config.php:321) in /home/sharon/public_html/paperheart/b2comments.post.php on line 122

Warning: Cannot modify header information - headers already sent by (output started at /home/sharon/public_html/paperheart/b2config.php:321) in /home/sharon/public_html/paperheart/b2comments.post.php on line 123

Warning: Cannot modify header information - headers already sent by (output started at /home/sharon/public_html/paperheart/b2config.php:321) in /home/sharon/public_html/paperheart/b2comments.post.php on line 124

Warning: Cannot modify header information - headers already sent by (output started at /home/sharon/public_html/paperheart/b2config.php:321) in /home/sharon/public_html/paperheart/b2comments.post.php on line 126

Warning: Cannot modify header information - headers already sent by (output started at /home/sharon/public_html/paperheart/b2config.php:321) in /home/sharon/public_html/paperheart/b2comments.post.php on line 127

Warning: Cannot modify header information - headers already sent by (output started at /home/sharon/public_html/paperheart/b2config.php:321) in /home/sharon/public_html/paperheart/b2comments.post.php on line 128

Warning: Cannot modify header information - headers already sent by (output started at /home/sharon/public_html/paperheart/b2config.php:321) in /home/sharon/public_html/paperheart/b2comments.post.php on line 129

Warning: Cannot modify header information - headers already sent by (output started at /home/sharon/public_html/paperheart/b2config.php:321) in /home/sharon/public_html/paperheart/b2comments.post.php on line 131


Why??
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Sigg3



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

PostPosted: Fri Dec 03, 2004 12:22 pm    Post subject: Reply with quote

remove empty spaces after the ending ?>
_________________
Sigg3.net - You know you're worth it! | b2 Cafelog Resource Center | Fight my BattleImp!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
paperxHEART



Joined: 03 Dec 2004
Posts: 4

PostPosted: Fri Dec 03, 2004 3:16 pm    Post subject: Reply with quote

where?
b2comment.php or b2comment.post.php?? thanks.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Sigg3



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

PostPosted: Fri Dec 03, 2004 3:46 pm    Post subject: Reply with quote

b2comments.post.php, but shouldn't be any empty spaces in other files either..

Uhm.. I guess there's a few empty breaks from line 122 and onwards:p

If there are no empty spaces/this doesn't work, paste your b2comments.post.php code here.
_________________
Sigg3.net - You know you're worth it! | b2 Cafelog Resource Center | Fight my BattleImp!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
stevem



Joined: 15 Mar 2003
Posts: 368

PostPosted: Fri Dec 03, 2004 5:56 pm    Post subject: Reply with quote

It's in b2config.php that you need to remove blank lines and spaces after the final ?>

What is happening is that these blank lines are sent as the header for the page and then PHP gets confused when you try to send the real headers in b2comments.post.php.

Who said PHP is too stupid to realise what it has done Smile ?
Back to top
View user's profile Send private message
paperxHEART



Joined: 03 Dec 2004
Posts: 4

PostPosted: Sat Dec 04, 2004 4:54 am    Post subject: Reply with quote

Ok, thanks! the problem is solved!
But on b2edit, I cant click on the emoticons to post. I have to customly type the name out. Is that the case??
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
stevem



Joined: 15 Mar 2003
Posts: 368

PostPosted: Sat Dec 04, 2004 12:06 pm    Post subject: Reply with quote

That uses JavaScript to put the smiley in. Do you have JavaScript turned on and, if so, does it give an error when you click on a smiley?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> Hacks 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