vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Fatal Error: (https://vborg.vbsupport.ru/showthread.php?t=180750)

cmrobinson 05-28-2008 04:08 AM

Fatal Error:
 
I get this error message when I attempt to view the forum that I maintain:

Quote:

Warning: require_once(./../global.php) [function.require-once]: failed to open stream: No such file or directory in [path]/global.php(591) : eval()'d code on line 2

Fatal error: require_once() [function.require]: Failed opening required './../global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/tyranus/public_html/forum/global.php(591) : eval()'d code on line 2
I'm not sure exactly what is going on here and was wondering if someone could help me.

SEOvB 05-28-2008 04:13 AM

your missing global.php it seems or its not in the correct spot/where the script is looking for it.

cmrobinson 05-28-2008 04:16 AM

Well, this is a clean install of vBulletin, so where is "global.php" supposed to be when starting from scratch. It's currently in "/home/tyranus/public_html/forum" which is where I have the forum installed.

SEOvB 05-28-2008 05:10 AM

its supposed to be in the forum root which it sounds like you've installed it in.

line 591 is a hook location, do you have any plugins installed even though you say its a clean install?

cmrobinson 05-28-2008 05:15 AM

Not atm. I had an install on there that got corrupted when I tried to remove something that i screwed up the install (I was just going to try again) then I got this error. So as a response, I just deleted all of the files on the server (after backing them up) and put a new install in. The only thing I did not purge was the db. I just downloaded the newest version and went with it. I attempted to "install" but since I already had in install according to the script, I just ran an update. Could the problem be in the db?

SEOvB 05-28-2008 05:18 AM

At the top of your /includes/config.php file after
Code:

<?php
Add this line

Code:

define('DISABLE_HOOKS', true);
Then attempt to access the site again.

Paul M 05-28-2008 06:59 AM

Its tripping up on the parse_templates hook, which really does suggest you have a plugin installed.

cmrobinson 05-28-2008 10:51 AM

Interesting, that worked FRDS, so apparently I do ... The odd thing is that none of the files are still there, so why does this stuff still work (i.e. the extra styles and such)? Also, how can I re-enable hooks and have it work normally (or will this fix the problem)?

Jase2 05-28-2008 10:55 AM

Uninstall the problematic hack. If you can view your forums by doing what FRDS said, then it means an hack is causing the problem, since it will now be running the default vBulletin code.

cmrobinson 05-28-2008 10:55 AM

Nevermind, I managed to get rid of the offending plugin.

--------------- Added [DATE]1211975782[/DATE] at [TIME]1211975782[/TIME] ---------------

Lol, thanks Jase2, I was just being a bit dense, it is a bit early where I am :D

--------------- Added [DATE]1211977430[/DATE] at [TIME]1211977430[/TIME] ---------------

Thanks very much for the help, now to clean up the rest of the mess I made when screwing around with all of this :D


All times are GMT. The time now is 06:45 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.01360 seconds
  • Memory Usage 1,728KB
  • 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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