News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

undefined error

Started by imperialstar, December 08, 2010, 03:20:24 PM

Previous topic - Next topic

imperialstar

I am getting this error message when i try to access my forum. Can anybody tell me is this related to the server attacks or is it something else. Cheers

Notice: Undefined variable: sourcedir in /home/lomondfl/public_html/smf/index.php on line 54

Warning: require_once(/QueryString.php) [function.require-once]: failed to open stream: No such file or directory in /home/lomondfl/public_html/smf/index.php on line 54

Fatal error: require_once() [function.require]: Failed opening required '/QueryString.php' (include_path='.:/usr/lib/php:/usr/local/lib/php:/usr/local/Zend/Framework/library') in /home/lomondfl/public_html/smf/index.php on line 54

Kindred

the server attacks have nothing at all to do with any problems on your own site. Please ask for support with your site in the support section for your version.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

MrPhil

This is a very old and very well known bug in SMF. When you have a database problem, it can result in the Settings.php file being emptied out (0 size). Simply copy your Settings_bak.php file over your empty Settings.php file and you'll be in business. Make your Settings.php file "read only" (444 on a Linux server) to keep it from happening again. If your Settings_bak.php file is also empty or corrupted, you'll have to download and run repair_settings.php to rebuild your Settings.php file.

imperialstar

MrPhil you are a star, i'm back in business  ;D

Thanks for your advice  ;)

Advertisement: