bbAntiSpam: Discuss how to stop web spam

The forum is retired.

bbAntiSpam Forum Index - Textual Confirmation - Header Error

Author Message
JohnRP
Guest





Posted: Fri Feb 16, 2007 5:06 pm    Post subject: Header Error  

Hi! First, let me thank you for the great tool. I've tried implementing it this morning, but I'm running into a small problem -

(I preface this with the requisite statement about how relatively "new" I am to php in general)

When I click "Register," I get the following in my browser:

Code:
<meta http-equiv="refresh" content="5;url=' . append_sid("index.$phpEx") . '">
Warning: Cannot modify header information - headers already sent by (output started at /home/gzeromu/public_html/arena/includes/usercp_register.php:7) in /home/gzeromu/public_html/arena/includes/page_header.php on line 483

Warning: Cannot modify header information - headers already sent by (output started at /home/gzeromu/public_html/arena/includes/usercp_register.php:7) in /home/gzeromu/public_html/arena/includes/page_header.php on line 485

Warning: Cannot modify header information - headers already sent by (output started at /home/gzeromu/public_html/arena/includes/usercp_register.php:7) in /home/gzeromu/public_html/arena/includes/page_header.php on line 486


It doesn't seem to like this line,

Code:
include($phpbb_root_path . 'includes/functions_tc.'.$phpEx);


..but I am not sure why. Any help would be greatly appreciated!
admin
Site Admin


Joined: 18 Apr 2006
Posts: 805
Location: Saint-Petersburg, Russia

Posted: Sat Feb 17, 2007 4:00 am    Post subject:  

Most likely, the text editor you used has corrupted the files a bit. Make sure that the file "includes/usercp_register.php"

* is not saved as unicode, and
* starts with "<?php", without any spaces before this string.
_________________
Oleg Parashchenko, bbAntiSpam
Do you love our tools? Please sponsor further development!

Ok.