Cannot modify header

Hi

I finally upload all the missing files in my site like photos and back up  the hole site

 

but now everything I login or lg out I get this

 

Lgoin in

2ef81lv.png

 

 

 

when I log out

nwn7zp.png

 

any idea wat is wrong or i'm missing something in my site everything is back on the site like before but for some reason I get these ugly messages evrytime I login or log out

 

Thank's

Post Reply - if you going to help - No for - bla bla bla bla
Quote · 21 Nov 2010

I check all the space to see if I see any space

 

and they all fine yes like the default for some reason I don't know why I keep getting this

 

I add the deafult from new download Dolphin 7.3 but still giving me the same problem

 

I clean my caches and cache_public but still no luck

can some one tell me wat is wrong

 

Thank's

 

Post Reply - if you going to help - No for - bla bla bla bla
Quote · 21 Nov 2010

Do you have a whitespace before the opening tag?

Give me something to believe in...
Quote · 21 Nov 2010

Hi I had this happen before to me as well. Go to that location that is specified in that file and see if you are missing any closing of your parenthesis/brackets and etc.  I noticed you said below that you checked for whitespaces but go to the end of each line and hit delete and make sure there are no whitespaces there.  When I had this error I found that I accidentally updated my login.php file and added an extra line within the file.  Try these things and let us know if you find anything.

Cheers,



2ef81lv.png

Quote · 21 Nov 2010

This is the code from profiles.inc.php

466.    setcookie("memberID", $iId, $iCookieTime, $sPath, $sHost);

467. $_COOKIE['memberID'] = $iId;

468.    setcookie("memberPassword", $sPassword, $iCookieTime, $sPath, $sHost, false, true /* http only */);

469. $_COOKIE['memberPassword'] = $sPassword;

470.

471.    db_res("UPDATE `Profiles` SET `DateLastLogin`=NOW(), `DateLastNav`=NOW() WHERE `ID`='" . $iId . "'");

472.    createUserDataFile($iId);

473.

474.    require_once(BX_DIRECTORY_PATH_CLASSES . 'BxDolAlerts.php');

475.    $oZ = new BxDolAlerts('profile', 'login',  $iId);

476.   $oZ->alert();

477.

478.    return getProfileInfo($iId);

479.}

