vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v1.x (Archive - Closed for Posting) > Troubleshooting / "How do I..." Questions

 
 
Thread Tools Display Modes
  #1  
Old 05-16-2004, 11:01 AM
SportsCenter SportsCenter is offline
Junior Member
 
Join Date: Apr 2004
Posts: 17
Default Major Problem

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  
Old 05-16-2004, 11:10 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Major Problem

Can you paste the content of your cmps_index.php file here for me?
  #3  
Old 05-16-2004, 11:16 AM
SportsCenter SportsCenter is offline
Junior Member
 
Join Date: Apr 2004
Posts: 17
Default Re: Major Problem

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);

?>
if you want to see the site - www.ncaacenter.com

Last edited by SportsCenter; 05-16-2004 at 11:19 AM.
  #4  
Old 05-16-2004, 11:17 AM
SportsCenter SportsCenter is offline
Junior Member
 
Join Date: Apr 2004
Posts: 17
Default Re: Major Problem

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  
Old 05-16-2004, 11:24 AM
SportsCenter SportsCenter is offline
Junior Member
 
Join Date: Apr 2004
Posts: 17
Default Re: Major Problem

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');
}

?>
The error is somewhere in there ^
  #6  
Old 05-16-2004, 11:28 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Major Problem

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  
Old 05-16-2004, 11:29 AM
SportsCenter SportsCenter is offline
Junior Member
 
Join Date: Apr 2004
Posts: 17
Default Re: Major Problem

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  
Old 05-16-2004, 11:31 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Major Problem

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  
Old 05-16-2004, 11:54 AM
SportsCenter SportsCenter is offline
Junior Member
 
Join Date: Apr 2004
Posts: 17
Default Re: Major Problem

Where can I get an un-hacked version of it? :\
  #10  
Old 05-16-2004, 11:57 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Major Problem

If you don't still have the original files somewhere then you can download them from vbulletin.com's member's area.
  #11  
Old 05-16-2004, 12:07 PM
SportsCenter SportsCenter is offline
Junior Member
 
Join Date: Apr 2004
Posts: 17
Default Re: Major Problem

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;
}
I don't see how that has anything to do with CMPS, but I never had this error until now
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:34 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.