• Welcome to Simple Machines Community Forum. Please login or sign up.
September 24, 2021, 08:06:06 AM

News:

SMF 2.0.18 has been released! Please update. Read more.


Strict Standards: require - Message

Started by ReHaB Gaming, August 29, 2010, 06:58:41 PM

Previous topic - Next topic

ReHaB Gaming

I've just gone to access our forum only to be met with this message -

Strict Standards: require() [function.require]: 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 'Europe/London' for 'BST/1.0/DST' instead in /home/nango/public_html/forum/cache/data_60e124128124e517b42689dec7317667-SMF-modSettings.php on line 1

Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/nango/public_html/forum/cache/data_60e124128124e517b42689dec7317667-SMF-modSettings.php on line 1

Strict Standards: require() [function.require]: 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 'Europe/London' for 'BST/1.0/DST' instead in /home/nango/public_html/forum/cache/data_60e124128124e517b42689dec7317667-SMF-modSettings.php on line 1

Parse error: syntax error, unexpected ':' in /home/nango/public_html/forum/cache/data_60e124128124e517b42689dec7317667-SMF-modSettings.php on line 1


I'm the only admin and I've not made any changes and/or installed any mods for months. It's been working without any problems for a year now until this message suddenly appeared.

Any ideas and/or suggestions?!?

Edit - http://www.nango-gamers.co.uk/forum/

Matthew K.

Try clearing all of the cached files in ./cache MAKING sure, to only delete the cached files, not index.php or .htaccess (if it applies) to you

Edit: When I say clearing - I mean delete them.

ReHaB Gaming

Perfect!

Thanks for your prompt help!

Edit - Purely out of curiosity what would cause that error?

Matthew K.

As the error states, it looks like it's something wrong with modSettings, in other words, something that was inputted in to a field, possibly? It depends.

Glad you got it working, and not a problem. :)

NoFeaR / NFSMW

I got the same error. Wonder why. I see allot of data file. What should i delete?

yakyakyak

Quote from: NFSMW on August 30, 2010, 03:25:41 AM
I got the same error. Wonder why. I see allot of data file. What should i delete?

This topic has been marked as solved hence your reply/new question may be better in a new topic

Matthew K.

This is Nango's support topic, and it is resolved.

Please open your own topic, regarding your issue. If you post the link here, I will have a look.
Quote from: NFSMW on August 30, 2010, 03:25:41 AM
I got the same error. Wonder why. I see allot of data file. What should i delete?

ReHaB Gaming

Me again..

Since I was here last this has happened a further three times. The latest being 5 minutes ago -


Strict Standards: require() [function.require]: 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 'Europe/London' for 'BST/1.0/DST' instead in /home/nango/public_html/forum/cache/data_60e124128124e517b42689dec7317667-SMF-modSettings.php on line 1

Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/nango/public_html/forum/cache/data_60e124128124e517b42689dec7317667-SMF-modSettings.php on line 1

Strict Standards: require() [function.require]: 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 'Europe/London' for 'BST/1.0/DST' instead in /home/nango/public_html/forum/cache/data_60e124128124e517b42689dec7317667-SMF-modSettings.php on line 1

Parse error: syntax error, unexpected ':' in /home/nango/public_html/forum/cache/data_60e124128124e517b42689dec7317667-SMF-modSettings.php on line 1


Why does this keep happening now when it's been fine for the previous 12 months or more?

Each time it occurs I clear the cache folder and the forum is fine again until it randomly happens the next time.

ReHaB Gaming

September 10, 2010, 10:46:48 AM #8 Last Edit: September 10, 2010, 10:50:15 AM by Nango
Now I've lost everything - http://www.nango-gamers.co.uk/forum/

Edit - Had to download SMF again and upload index.php to get it back.

Something weird is going on somewhere.

Joker™

Quote/cache/data_60e124128124e517b42689dec7317667-SMF-modSettings.php on line 1
Do you have that file?
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Aleksi "Lex" Kilpinen

Hi Nango, any updates on this? Is this still an issue?
A Finnish Project Manager (Support Specialist)
 Happily running multiple SMF 2.x installations.
  Fooling around with i7-10700 @ 2,90GHz-4.80GHz / 16Gb / RTX-2070 Super / 3840x2160 / Win 10 x64


How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Srinib

Since the issue of this topic is very old, i would have started my topic as a new one. Because my issue is the exactly the same, i am posting it here itself.

QuoteStrict Standards: require() [function.require]: 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 'CST/-6.0/no DST' instead in /home4/bee5u/public_html/SchoolGram.com/cache/data_73b48d048470364c7240932ed7c99471-SMF-modSettings.php on line 38

Warning: Unexpected character in input: '' (ASCII=24) state=1 in /home4/bee5u/public_html/SchoolGram.com/cache/data_73b48d048470364c7240932ed7c99471-SMF-modSettings.php on line 38

Strict Standards: require() [function.require]: 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 'CST/-6.0/no DST' instead in /home4/bee5u/public_html/SchoolGram.com/cache/data_73b48d048470364c7240932ed7c99471-SMF-modSettings.php on line 38

Parse error: syntax error, unexpected T_STRING in /home4/bee5u/public_html/SchoolGram.com/cache/data_73b48d048470364c7240932ed7c99471-SMF-modSettings.php on line 38
My home page brings up the above errors.

And i have a bunch of "data_73b48d......" files starting from "data_73b48d048470364c7240932ed7c99471-SMF-parse-96-62ff54bad228e2b1408617636c587eee.php" to "data_73b48d048470364c7240932ed7c99471-SMF-theme_settings-1.php" in /cache.

What could be the problem?

If it is of any use for further investigation, i shall provide you with all the(27 of them all) "data_73b48d......" files in my /cache.

Kindred

just delete the data_ files from your cache folder  -- as instructed in the first repsonse
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."

Srinib

I just deleted data_73b48d048470364c7240932ed7c99471-SMF-modSettings.php. And it seems working. That is fine.

But why does it happen this way? What exactly is the issue?

Arantor

Because the file cache is buggy in 2.0.
No good deed goes unpunished
All helpful urges should be circumvented

Advertisement: