View Full Version : Help!!!
I didn't do anything to my admin/index.php and all of a sudden I get
Warning: Failed opening '/home/eternalgamer/www/testboard/forums/admin/index.php' for inclusion (include_path='.:/usr/local/share/pear:/usr/local/lib/php') in Unknown on line 0
This is on my localhost and I want it to get fixed before I upload it to my server.......
Attached is the admin/index.php file
If anyone can help me fix it I'd be greatful
Erwin
03-28-2003, 10:49 PM
You are NOT allowed to post vB PHP files.
Note out rules:
oh I forgot sorry...... I'm such a dumbass
Can someone at least give me a clue on what
Warning: Failed opening '/home/eternalgamer/www/testboard/forums//admin/index.php' for inclusion (include_path='.:/usr/local/share/pear:/usr/local/lib/php') in Unknown on line 0
means?
filburt1
03-29-2003, 03:06 PM
You have a double-slash in there, that could be it.
no still does the same thing.......
filburt1
03-29-2003, 03:59 PM
It says eternalgamer, not eternalgamers...
my account at phpwebhosting doesn't have an 's' in it........
filburt1
03-29-2003, 04:31 PM
Oh, was going by the domain name.
Make a new PHP page in your admin directory with the contents:
<?
@require("./global.php");
if (function_exists("cpheader")) echo "it worked";
else echo "no it didn't";
?>
If you see "it worked" then this is blowing my mind.
Parse error: parse error in /home/eternalgamer/www/testboard/forums/admin/test.php on line 10
I'm guessing there is no help out there.
filburt1
03-30-2003, 04:56 PM
Yesterday at 01:45 PM Oricon said this in Post #10 (https://vborg.vbsupport.ru/showthread.php?postid=375113#post375113)
Parse error: parse error in /home/eternalgamer/www/testboard/forums/admin/test.php on line 10
There are only five lines in my script, how can an error be on line 10...
feh... there was a typo in the script you gave me but I fixed it.
now I get this
Warning: Failed opening '/home/eternalgamer/www/testboard/forums/admin/index.php' for inclusion (include_path='.:/usr/local/share/pear:/usr/local/lib/php') in Unknown on line 0
filburt1
03-30-2003, 05:20 PM
Okay, try this insanity. If this doesn't work then your PHP config is screwed up:
<?
if (!isset($included))
{
$included = true;
include($_SERVER['PHP_SELF']);
}
?>
That will try to load itself.
Warning: Failed opening '/testboard/forums/admin/test.php' for inclusion (include_path='.:/usr/local/share/pear:/usr/local/lib/php') in /home/eternalgamer/www/testboard/forums/admin/test.php on line 5
the main part of the board works just not the admin part........
filburt1
03-30-2003, 06:11 PM
Okay, your config is royally screwed up.
how can my config be screwed up? Every other php script runs perfectly fine
filburt1
03-30-2003, 06:25 PM
Files just don't randomly break. Make sure you don't have any .htaccess file overriding PHP behaviors or something like that.
I checked nothing like that
filburt1
03-30-2003, 06:31 PM
Well files don't just "stop working." Undo whatever hacks you've recently installed, or as a last resort reupload all the latest original vB files.
Well I guess I'll start from scratch....... feh this is going to take awhile..... thanks for tring to help filburt
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.