PDA

View Full Version : Fatal Error - Help


OurCouponHome
12-31-2010, 05:20 PM
I just got this:

Warning: require_once([path]/dbtech/spotlight/hooks/cache_templates.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/class_bootstrap.php(1280) : eval()'d code on line 171

Fatal error: require_once() [function.require]: Failed opening required '/home/content/57/4985457/html/dbtech/spotlight/hooks/cache_templates.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/57/4985457/html/includes/class_bootstrap.php(1280) : eval()'d code on line 171


I went into the admincp to try and disable plugins to take it off but it won't even let me do that. HELP!

--------------- Added 1293824088 at 1293824088 ---------------

Now, I can't even get into my Admincp

metalguy639
12-31-2010, 05:43 PM
Did you check to see if all the files were present on the site? you maybe missing that file that its referring to. Or if that file is a file from a hack then to disable all the hooks globally download your config.php file you will find it in the forum/includes directory. Open it in an editor & find:

<?php

Just beneath it place this code:

define('DISABLE_HOOKS', true);

Save your config.php file and upload it back into your site overwriting the old one.

OurCouponHome
12-31-2010, 05:43 PM
Phew! Finally figured it out

--------------- Added 1293824687 at 1293824687 ---------------

Thanks Metalguy! :)

metalguy639
12-31-2010, 05:45 PM
No problem. It sucks to not be able to get into your admin panel.