PDA

View Full Version : Moved my forum now I get an error???


kellyandmark04
04-27-2009, 12:03 AM
I moved my vbulletin to a new folder on my server and now I get this error

Warning: require_once(../include/init.inc.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/init.php(298) : eval()'d code on line 57

Fatal error: require_once() [function.require]: Failed opening required '../include/init.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/p24l3b2t/public_html/includes/init.php(298) : eval()'d code on line 57

Any help???

tipoboy
04-27-2009, 12:04 AM
I moved my vbulletin and now I get this error

Warning: require_once(../include/init.inc.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/init.php(298) : eval()'d code on line 57

Fatal error: require_once() [function.require]: Failed opening required '../include/init.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/p24l3b2t/public_html/includes/init.php(298) : eval()'d code on line 57


Any help???

did you change the forum path in your config.php file?

kellyandmark04
04-27-2009, 12:22 AM
^^^Yep and still error

Lynne
04-27-2009, 02:26 AM
Line 298 of init.php is:
($hook = vBulletinHook::fetch_hook('init_startup')) ? eval($hook) : false;

So, this error is from a modification using that hook. You need to disable that modification to get the error to go away.

kellyandmark04
04-27-2009, 03:10 AM
^^^How can I disable and do this when I can't log into anything not even the admin panel. Thanks for the help everyone.

Lynne
04-27-2009, 03:14 AM
To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

kellyandmark04
04-27-2009, 03:25 AM
^^^Thank you!!! Worked and disabled and uninstalled the mod and it works perfect now.