Error after trying to make admin as friend

I just tried to make admin friend everyone by modifying the file BxDolJoinProcessor.php 
when I tried to join I received the error: 
Warning: Cannot modify header information - headers already sent by (output started at /home/ahealthy/public_html/dolph/inc/classes/BxDolJoinProcessor.php:651) in /home/ahealthy/public_html/dolph/inc/design.inc.php on line 133

I put the file back to the original & still have the error. i hadnt tried the join button before making the mod, but it would be quite a coincidence if the error was there before i messed with it. Any ideas?

Quote · 14 Nov 2012

BTW..I did clear out cookie with no change to the issue.

Quote · 14 Nov 2012

check if there are extra line in file after ?> in bottom

so much to do....
Quote · 14 Nov 2012

There was 2 extra lines at end of file. I removed them & now it works.

Thanks you for helping. I would never have figured out that one.

Can you explain what the problem was.

Quote · 14 Nov 2012

The problem is because there are some content(blank lines) that are send to browser before the header is send.

so much to do....
Quote · 14 Nov 2012

I have encountered this with Dolphin files.  You open the file and don't make any changes to the end of the file; save it out and get the headers already sent error.  Open the file back up and bam, there are blank spaces or lines at the end of the file.  Is it that for some strange reason opening the file inserts these lines; I don't get this every time I open files?  Or is it that the lines existed in the file before I open it and for some strange reason did not cause the headers sent error until I opened and saved the file?  I am just curious as to why this happens.

Geeks, making the world a better place
Quote · 14 Nov 2012

not sure but might occur due to ftp transfer in ASCII mode but again i am not very sure.

so much to do....
Quote · 14 Nov 2012

It looks like is is related to Dolphin 7.0.

In Dolphin 7.1 we removed every closing php tag at the end of file to prevent problems like in this thread.

Rules → http://www.boonex.com/terms
Quote · 15 Nov 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.