vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Admincp Warnin & Fatal Error (https://vborg.vbsupport.ru/showthread.php?t=255210)

K!nG 12-14-2010 03:34 PM

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.

Brandon Sheley 12-14-2010 05:01 PM

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

K!nG 12-14-2010 05:06 PM

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

TheLastSuperman 12-14-2010 05:15 PM

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 ;).

K!nG 12-14-2010 05:26 PM

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. :(

K!nG 12-16-2010 12:48 PM

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 :)


All times are GMT. The time now is 10:03 PM.

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.01098 seconds
  • Memory Usage 1,725KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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