PDA

View Full Version : Installation Problems on vbacmps_index.php


KarmaPolice
09-25-2004, 05:18 PM
Here is what is in the 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('c:\Intepub\wwwroot\Pendragon\forums');

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

require_once('c:\Inetpub\wwwroot\Pendragon\forums\global.php');

print_portal_output($home);

?>


here is the error i am getting when trying to load index.php (i've renamed vbacmps_index.php to index.php)


PHP Warning: chdir() [function.chdir]: No such file or directory (errno 2) in C:\Inetpub\wwwroot\Pendragon\index.php on line 19
PHP Warning: array_merge() [function.array-merge]: Argument #1 is not an array in c:\Inetpub\wwwroot\Pendragon\forums\global.php on line 26
PHP Warning: array_merge() [function.array-merge]: Argument #1 is not an array in c:\Inetpub\wwwroot\Pendragon\forums\global.php on line 41
PHP Warning: array_merge() [function.array-merge]: Argument #1 is not an array in c:\Inetpub\wwwroot\Pendragon\forums\global.php on line 48
PHP Warning: main(./includes/init.php) [function.main]: failed to open stream: No such file or directory in c:\Inetpub\wwwroot\Pendragon\forums\global.php on line 50
PHP Fatal error: main() [function.require]: Failed opening required './includes/init.php' (include_path='.;C:\php5\pear') in c:\Inetpub\wwwroot\Pendragon\forums\global.php on line 50


I'm running IIS 6.0 if that wasn't obvious...
any ideas?
*the space between the '\' and 'global' is not actually in the file, i dunno why that shows up in the code block cause it's not there when i look at it here or in notepad.

KarmaPolice
09-25-2004, 05:27 PM
fixed this problem (chdir('forums') and just 'global.php' rather than ./global.php