View Full Version : Can't view the portal page
kam009
06-19-2006, 10:27 PM
hello
i finished installing.. with no problems.. and then went online but i can't see my portal.. this is the error message:
" Parse error: parse error, unexpected ';' in /home/kam009/www/portal.php on line 22 "
extra information:
My index page (forum) path:
/home/kam009/www/dosti/
and my portal.php path:
/home/kam009/www/
Zachery
06-20-2006, 12:28 AM
whats on line 22 of your cmps_index.php file.
kam009
06-20-2006, 01:25 AM
Here is the script and the 22nd line:
<?php
// ++=========================================================================++
// || vBadvanced CMPS v2.1.0 (vB 3.5) - 36784
// || © 2003-2004 vBadvanced.com & PlurPlanet, LLC - All Rights Reserved
// || This file may not be redistributed in whole or significant part.
// || http://vbadvanced.com
// || Downloaded 19:38, Mon Jun 19th 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/kam009/www/dosti';
// ============================================
// 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);
?>
kam009
06-20-2006, 06:57 PM
Can someone please help :(
Zachery
06-20-2006, 11:41 PM
Can you please submit a support ticket.
kam009
06-21-2006, 12:51 AM
i am sorry, but where do i go to support ticket? :(
Zachery
06-21-2006, 01:07 AM
http://www.vbadvanced.com/ticket.php?do=newticket
JohnnyBGood
06-21-2006, 06:21 AM
I had the same problem, but I found that if I do not use the path given by forumpath.php and instead use './forums/' in my case, everything works fine.
Cheers,
John
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.