Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-28-2008, 04:08 AM
cmrobinson cmrobinson is offline
 
Join Date: May 2008
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 05-28-2008, 04:13 AM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

your missing global.php it seems or its not in the correct spot/where the script is looking for it.
Reply With Quote
  #3  
Old 05-28-2008, 04:16 AM
cmrobinson cmrobinson is offline
 
Join Date: May 2008
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 05-28-2008, 05:10 AM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #5  
Old 05-28-2008, 05:15 AM
cmrobinson cmrobinson is offline
 
Join Date: May 2008
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #6  
Old 05-28-2008, 05:18 AM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 05-28-2008, 06:59 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its tripping up on the parse_templates hook, which really does suggest you have a plugin installed.
Reply With Quote
  #8  
Old 05-28-2008, 10:51 AM
cmrobinson cmrobinson is offline
 
Join Date: May 2008
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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)?
Reply With Quote
  #9  
Old 05-28-2008, 10:55 AM
Jase2 Jase2 is offline
 
Join Date: Dec 2007
Location: USA
Posts: 1,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #10  
Old 05-28-2008, 10:55 AM
cmrobinson cmrobinson is offline
 
Join Date: May 2008
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

--------------- 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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:54 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.05171 seconds
  • Memory Usage 2,245KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete