PDA

View Full Version : Portal Not showing up ?


michael5472
04-05-2005, 08:37 PM
Please can someone help me i have installed the mod and it all has gone in ok but for some reason the portal is not showing how do i make it show up ?

I have the vBa CMPS options in the admin cp but i can't see an option to turn it on !

Please help me

EDIT:
Just read through and i have gone to:
/forum/cmps_index.php and i am getting this error:

Parse error: parse error, unexpected '/' in /home/satforum/public_html/forum/cmps_index.php on line 25

Zachery
04-05-2005, 09:28 PM
Please can someone help me i have installed the mod and it all has gone in ok but for some reason the portal is not showing how do i make it show up ?

I have the vBa CMPS options in the admin cp but i can't see an option to turn it on !

Please help me

EDIT:
Just read through and i have gone to:
/forum/cmps_index.php and i am getting this error:

Parse error: parse error, unexpected '/' in /home/satforum/public_html/forum/cmps_index.php on line 25
Whats on line 25

michael5472
04-06-2005, 05:03 PM
It looks like this:

<?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/satforum/public_html/forum');

// ============================================
// No Further Editing Necessary!
// ============================================ <---- THIS LINE CAUSING THE PROBLEM

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

require_once('./global.php');

print_portal_output($home);

?>

Delphiprogrammi
04-06-2005, 05:12 PM
It looks like this:

<?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/satforum/public_html/forum');

// ============================================
// No Further Editing Necessary!
// ============================================ <---- THIS LINE CAUSING THE PROBLEM

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

require_once('./global.php');

print_portal_output($home);

?>

that's impossible according to the PHP syntax lines starting with "//"(without the quotes) are comments and are ignored by the php parser also remove the white space before closing PHP tag (?>)