johnjohn
11-15-2005, 07:48 PM
Hello,
I've just upgraded my vB to 3.5.1 from 3.0.9. Everything was working great. I have some modules added which don't work anymore. I get a blank page instead and this error message in /usr/local/apache/logs/error_log:
[Tue Nov 15 18:40:31 2005] [error] PHP Fatal error: Cannot redeclare order_mods() (previously declared in /home/hz/public_html/forum/includes/vba_cmps_include_bottom.php:160) in /home/hz/public_html/forum/includes/vba_cmps_include_bottom.php on line 160
This is how my file looks like:
<?php
// ++=========================================================================++
// || vBadvanced CMPS v1.0 RC2 ||
// || © 2003-2004 vBadvanced.com & PlurPlanet, LLC - All Rights Reserved ||
// || This file may not be redistributed in whole or significant part. ||
// || http://vbadvanced.com ||
// ++ ========================================================================++
define('VBA_PAGE', 'fantastico');
error_reporting(E_ALL & ~E_NOTICE);
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'adv_index');
define('VBA_PORTAL', true);
// ============================================
// Enter the full path to your forum here
// Example: /home/vbadvanced/public_html/forum
// ============================================
chdir('/home/hz/public_html/forum');
// ============================================
// No Further Editing Necessary!
// ============================================
require_once('./global.php');
print_portal_output($home);
?>
I've already done the steps on how to integrate vB CMPS with other vB files as described here (http://www.vbadvanced.com/membersarea.php?do=viewusermanual&productid=4&pageid=6)...
Can someone please help me?
Thanks,
John
I've just upgraded my vB to 3.5.1 from 3.0.9. Everything was working great. I have some modules added which don't work anymore. I get a blank page instead and this error message in /usr/local/apache/logs/error_log:
[Tue Nov 15 18:40:31 2005] [error] PHP Fatal error: Cannot redeclare order_mods() (previously declared in /home/hz/public_html/forum/includes/vba_cmps_include_bottom.php:160) in /home/hz/public_html/forum/includes/vba_cmps_include_bottom.php on line 160
This is how my file looks like:
<?php
// ++=========================================================================++
// || vBadvanced CMPS v1.0 RC2 ||
// || © 2003-2004 vBadvanced.com & PlurPlanet, LLC - All Rights Reserved ||
// || This file may not be redistributed in whole or significant part. ||
// || http://vbadvanced.com ||
// ++ ========================================================================++
define('VBA_PAGE', 'fantastico');
error_reporting(E_ALL & ~E_NOTICE);
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'adv_index');
define('VBA_PORTAL', true);
// ============================================
// Enter the full path to your forum here
// Example: /home/vbadvanced/public_html/forum
// ============================================
chdir('/home/hz/public_html/forum');
// ============================================
// No Further Editing Necessary!
// ============================================
require_once('./global.php');
print_portal_output($home);
?>
I've already done the steps on how to integrate vB CMPS with other vB files as described here (http://www.vbadvanced.com/membersarea.php?do=viewusermanual&productid=4&pageid=6)...
Can someone please help me?
Thanks,
John