Posted by Troy Piggins on 11/22/07 00:14
We have some php pages on our intranet at work that have been working
fine for years. As a result, they rarely get edited.
The page I'm having trouble with is a timesheet entry page which
uses timestamps to record hours spent on different projects in a
mysql database. If users try to enter times using the php
interface, they are getting recorded correctly in the database
because I can directly access it and see the entries there.
However the php page that is supposed to display the hours by
reading back the entries from the database is /not/ correctly
displaying all the entries. It's never done this before.
Around the time that the page started misbehaving I noticed that
the clock on the server was ahead of our timezone by some 7 hours
or so. That was fixed as soon as I noticed it. For some reason
the ntp client didn't update.
I'm wondering if the system clock issue had something to do with
it? Any ideas on where to start the forensics?
I haven't posted any code at this stage to remain concise, but if
needed I can post code and sample outputs.
--
Troy Piggins
[Back to original message]
|