PDA

View Full Version : Problem in cmps_index.php


lazorde
11-19-2004, 11:54 AM
Warning: chdir(): No such file or directory (errno 2) in /home/lazorde/public_html/cmps_index.php on line 19

Warning: main(): Unable to access ./global.php in /home/lazorde/public_html/cmps_index.php on line 25

Warning: main(./global.php): failed to open stream: Permission denied in /home/lazorde/public_html/cmps_index.php on line 25

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/lazorde/public_html/cmps_index.php on line 25

PATH my websit

// ++=========================================================================++
// || 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/lazorde/public_html/vb');

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

require_once('./global.php');

print_portal_output($home);

?>

mholtum
11-19-2004, 12:25 PM
chdir('./home/lazorde/public_html/vb');

This is wrong I think. My vb is installed in the dir "forum" so I used :
chdir('./forum');
I think you would use:
chdir('./vb');

Our Sponsors
 

lazorde
11-19-2004, 12:44 PM
thanxxxxxxxxxxxxxxxx

mholtum
11-19-2004, 01:10 PM
did that help?

Our Sponsors
 

Zachery
11-19-2004, 02:05 PM
chdir('./home/lazorde/public_html/vb');

should be


chdir('/home/lazorde/public_html/vb');

or use


chdir('./vb');