PDA

View Full Version : Installation on a sub forum


Watson
06-20-2004, 05:13 PM
I cant get the path to my sub forums to work properly, as I aint just got it installed on mysite.com/forums

its on http://forums.mysite.com

here is the error I get

Warning: ChDir: No such file or directory (errno 2) in /home/webcust/cwatson/watp/www/cmps_index.php on line 19
Fatal error: Failed opening required './global.php' (include_path='.:/usr/share/pear') in /home/webcust/cwatson/watp/www/cmps_index.php on line 25

I followed install to the t

And here is my index.php file


<?php
// ++=========================================================================++
// || vBadvanced CMPS v1.0 RC2 ||
// || © 2003-2004 vBadvanced.com & PlurPlanet, LLC - All Rights Reserved ||
// || This file may not be redistributed in whole or significant part. ||
// || http://vbadvanced.com ||
// ++ ========================================================================++

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/webcust/cwatson/watp/forums/');

// ============================================
// No Further Editing Necessary!
// ============================================

require_once('./global.php');

print_portal_output($home);

?>

Cheers

Watson

Dawson
06-20-2004, 11:13 PM
Try: chdir('/home/webcust/cwatson/watp/forums');

Our Sponsors
 

Watson
06-21-2004, 06:16 AM
works a treat, dunno why I didnt try that :(

But mu images aint showing now, I will have a look to see if I didnt do the paths right