View Full Version : Stuck on date?
11-24-2004, 08:51 AM
Hi, I'm running 5.7, and all of the sudden the date has ceased to move. It's claiming today is the 23rd. All admin and setup tools still work. I've restarted the server, apache, everything. Any ideas? Thanks.
11-24-2004, 09:03 AM
Today's date is taken directly from PHP using the gmdate function. Only three things could cause this to happen. The first being that the code was modified and the $tnum variable was changed to equal 23. The date function of PHP has broken. Or, someone changed the GMT settings of the script or of the server (check the Setup Manager and see what time it shows).
11-24-2004, 09:11 AM
So, I haven't touched the code, and the Setup screen (setup/index.php) shows the 23rd as the date on the calendar. None of the server settings have been changed (It's been running untouched for about 2 months). I'm running PHPTriad, any clue how I can check to see if the date function is broken? Oh, and please feel free to dumb things down for me, as a late night last night has taken its' toll on my ability to think. Thanks.
11-24-2004, 09:16 AM
Is the time correct in the Setup Manager?
11-24-2004, 09:19 AM
I thought the setup manager was the /setup/index.php. I guess not, which is it? Oh, and upon further inspection the calendar is version 5.5, sorry.
11-24-2004, 09:21 AM
That is the setup manager. The time should be displayed to the right of the GMT selection (see the demo Setup Manager on this site).
If you don't have this feature, you may want to upgrade to the latest version.
If we can see the time, it would help determine what may be causing this issue.
11-24-2004, 09:25 AM
GMT: -12-11-10-9-8-7-6-5-4-3-2-1012345678910111213Current Time:09:22 PM Date Format: mm-dd-yyyy dd-mm-yyyyCurrent Date:11-23-2004
There we go, thanks.
Actually, I just went and looked at the system clock on the server, and somehow the A.M. never turned to P.M. (or someone has been tinkering w/ my server). So, that fixed it. Thanks for your help.
11-24-2004, 09:28 AM
No worries. :classic:
vBulletin® v3.8.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.