FreePgs.com Forum

FreePgs Related => Support Requests => Topic started by: megawatt on November 04, 2006, 04:09:10 AM

Title: Error after posting
Post by: megawatt on November 04, 2006, 04:09:10 AM
I get this error message immediately after posting in my phpBB forum just before being re-directed.

QuoteWarning: Cannot modify header information - headers already sent in /var/www/vhosts/mymy.org/httpdocs/posting.php on line 750

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/mymy.org/httpdocs/posting.php:750) in /var/www/vhosts/mymy.org/httpdocs/includes/page_header.php on line 634

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/mymy.org/httpdocs/posting.php:750) in /var/www/vhosts/mymy.org/httpdocs/includes/page_header.php on line 636

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/mymy.org/httpdocs/posting.php:750) in /var/www/vhosts/mymy.org/httpdocs/includes/page_header.php on line 637

Any help here will be much appreciated. Thanks.
Title: Re: Error after posting
Post by: sixthcrusifix on November 04, 2006, 09:00:30 AM
Quote from: megawatt on November 04, 2006, 04:09:10 AM
I get this error message immediately after posting in my phpBB forum just before being re-directed.

QuoteWarning: Cannot modify header information - headers already sent in /var/www/vhosts/mymy.org/httpdocs/posting.php on line 750

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/mymy.org/httpdocs/posting.php:750) in /var/www/vhosts/mymy.org/httpdocs/includes/page_header.php on line 634

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/mymy.org/httpdocs/posting.php:750) in /var/www/vhosts/mymy.org/httpdocs/includes/page_header.php on line 636

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/mymy.org/httpdocs/posting.php:750) in /var/www/vhosts/mymy.org/httpdocs/includes/page_header.php on line 637

Any help here will be much appreciated. Thanks.


Hmmm It seems that somewhere there is probably a

Quote
header("blahblah");

And the headers have already been sent by another one or by some HTML. I have no idea why though.
Title: Re: Error after posting
Post by: brainiac744 on November 04, 2006, 01:55:49 PM
Check posting.php and make sure that there isn't any "white space" in it after or before the <?php and ?> tags (I would guess that it's after based on the error)
Title: Re: Error after posting
Post by: megawatt on November 05, 2006, 12:08:27 AM
Have done that. Does not seem to have any white space or extra lines in that file. Hmm...
Title: Re: Error after posting
Post by: brainiac744 on November 06, 2006, 04:05:38 AM
Well, if there's no extra white space then my guess would be that something is being echoed in that file, which is odd. Have you editted either posting.php or page_header.php? If so, what changes did you make?
Title: Re: Error after posting
Post by: megawatt on November 06, 2006, 09:25:35 AM
My forum is highly hacked so I dont really know which modification could have caused this problem. This error only shows when postings are done from a specific forum, that's the AI's forum (Forum Bot). I have checked all files related to that hack but I just cant find any problem with white space. I have also re-uploaded the files.
Title: Re: Error after posting
Post by: brainiac744 on November 06, 2006, 11:43:52 AM
Well, I'm at a loss then. You might be able to find an update or get more help if you go to that specific hack's website (if there is one).