PDA


View Full Version : cmps_index problem


theedge
05-11-2005, 12:09 PM
Hi,

i have just installed the portal and iam getting this error

Parse error: parse error, unexpected '/' in /home/theedge/public_html/cmps_index.php on line 32

The code in the file reads

<?php
// ++=========================================================================++
// || vBadvanced CMPS v1.0.1
// || © 2003-2004 vBadvanced.com & PlurPlanet, LLC - All Rights Reserved
// || This file may not be redistributed in whole or significant part.
// || http://vbadvanced.com
// || vb.org distro
// ||
// ++ ========================================================================++

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/theedge/public_html);

// ============================================
// No Further Editing Necessary!
// ============================================

$phrasegroups = array();
$globaltemplates = array();
$actiontemplates = array();
$specialtemplates = array();

require_once('./global.php');

print_portal_output($home);

?>

You suggestions are welcome
Richard

ConqSoft
05-11-2005, 01:05 PM
You're missing your closing ' on your chdir line.