![]() |
|
#1
|
|||
|
|||
|
I'm upgrading from vBa 1.1. I put all the codes in and I'm getting errors.
Error 1 - Some kind of parse error on the global.php in the 680s. Error 2 - Some kind of error on the 22nd line of cmps_index.php (the part where it says print_portal_output($home) ) |
|
#2
|
||||
|
||||
|
Can you paste the content of your cmps_index.php file here for me?
|
|
#3
|
|||
|
|||
|
Error 3 - When I try to log into my Admin CP -> Unable to add cookies, header already sent.
File: /usr/home/ncaacen/public_html/forums/includes/functions.php Line: 3799 Error 4 - There seems to have been a slight problem with the The Sports Fans database. Please try again by pressing the refresh button in your browser. An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists. We apologise for any inconvenience. Here's my cmps_index.php (note - I renamed it to index.php) - Code:
<?php // ++=========================================================================++ // || vBadvanced CMPS v1.0 RC1 || // || © 2003-2004 vBadvanced.com & PlurPlanet, LLC - All Rights Reserved || // || This file may not be redistributed in whole or significant part. || // || http://vbadvanced.com || // ++ ========================================================================++ error_reporting(E_ALL & ~E_NOTICE); define('NO_REGISTER_GLOBALS', 1); define('THIS_SCRIPT', 'adv_index'); define('VBA_PORTAL', true); // Enter the Full Path (NOT THE URL!) to your forums here with No Trailing Slash chdir('/usr/home/ncaacen/public_html/forums'); // No Further Editing Necessary require_once('./global.php'); print_portal_output($home); ?> Last edited by SportsCenter; 05-16-2004 at 11:19 AM. |
|
#4
|
|||
|
|||
|
Error 5 - The forums just stopped working, displaying this error - Unable to add cookies, header already sent.
File: /usr/home/ncaacen/public_html/forums/includes/functions.php Line: 3799 |
|
#5
|
|||
|
|||
|
Also, If you want to see the global.php part, here it is -
Code:
/*======================================================================*\
|| ####################################################################
|| # Downloaded: 10:50, Sat Apr 3rd 2004
|| # CVS: $RCSfile: global.php,v $ - $Revision: 1.247 $
|| ####################################################################
\*======================================================================*/
if (defined('VBA_PORTAL'))
{
require_once('./includes/vba_cmps_include_bottom.php');
}
?>
|
|
#6
|
||||
|
||||
|
Did you run the install file? If not, run that first. If that doesn't help, try uploading an un-hacked version of your includes/functions.php.
|
|
#7
|
|||
|
|||
|
I can't it requires me to login to my Admin CP, and when I try that, I get this error
Code:
Unable to add cookies, header already sent. File: /usr/home/ncaacen/public_html/forums/includes/functions.php Line: 3799 |
|
#8
|
||||
|
||||
|
Upload an un-hacked version of your functions.php file and see if that helps. If so, then you've made a mistake when editing that file. If that is the case, try editing it again with a simple text editor. Do not use Dreamweaver or a similar program as those have been known to modify code that they shouldn't.
|
|
#9
|
|||
|
|||
|
Where can I get an un-hacked version of it? :\
|
|
#10
|
||||
|
||||
|
If you don't still have the original files somewhere then you can download them from vbulletin.com's member's area.
|
|
#11
|
|||
|
|||
|
Well, this is where line 3799 is
Code:
// get CSS width for outerdivwidth from outertablewidth
if (strpos($stylevar['outertablewidth'], '%') === false)
{
$stylevar['outerdivwidth'] = $stylevar['outertablewidth'] . 'px';
}
else
{
$stylevar['outerdivwidth'] = $stylevar['outertablewidth'];
}
// get CSS width for divwidth from tablewidth
if (strpos($stylevar['tablewidth'], '%') === false)
{
$stylevar['divwidth'] = $stylevar['tablewidth'] . 'px';
}
else if ($stylevar['tablewidth'] == '100%')
{
$stylevar['divwidth'] = 'auto';
}
LINE 3799 >>> else
{
$stylevar['divwidth'] = $stylevar['tablewidth'];
}
return $stylevar;
}
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|