PDA

View Full Version : After Scouring the site, I also have a T_String issue


wshinds
12-04-2006, 10:34 PM
Parse error: parse error, unexpected T_STRING in /home/wshdesig/public_html/vanguard/index.php on line 33

<?php
// ++=========================================================================++
// || vBadvanced CMPS v2.2.1 (vB 3.6) - 11369
// || © 2003-2007 vBadvanced.com & PlurPlanet, LLC - All Rights Reserved
// || This file may not be redistributed in whole or significant part.
// || http://vbadvanced.com
// || Downloaded 21:36, Mon Dec 4th 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 = '<?php
// ++=========================================================================++
// || vBadvanced CMPS v2.2.1 (vB 3.6) - 11369
// || © 2003-2007 vBadvanced.com & PlurPlanet, LLC - All Rights Reserved
// || This file may not be redistributed in whole or significant part.
// || http://vbadvanced.com
// || Downloaded 21:36, Mon Dec 4th 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 = '/home/wshdesig/public_html/vanguard';

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

?>';

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

?>

wshinds
12-04-2006, 10:36 PM
I've tried putting slashes every which where, and called my host who "doesn't support forum software"... so I have come to you.

Our Sponsors
 

wshinds
12-04-2006, 11:08 PM
The host is LIQUIDWEB by the way.

KW802
12-04-2006, 11:19 PM
If that's really the contents of your cmps_index.php then start with a fresh copy from the download package because the copy pasted above is totally messed up (it looks like a copy of the file was copy & pasted in the middle of itself).

Our Sponsors
 

wshinds
12-05-2006, 07:05 AM
Well I did that, and it works now, validating to me that the forumpath and everything works fine.

I can only think to blame dreamweaver. I never copied the contents of that file except to paste here.

Consider this situation resolved.

THANK YOU KW802

KW802
12-05-2006, 11:13 AM
wshinds, glad you got it sorted it out. :cool:

There have been reports of older versions of Dreamweaver messing up files but supposedly the newer versions don't do it. I don't have DW so I can't verify but I do remember other DW users having issues.