Support Forum

Date trouble

OL OlafKS
OlafKS
Member

Date displays wrong on my forum 🙁

in error log i have following messages:

 

file: /simple-press/forum/profile/forms/sp-form-display-options.php
line: 62
function: Unavailable
Notice | date_default_timezone_set() [function.date-default-timezone-set]: Timezone ID ‘UTC 4’ is invalid

 

Any ideas how to fix this? rolleys

4 Answers

New Answer

MP Mr Papa
Mr Papa
Member

three times matter… 1) actual server timezone 2) wp general settings timezone 3) each user timezone setting in profile…

the error you are getting is related to someone setting their timezone in the profile… but it looks like something fixed a while back… have you tried setting your timezone in the profile? if you set it to that, do you get error? what about non utc (pick a city) timezone?

OL OlafKS
OlafKS
Member

strange.. in the footer i have “forum timezone Europe/Moscow”… in my profile i have “timezone Europe/Moscow”… in WP settings also Europe/Moscow
but when i’m (or somebody) posting – there is a trouble… for example – now we have 05.02.2010 – 23:40.. and time when post is published (on the left, above the avatar) shows 06.02.2012 02:40

 

I have migrated from mingle forum… can it cause a problem?

OL OlafKS
OlafKS
Member

well… problem dissapeared Oo
what have i done… i changed WP time to utc, saved.. changed it back to Moskow time…