Log in

View Full Version : invalid forumpath url HELP!!


whiteeagle0
05-27-2007, 03:39 PM
Hi,


I Get This Error When I Put Vbadvanced Index.php In My Main Websites Folder

Invalid forum path specified! Please edit this file and be sure to include the correct path for your $forumpath variable.

this is a copy of it below


<?php
// ++================================================ =========================++
// || vBadvanced CMPS v3.0 RC1 (vB 3.6) - 46710
// || ? 2003-2007 vBadvanced.com & PlurPlanet, LLC - All Rights Reserved
// || This file may not be redistributed in whole or significant part.
// || http://vbadvanced.com
// || Downloaded 11:04, Sun May 27th 2007
// ||
// ++ ================================================== ======================++

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/******/public_html/forums';


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

?>



please help as soon as possible!


Thanks In Advance!

anyone?

snakes1100
05-27-2007, 10:38 PM
You should post for help at the vbadvanced forum, but a quick glance i see a path issue.

$forumpath = 'home/******/public_html/forums';

$forumpath = '/home/******/public_html/forums'; <-- Add the first /

whiteeagle0
05-28-2007, 12:30 AM
still does it :(

Invalid forum path specified! Please edit this file and be sure to include the correct path for your $forumpath variable.

snakes1100
05-28-2007, 01:42 AM
Then i would assume you have the incorrect forum path inputed for the value.

Michael Biddle
05-28-2007, 03:50 AM
vbadvanced comes with a file that you upload and it gives the path, look at the do not upload folder i believe, its called forumpath.php