PDA

View Full Version : The /admincp/index.php has nothing in it....


Skaterscafe.com
10-28-2004, 12:01 AM
Where did it go?

I am trying to install a chat program and I have to edit my admincp/index.php file and there is nothing really there except CMPS stuff. Was the file renamed when I had teh CMPS installed?

Any help would be great.

Ray

Brian
10-28-2004, 12:19 AM
Your admin cp couldn't be working if that's the case.
You can always get a fresh copy of the file and re-apply the changes if it's messed up though.

Our Sponsors
 

Skaterscafe.com
10-28-2004, 08:26 AM
Brian,

In my admincp/index.php is the following, my CP works fine and has all my additional hack like the arcade.



Here is what's 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
// ============================================

http://www.skaterscafe.com/public.html

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

require_once('./global.php');

print_portal_output($home);

?>

Frankenberrie
10-28-2004, 08:43 AM
that does not belong in the Admincp directory.. That goes in your root directory!

Parts of that file are also not correct...
// Enter the full path to your forum here
// Example: /home/vbadvanced/public_html/forum

your missing CHDIR code---

Our Sponsors
 

Skaterscafe.com
10-28-2004, 12:54 PM
I have no idea. I had it installed by VbAdvanced here and paid for it so I didn't do anything to it. The advanced home page was installed first then the CMPS was installed.

Any suggestions?

Brian
10-28-2004, 01:48 PM
Download your admincp/index.php file from your server. Again, there's no way that your admin cp would be working if that was actually the code that was in the file.

Skaterscafe.com
10-28-2004, 09:09 PM
I found the file and have the problem fixed, thanks!