BoostedK20
03-09-2011, 09:32 PM
I can't figure out the correct path... Here is my code:
error_reporting(E_ALL & ~E_NOTICE & ~8192);
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 = './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);
?>
On my FTP, it has my website url and directly underneath that is my forums folder, so I figured ./forums is correct... if you go to mywebsite.com/forums it will bring up my forums page (which is really www.mywebsite.com/forums/forum.php). Can anyone help me figure this out? Sorry for the annoyance! thank you
--------------- Added 1299731924 at 1299731924 ---------------
Really.... No one?
--------------- Added 1299765918 at 1299765918 ---------------
.... Anyone?
error_reporting(E_ALL & ~E_NOTICE & ~8192);
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 = './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);
?>
On my FTP, it has my website url and directly underneath that is my forums folder, so I figured ./forums is correct... if you go to mywebsite.com/forums it will bring up my forums page (which is really www.mywebsite.com/forums/forum.php). Can anyone help me figure this out? Sorry for the annoyance! thank you
--------------- Added 1299731924 at 1299731924 ---------------
Really.... No one?
--------------- Added 1299765918 at 1299765918 ---------------
.... Anyone?