i have installed on my vb forum the VBadvanced cmps
I have already rename the cmps_index.php to index.php
I have already add the path but i got this error and i cant show my site:
Parse error: syntax error, unexpected T_STRING in /home/dxflw/public_html/forum/index.php on line 24
the php file is this: and with the red color is the path
whta can i do to fix the problem ?
thank you
I have already rename the cmps_index.php to index.php
I have already add the path but i got this error and i cant show my site:
Parse error: syntax error, unexpected T_STRING in /home/dxflw/public_html/forum/index.php on line 24
the php file is this: and with the red color is the path
Code:
<?php
// ++=========================================================================++
// || vBadvanced CMPS v2.2.1 (vB 3.6) - 25780
// || © 2003-2007 vBadvanced.com & PlurPlanet, LLC - All Rights Reserved
// || This file may not be redistributed in whole or significant part.
// || http://vbadvanced.com
// || Downloaded 10:36, Mon Dec 18th 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 = '[COLOR=Red]<?php
if ($_SERVER['PATH_TRANSLATED'])
{
$path = $_SERVER['PATH_TRANSLATED'];
}
else if ($_SERVER['SCRIPT_FILENAME'])
{
$path = $_SERVER['SCRIPT_FILENAME'];
}
else
{
echo 'We are sorry, but this script is unable to determine your forums path.';
exit;
}
echo substr($path, 0, (strlen($path) - 14));
?>[/COLOR]';
// ============================================
// No Further Editing Necessary!
// ============================================
if ($forumpath)
{
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);
?>
whta can i do to fix the problem ?
thank you