PDA

View Full Version : Help!!!


Dan
03-28-2003, 10:36 PM
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:

Dan
03-28-2003, 11:00 PM
oh I forgot sorry...... I'm such a dumbass

Dan
03-29-2003, 02:16 PM
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.

Dan
03-29-2003, 03:39 PM
no still does the same thing.......

filburt1
03-29-2003, 03:59 PM
It says eternalgamer, not eternalgamers...

Dan
03-29-2003, 04:21 PM
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.

Dan
03-29-2003, 04:45 PM
Parse error: parse error in /home/eternalgamer/www/testboard/forums/admin/test.php on line 10

Dan
03-30-2003, 04:52 PM
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...

Dan
03-30-2003, 05:14 PM
thats what I was saying

Dan
03-30-2003, 05:18 PM
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.

Dan
03-30-2003, 05:23 PM
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.

Dan
03-30-2003, 06:16 PM
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.

Dan
03-30-2003, 06:30 PM
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.

Dan
03-30-2003, 06:36 PM
Well I guess I'll start from scratch....... feh this is going to take awhile..... thanks for tring to help filburt