PDA

View Full Version : index page


BarHopper
15 Jan 2005, 19:37
http://www.game-realms.net/cmps_index.php - 2 errors

The first, i thought i resolved, by putting the full path in, but it looks like it aint worked. This is my cmps_index.php code:



home/grealms/public_html/

<?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/grealms/public_html/vb');

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

require_once('./global.php');

print_portal_output($home);

?>

As you can see ive done the fulll path and im still egtting that error.

Also, what is that second error?

BarHopper
15 Jan 2005, 19:58
Zach sorted it all, thanks.

Josh Combs
23 Jan 2005, 20:23
What was the problem?