Beller
03-28-2006, 11:11 AM
My homepage is loading with error on page here www.alarmshelp.com/index.php
I have reverted all vBadvanced CMPS templates...
The error is only on the index page, once i enter the forums its fine...
My index.php code is...
<?php
// ++=========================================================================++
// || vBadvanced CMPS v2.1.0 (vB 3.5) - 23582
// || © 2003-2004 vBadvanced.com & PlurPlanet, LLC - All Rights Reserved
// || This file may not be redistributed in whole or significant part.
// || http://vbadvanced.com
// || Downloaded 23:48, Tue Mar 14th 2006
// ||
// ++ ========================================================================++
error_reporting(E_ALL & ~E_NOTICE);
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'adv_index');
define('VBA_PORTAL', true);
define('VBA_SCRIPT', 'CMPS');
// ============================================
// Enter the full path to your forum here
// Example: /home/vbadvanced/public_html/forum
// ============================================
$forumpath = './forum';
// ============================================
// No Further Editing Necessary!
// ============================================
if (!is_dir($forumpath))
{
echo 'Invalid forum path specified! Please edit this file and be sure to include the correct path for your $forumpath variable.';
exit;
}
chdir($forumpath);
$phrasegroups = array();
$globaltemplates = array();
$actiontemplates = array();
$specialtemplates = array();
require_once('./includes/vba_cmps_include_template.php');
require_once('./global.php');
print_portal_output($home);
?>
I don't remember changing anything here... Is there something missing in this code?
Thanks in advance
I have reverted all vBadvanced CMPS templates...
The error is only on the index page, once i enter the forums its fine...
My index.php code is...
<?php
// ++=========================================================================++
// || vBadvanced CMPS v2.1.0 (vB 3.5) - 23582
// || © 2003-2004 vBadvanced.com & PlurPlanet, LLC - All Rights Reserved
// || This file may not be redistributed in whole or significant part.
// || http://vbadvanced.com
// || Downloaded 23:48, Tue Mar 14th 2006
// ||
// ++ ========================================================================++
error_reporting(E_ALL & ~E_NOTICE);
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'adv_index');
define('VBA_PORTAL', true);
define('VBA_SCRIPT', 'CMPS');
// ============================================
// Enter the full path to your forum here
// Example: /home/vbadvanced/public_html/forum
// ============================================
$forumpath = './forum';
// ============================================
// No Further Editing Necessary!
// ============================================
if (!is_dir($forumpath))
{
echo 'Invalid forum path specified! Please edit this file and be sure to include the correct path for your $forumpath variable.';
exit;
}
chdir($forumpath);
$phrasegroups = array();
$globaltemplates = array();
$actiontemplates = array();
$specialtemplates = array();
require_once('./includes/vba_cmps_include_template.php');
require_once('./global.php');
print_portal_output($home);
?>
I don't remember changing anything here... Is there something missing in this code?
Thanks in advance