480.function bx_logout($bNotify = true) {

481.  if($bNotify && isMember()) {

482.        require_once(BX_DIRECTORY_PATH_CLASSES . 'BxDolAlerts.php');

483.        $oZ = new BxDolAlerts('profile', 'logout', (int)$_COOKIE['memberID']);

484.        $oZ->alert();

485.    }

 

 

-----------------------------------------------------------------

This is the code from utils.inc.php


293.function ConstructHiddenSubValues($Name, $Value) {

294. if (is_array($Value)) {

295. $Result = "";

296. foreach ($Value as $KeyName => $SubValue) {

297. $Result .= ConstructHiddenSubValues("{$Name}[{$KeyName}]", $SubValue);

298. }

299. } else

Do you guys see anything wrong here

Thank's

 




Post Reply - if you going to help - No for - bla bla bla bla
Quote · 22 Nov 2010

 

It'd maybe help if you didn't post an excerpt that included none of the mentioned lines in the error message you posted.

so you saying these are not the lines can you please help me with this this is driving me nuts every time I login or log out

 

Thank's

Post Reply - if you going to help - No for - bla bla bla bla
Quote · 22 Nov 2010

 

 

It'd maybe help if you didn't post an excerpt that included none of the mentioned lines in the error message you posted.

so you saying these are not the lines can you please help me with this this is driving me nuts every time I login or log out

 

Thank's

You're fast. I should give you a medal. I deleted that post because I got confused and matched up the wrong files. I only know of this error occurring when there is white space before and after a script's open and closing tags. I know you've checked the bottom of these files, but what about the top?

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 22 Nov 2010

OK I will check at the top you want me to check for the 3 files or wat

Post Reply - if you going to help - No for - bla bla bla bla
Quote · 22 Nov 2010

 

OK I will check at the top you want me to check for the 3 files or wat

All the files being called in the error messages you're receiving.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 22 Nov 2010

Cool here is for each fiels telling me about the error each files is from line 1 to line 36

Thank's 4 helping me in this man

 

 

Design.inc.php

-------------------------

 

<?php

 

/***************************************************************************

*                            Dolphin Smart Community Builder

*                              -----------------

*     begin                : Mon Mar 23 2006

*     copyright            : (C) 2006 BoonEx Group

*     website              : http://www.boonex.com/

* This file is part of Dolphin - Smart Community Builder

*

* Dolphin is free software. This work is licensed under a Creative Commons Attribution 3.0 License.

* http://creativecommons.org/licenses/by/3.0/

*

* Dolphin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;

* without even the implied warranty of  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

* See the Creative Commons Attribution 3.0 License for more details.

* You should have received a copy of the Creative Commons Attribution 3.0 License along with Dolphin,

* see license.txt file; if not, write to marketing@boonex.com

***************************************************************************/

 

require_once( 'header.inc.php' );

require_once( BX_DIRECTORY_PATH_INC . 'admin.inc.php' );

require_once( BX_DIRECTORY_PATH_INC . 'db.inc.php' );

require_once( BX_DIRECTORY_PATH_INC . 'languages.inc.php' );

require_once( BX_DIRECTORY_PATH_INC . 'prof.inc.php' );

require_once( BX_DIRECTORY_PATH_INC . 'banners.inc.php' );

require_once( BX_DIRECTORY_PATH_INC . 'membership_levels.inc.php' );

require_once( BX_DIRECTORY_PATH_INC . 'params.inc.php' );

require_once( BX_DIRECTORY_PATH_CLASSES . 'BxRSS.php');

 

require_once( BX_DIRECTORY_PATH_ROOT . "templates/tmpl_{$tmpl}/scripts/BxTemplMenu.php" );

require_once( BX_DIRECTORY_PATH_ROOT . "templates/tmpl_{$tmpl}/scripts/BxTemplFunctions.php" );

 

$db_color_index = 0;

 

$_page['js'] = 1;

-------------------------------------------
utils.inc.php

<?php
/***************************************************************************
*                            Dolphin Smart Community Builder
*                              -----------------
*     begin                : Mon Mar 23 2006
*     copyright            : (C) 2006 BoonEx Group
*     website              : http://www.boonex.com/
* This file is part of Dolphin - Smart Community Builder
*
* Dolphin is free software. This work is licensed under a Creative Commons Attribution 3.0 License.
*
* Dolphin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the Creative Commons Attribution 3.0 License for more details.
* You should have received a copy of the Creative Commons Attribution 3.0 License along with Dolphin,
* see license.txt file; if not, write to marketing@boonex.com
***************************************************************************/
require_once("header.inc.php");
bx_import('BxDolModule');
bx_import('BxDolEmailTemplates');
define('BX_DOL_LOCALE_TIME', 2);
define('BX_DOL_LOCALE_DATE_SHORT', 4);
define('BX_DOL_LOCALE_DATE', 5);
define('BX_DOL_LOCALE_PHP', 1);
define('BX_DOL_LOCALE_DB', 2);
define('BX_TAGS_NO_ACTION', 0); // default
define('BX_TAGS_STRIP', 1);
define('BX_TAGS_SPECIAL_CHARS', 8);
define('BX_TAGS_VALIDATE', 16);
----------------------------------------------
profiles.inc.php

<?php
/***************************************************************************
*                            Dolphin Smart Community Builder
*                              -----------------
*     begin                : Mon Mar 23 2006
*     copyright            : (C) 2006 BoonEx Group
*     website              : http://www.boonex.com/
* This file is part of Dolphin - Smart Community Builder
*
* Dolphin is free software. This work is licensed under a Creative Commons Attribution 3.0 License.
*
* Dolphin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the Creative Commons Attribution 3.0 License for more details.
* You should have received a copy of the Creative Commons Attribution 3.0 License along with Dolphin,
* see license.txt file; if not, write to marketing@boonex.com
***************************************************************************/
require_once( 'header.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'design.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'images.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'params.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'tags.inc.php' );
// user roles
define('BX_DOL_ROLE_GUEST',     0);
define('BX_DOL_ROLE_MEMBER',    1);
define('BX_DOL_ROLE_ADMIN',     2);
define('BX_DOL_ROLE_AFFILIATE', 4);
define('BX_DOL_ROLE_MODERATOR', 8);
/**
* The following functions are needed to check whether user is logged in or not, active or not and get his ID.
*/
Post Reply - if you going to help - No for - bla bla bla bla
Quote · 22 Nov 2010

This forum is messing with the formatting. Can you upload these files through the forum?

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 22 Nov 2010
 If your adding the default from fresh dowload (swapping files with your current) then spaces should not be an issue. Did you customize any files mentioned or add a mod recently? Delete all cookies, cache, tmp and swap untils
Quote · 22 Nov 2010

I put default files but still the same and I never edit these files

the only thing I have on design.inc.php is the Deanol facebook conect code

profiles.inc.php · 16.4K · 81 downloads
utils.inc.php · 33.2K · 88 downloads
design.inc.php · 24.5K · 66 downloads
Post Reply - if you going to help - No for - bla bla bla bla
Quote · 22 Nov 2010

Well, I didn't figure out what's causing these errors, but I did figure out how to completely null the script in only one line.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 22 Nov 2010

Hello maybe you did some changes in dolphin's files ? if yes, can you attach all of them?

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 22 Nov 2010

 

Hello maybe you did some changes in dolphin's files ? if yes, can you attach all of them?

See above. I highly recommend the design.inc.php file.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 22 Nov 2010

when you say that


but I did figure out how to completely null the script in only one line.

wat you trying to say

but if you don't figure out what's causing these errors

why i'm getting this I like I told you I never edit these files

Post Reply - if you going to help - No for - bla bla bla bla
Quote · 22 Nov 2010

 

 

but I did figure out how to completely null the script in only one line.

when you say that wat you trying to say

but if you don't figure out what's causing these errors

why i'm getting this I like I told you I never edit these files

It appears these files are different, since they include nulling code. Try uploading fresh copies of these files from a newly downloaded copy.

 

Edit: I see what you did there.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 22 Nov 2010

 

when you say that


but I did figure out how to completely null the script in only one line.

wat you trying to say

but if you don't figure out what's causing these errors

why i'm getting this I like I told you I never edit these files

If you I never edit these files, attach that files you changed please

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 22 Nov 2010

I add default files like I told you but still the same error

and  WTH is null

Post Reply - if you going to help - No for - bla bla bla bla
Quote · 22 Nov 2010

 

I add default files like I told you but still the same error

and  WTH is null

It means to remove the BoonEx footers without a paid license. The copy of the design.inc.php file you uploaded originally contained nulling code, while the new one doesn't.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 22 Nov 2010

WTF are you talking about man i'm trying to get this thing fix and you talking about licensed and I have my

licensed for you to say removing the BoonEx footers without a paid license

 

That's why you make me to attach the files to see if I have a null script or help me

I respect boonex copyrights or any other script copyrights for you to talk shit like that


Post Reply - if you going to help - No for - bla bla bla bla
Quote · 22 Nov 2010

This error can occur due to the fact that elsewhere in the code should echo or some sort of characters before the <?. And those files that you have attached  may not bear any disk imaging because they simply call a function or header setcookie. very hard to find the cause, teeb have to remember which files have changed

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 22 Nov 2010

 

This error can occur due to the fact that elsewhere in the code should echo or some sort of characters before the <?. And those files that you have attached  may not bear any disk imaging because they simply call a function or header setcookie. very hard to find the cause, teeb have to remember which files have changed

Hi ShashaE

I never edit nothing the only thing I did switch host backup all my files and database from old host

import my database to new host and upload all the files to my new host  that's all I did

I do not edit nothing like for a month

Post Reply - if you going to help - No for - bla bla bla bla
Quote · 22 Nov 2010

You told that you have changed something with "Deanol facebook conect code". what file I should check?

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 22 Nov 2010

 

You told that you have changed something with "Deanol facebook conect code". what file I should check?

Yea  i did but that's a long time  I buy the Deanos Facebook Connect in 30.06.2010

and I add the code second day when I have the access to download the mod from Deano

Post Reply - if you going to help - No for - bla bla bla bla
Quote · 22 Nov 2010
 
 
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.