Customizing SMF > SMF Coding Discussion

Cache problems

(1/3) > >>

Curbow 5:
I'm sure it's a server config problem, as i didn't have this problem until a few days ago, but somehow my SMF is freaking out! It switches between different server times (from a few days ago until the present) causing the forum to not display messages which were posted 'in the future' and causing lot's of session errors, stuff like that. I emptied out my cache and cookies in FireFox, IE and Opera, but it keeps happening. You can test it through my test / test account.

My SMF and config

Maybe somebody knows where the problem lies? My host hasn't responded yet...

Grudge:
It sounds like a server problem. The server seems to be switching it's current time (from what you said) which would result in messed up message times, sessions etc

Grudge:
*Bump*

Details are in your pm inbox.

Curbow 5:

--- Quote ---Hey, Curbow 5, you don't have any messages at the moment.
--- End quote ---

 ??? forgot to hit the 'send' button?

anyway, i just noticed, it doesn't shift time when using a regular date() command..... could it have something to do with the session_cache_limiter?

Grudge:
Hey,

Sorry - I actually replied to the wrong thread - that was suppose to go in the cookies thread! Anyway - I'm havng a look at your server. session_cache_limiter is set to nocache which is fine.

I don't understand what you mean by it "doesn't time shift" with regular date command? Obviously if you use date() on it's own it won't do the time offset command which makes the forum time correct for individual users. I notice that your server time is slightly out anyway (It says 54 minutes now and it's actually 48 minutes so the server is some 6 minutes out).

You said you changed host recently. Did you take into account the fact that the host may not be in the same country as the old one? The new host looks like it's in Europe, so will be on a different time setup, you'd need to offset it in the admin settings.

I'll keep checking the server to see if the time "changes" over the next few hours.

Grudge

Navigation

[0] Message Index

[#] Next page

Go to full version