Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: juventusir - elokuu 18, 2011, 08:23:16 IP

Otsikko: Notice: Undefined variable:
Kirjoitti: juventusir - elokuu 18, 2011, 08:23:16 IP
Notice: Undefined variable: sourcedir in /home/talarju/public_html/index.php on line 54

Warning: require_once(/QueryString.php) [function.require-once]: failed to open stream: No such file or directory in /home/talarju/public_html/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') in /home/talarju/public_html/index.php on line 54
Otsikko: Re: Notice: Undefined variable:
Kirjoitti: commanderkeen - elokuu 18, 2011, 08:43:05 IP
make sure the file QueryString.php exists
Otsikko: Re: Notice: Undefined variable:
Kirjoitti: MrPhil - elokuu 18, 2011, 10:56:57 IP
You had database problems and a horrible and well known bug in SMF emptied out your Settings.php file. See if you have a Settings_bak.php file that has reasonable-looking stuff in it. If so, copy Settings_bak.php over the empty Settings.php file. Then make Settings.php read-only (e.g., chmod 444). You should be in business again. If you don't have a good Settings_bak.php, or a good backup copy of Settings.php, you'll have to download repair_settings.php and rebuild your Settings.php file.