Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
  #1  
Old 12-14-2010, 03:34 PM
K!nG K!nG is offline
 
Join Date: Dec 2010
Location: United States
Posts: 477
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Admincp Warnin & Fatal Error

Hi,
My admincp was working totally fine till few mins ago and when i temporarily disabled the plugins by adding,

define('DISABLE_HOOKS', true);

and after that when i tried to make some changes by admincp i get this message.


Warning: require_once(/home/****/public_html/******.com/includes/init.php) [function.require-once]: failed to open stream: No such file or directory in /home/****/public_html/******.com/admincp/global.php on line 37

Fatal error: require_once() [function.require]: Failed opening required '/home/****/public_html/******.com/includes/init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/****/public_html/******.com/admincp/global.php on line 37

Can anyone please help me out with this one ????

Thanks in advance.
Reply With Quote
  #2  
Old 12-14-2010, 05:01 PM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

do you have the files in place that the error is saying your missing?

maybe this thread will help
http://www.vbulletin.com/forum/showt...hat-this-means
Reply With Quote
  #3  
Old 12-14-2010, 05:06 PM
K!nG K!nG is offline
 
Join Date: Dec 2010
Location: United States
Posts: 477
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All files r still there and I didn't make any changes to them it was working fine n then all of sudden I got this error. Init.php n global.php both files r there
Reply With Quote
  #4  
Old 12-14-2010, 05:15 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

King make sure the edit is directly below <?php i.e.

PHP Code:
<?php
define
('DISABLE_HOOKS'true);
/*======================================================================*\
When done comment it out by adding // in front i.e.
PHP Code:
<?php
// define('DISABLE_HOOKS', true);
/*======================================================================*\
Then you don't have to hunt it down later on .

Also what are you using to edit? sometimes using wordpad or notepad on a windows pc then pasting code into interfaces on a linux/unix can add in extra characters when posting and you may not even see them initially so be sure to use something free like notepad++ or similar when editing files .
Reply With Quote
  #5  
Old 12-14-2010, 05:26 PM
K!nG K!nG is offline
 
Join Date: Dec 2010
Location: United States
Posts: 477
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi superman,
well since this happend I already removed that hook coding but it still gives me same errors.
I removed because I thought that was the reason but I ll defintly rechk to make sure there is no extra space or line left.

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

Hi.
i am still stuck with same prob...... still getting same errors tried several things but nothing worked out.. can someone help me in solving this issue so i can access my admincp
Thanks in advance.
Reply With Quote
  #6  
Old 12-16-2010, 12:48 PM
K!nG K!nG is offline
 
Join Date: Dec 2010
Location: United States
Posts: 477
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey guys,
Thanks to all of you for ur help but actual problem was i was missing the whole "includes" folder from my site directory eventhough i don't know how can that happen but tht was actual reason..... just wanted to share if someone get into this situation in the near future this might help Thanks for those who helped in anyways
Reply With Quote
Reply

Thread Tools
Display Modes

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 05:13 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04480 seconds
  • Memory Usage 2,209KB
  • 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_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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_postinfo_query
  • fetch_postinfo
  • 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