SMF Support > SMF 2.0.x Support
My website not loading correctly.
cheater1:
I built this website a month ago but then finals came so I had to stop with the project so I can study. Now it is summer break and I decide to continue to work on it but now when I load the website I get
--- Quote ---Strict Standards: main() [function.main]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in /home/binxxx/public_html/noblip.com/index.php on line 46
Notice: Undefined variable: boarddir in /home/binxxx/public_html/noblip.com/index.php on line 46
Strict Standards: main() [function.main]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in /home/binxxx/public_html/noblip.com/index.php on line 50
Notice: Undefined variable: sourcedir in /home/binxxx/public_html/noblip.com/index.php on line 50
Strict Standards: require_once() [function.require-once]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in /home/binxxx/public_html/noblip.com/index.php on line 50
Warning: require_once(/QueryString.php) [function.require-once]: failed to open stream: No such file or directory in /home/binxxx/public_html/noblip.com/index.php on line 50
Strict Standards: require_once() [function.require-once]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in /home/binxxx/public_html/noblip.com/index.php on line 50
Fatal error: require_once() [function.require]: Failed opening required '/QueryString.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/binxxx/public_html/noblip.com/index.php on line 50
--- End quote ---
Did I get hacked? Can someone help me fix this?
You can visit the website here: http://noblip.com/ [nofollow]
MrPhil:
--- Quote from: cheater1 on July 29, 2012, 10:53:42 AM ---Strict Standards: main() [function.main]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function.
--- End quote ---
Your database entry for your timezone is either incorrect or obsolete. In Admin > Server Timezone, select the proper entry (probably America/Chicago in your case). Or, you can edit it in phpMyAdmin: table smf_settings, row 'default_timezone' and enter that string in place of whatever you have now (if anything).
--- Quote ---Notice: Undefined variable: boarddir in /home/binxxx/public_html/noblip.com/index.php on line 46
Notice: Undefined variable: sourcedir in /home/binxxx/public_html/noblip.com/index.php on line 50
Warning: require_once(/QueryString.php) [function.require-once]: failed to open stream
--- End quote ---
Is your Settings.php file empty? It can get that way when multiple database errors trigger a known SMF bug. Copy your (non-empty) Settings_bak.php file over the empty Settings.php file. If not empty, did something corrupt the Settings.php file? Compare it to a fresh copy.
Once you're happy with your settings (in Settings.php), lock it down by making it Read-Only (444 permissions). That will keep it from being emptied out again by the bug.
No hack.
cheater1:
--- Quote from: MrPhil on July 29, 2012, 11:25:18 AM ---
--- Quote from: cheater1 on July 29, 2012, 10:53:42 AM ---Strict Standards: main() [function.main]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function.
--- End quote ---
Your database entry for your timezone is either incorrect or obsolete. In Admin > Server Timezone, select the proper entry (probably America/Chicago in your case). Or, you can edit it in phpMyAdmin: table smf_settings, row 'default_timezone' and enter that string in place of whatever you have now (if anything).
--- Quote ---Notice: Undefined variable: boarddir in /home/binxxx/public_html/noblip.com/index.php on line 46
Notice: Undefined variable: sourcedir in /home/binxxx/public_html/noblip.com/index.php on line 50
Warning: require_once(/QueryString.php) [function.require-once]: failed to open stream
--- End quote ---
Is your Settings.php file empty? It can get that way when multiple database errors trigger a known SMF bug. Copy your (non-empty) Settings_bak.php file over the empty Settings.php file. If not empty, did something corrupt the Settings.php file? Compare it to a fresh copy.
Once you're happy with your settings (in Settings.php), lock it down by making it Read-Only (444 permissions). That will keep it from being emptied out again by the bug.
No hack.
--- End quote ---
I can't log onto admin because I can't even load the page.
What happens with both Settings.php and Settings_bak.php are empty?
K@:
Probably best to upload a copy from the install archive and then run this:
http://wiki.simplemachines.org/smf/Repair_settings.php
cheater1:
--- Quote from: K@ on July 29, 2012, 01:23:38 PM ---Probably best to upload a copy from the install archive and then run this:
http://wiki.simplemachines.org/smf/Repair_settings.php
--- End quote ---
Ok now I have these two errors:
--- Quote ---Strict Standards: require_once() [function.require-once]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in /home/binxxx/public_html/noblip.com/Settings.php on line 51
Parse error: syntax error, unexpected '}' in /home/binxxx/public_html/noblip.com/Settings.php on line 51
--- End quote ---
I can't think of a way of changing the timezone because the website will not load at all.
Navigation
[0] Message Index
[#] Next page
Go to full version