Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » RADICORE Installation Issues » V1.73.0 cannot logon
Re: V1.73.0 cannot logon (SOLVED) [message #3870 is a reply to message #2920] Wed, 06 November 2013 12:38 Go to previous messageGo to previous message
kong is currently offline  kong
Messages: 90
Registered: December 2011
Member
This problem can be isolated to file php_session.class.inc, function gc.

Starting from version 1.73 _dml_deleteSelection("last_updated < DATE_SUB(NOW(), INTERVAL $max_lifetime SECOND)") is used as criteria to clean up the session table during logon process. MYSQL will produce dates and time in the timezone of localhost while PHP uses UTC as default timezone. Hence, if your localhost pc runs for example an Asian timezone, your logon session will always be wiped out by the garbage collector function gc. When I change my pc timezone to UTC, it works fine. Also, if I revert function gc back to what it was in version 1.72 it works fine too, because there all time and dates are derived from PHP functions, no mixing up of SQL and PHP dates.

I suspect you can replicate this problem by setting your localhost pc timezone to UTC +5 or greater.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: built-in installer?
Next Topic: Has anyone had a successful WAMP installation?
Goto Forum:
  


Current Time: Fri Mar 29 06:15:27 EDT 2024

Total time taken to generate the page: 0.01315 seconds