ERROR on view group page

http://deciphagear.com/dolphin/grp.php?action=group&ID=1


no
Warning: Cannot modify header information - headers already sent by (output started at /home/.manet/deciphagear/deciphagear.com/dolphin/inc/classes/BxDolGroups.php:426) in /home/.manet/deciphagear/deciphagear.com/dolphin/inc/design.inc.php on line 495

What can I do to fix this?

Quote · 7 Jul 2008

Open

inc/classes/BxDolGroups.php

line 426

are someone edit this your file?

look at this line .. are here any print or echo commands?

if yes .. try to comment it ..

you get this warning just because was called command echo/print before main generation

Quote · 7 Jul 2008

This is what the original was... I made some modifications about a week ago though I don't remember what they were lol... :

$caption_item = '<div class="caption_item">';
if ( $this->isGroupMember( $iMemberID, $iGroupID ) )
$caption_item .= "<a href=\"{$site['groups']}orca/forum/{$sForumUri}-0.htm#action=goto&amp;new_topic={$sForumUri}\">{$sPostNewTopic}</a> | ";
$caption_item .= "<a href=\"{$site['groups']}orca/forum/{$sForumUri}-0.htm\">{$sViewAllForum}</a>";
LINE 426: $caption_item .= '</div>';

return DesignBoxContent( _t("_Group forum"), $sRet, 1, $caption_item );
}

______________________________________

My file:

curl_close($ch);

// display file
LINE 426: echo $file_contents;


$sViewAllForum = _t( '_View all topics' );
$sPostNewTopic = _t( '_Post a new topic' );

$caption_item = '<div class="caption_item">';
if ( $this->isGroupMember( $iMemberID, $iGroupID ) )
$caption_item .= "<a href=\"{$site['groups']}orca/forum/{$sForumUri}-0.htm#action=goto&amp;new_topic={$sForumUri}\">{$sPostNewTopic}</a> | ";
$caption_item .= "<a href=\"{$site['groups']}orca/forum/{$sForumUri}-0.htm\">{$sViewAllForum}</a>";
$caption_item .= '</div>';

return DesignBoxContent( _t("_Group forum"), $sRet, 1, $caption_item );
}

____________

So I should comment out     echo $file_contents; ?

Like, <!--echo $file_contents;-->

And that should do it?

Quote · 7 Jul 2008

Yes, just comment this echo :)

//echo $file_contents;

Quote · 7 Jul 2008

Parse error: syntax error, unexpected '<' in /home/.manet/deciphagear/deciphagear.com/dolphin/inc/classes/BxDolGroups.php on line 426

Did I do it wrong, I typed:

<!--echo $file_contents;-->

Quote · 7 Jul 2008

Oops..

Nevermind I FIXED!

//echo $file_contents;

instead of

<!--echo $file_contents;-->

:)

Quote · 7 Jul 2008
 
 
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.