vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Help!!! (https://vborg.vbsupport.ru/showthread.php?t=50932)

Dan 03-28-2003 10:36 PM

Help!!!
 
I didn't do anything to my admin/index.php and all of a sudden I get


Quote:

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:

[nocopy][/nocopy]

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:
PHP Code:

<?
@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

Quote:

Yesterday at 01:45 PM Oricon said this in Post #10
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:
PHP Code:

<?
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


All times are GMT. The time now is 02:48 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01172 seconds
  • Memory Usage 1,749KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (22)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete