PDA


View Full Version : 500 error index.php


Kengan
06-13-2004, 07:19 AM
I have just add the CMPS 1.00 release and it show me a errors 500 under index.php files.

but I login a CP after it works fine. then logout got the same problem ? any idea ??

--------------------------------------------------------------------------------

edited index have in stalled everything but when i try to ru it i get
Fatal error: Call to undefined function: print_portal_output() in /home/concorde/public_html/index.php on line 27

ive pasted a copy of my index 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);

// ============================================
// /home/concorde/public_html/forums
// Example: /home/vbadvanced/public_html/forum
// ============================================

chdir('./forums');

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

require_once('./global.php');

print_portal_output($home);

?>


Thanks !

BoNfiRe
06-13-2004, 08:34 AM
have you changed 'chdir('./forums');' to match your server ?
This wouldn't be giving you that error though :confused:

isn't 500 an internal server error though ??

Kengan
06-13-2004, 09:07 AM
have you changed 'chdir('./forums');' to match your server ?
This wouldn't be giving you that error though :confused:

isn't 500 an internal server error though ??

Thanks ! I have just fixed the problem. I reinstall the CMPS again . it works now !