Sunday, February 24th?
Levers, pulleys, widgets, computers, and other gearhead talk.
Moderators: arclight, happywaffle
Sunday, February 24th?
Has anyone else noticed that all of our posts today are showing as having been done on Sunday, Feb. 24??? BUT it's not... As far as I can telll, this is Thursday, January 24. What gives?
http://www.artofchange.com
Change is inevitable. Progress is not. Discover the difference YOU can make.
Change is inevitable. Progress is not. Discover the difference YOU can make.
Thanks MO
all is clear now.

http://www.artofchange.com
Change is inevitable. Progress is not. Discover the difference YOU can make.
Change is inevitable. Progress is not. Discover the difference YOU can make.
Something is not right. When I click on the "new posts" link up top it tells me I can't do a search so soon after my last even if I haven't done any searches at all. Also, when I read a message it is not marked as being "read" at all. It just stays that orange "unread" color. Staring at me...mocking me...urge to kill...rising.
"Have you ever scrapped high?" Jon Bolden "Stabby" - After School Improv
http://www.improvforevil.com
http://www.improvforevil.com
Ok, here's the story as I understand it:
I updated all my systems today and rebooted everything. The only problem I noticed was that the system clock was off by a month. No big deal - sync the system with a known-good time source, then start the program that sits in the background to keep time synced.
That can cause some issues especially if you're setting the clock back.
That will cause issues if your popular (but badly written) forum software subtracts the time of a user's last post from the current time to judge whether a user is flooding the forums. If that time difference is negative, something is wrong, and it's not because the user is doing anything evil.
Once Sherman and Mr. Peabody fire up the Wayback Machine and reset the system clock, the forum database has already stored the time of their last post and will prevent them from posting for (in this case) a month. Crap.
The fix is to stick a coathanger into the database and wiggle it around until the busticated post dates are set to something reasonable. For future reference, that fix is:
Things should be less retarded now, or, more accurately, roughly as retarded as normal.
Thanks for your patience,
Mr. Server Person
I updated all my systems today and rebooted everything. The only problem I noticed was that the system clock was off by a month. No big deal - sync the system with a known-good time source, then start the program that sits in the background to keep time synced.
That can cause some issues especially if you're setting the clock back.
That will cause issues if your popular (but badly written) forum software subtracts the time of a user's last post from the current time to judge whether a user is flooding the forums. If that time difference is negative, something is wrong, and it's not because the user is doing anything evil.
Once Sherman and Mr. Peabody fire up the Wayback Machine and reset the system clock, the forum database has already stored the time of their last post and will prevent them from posting for (in this case) a month. Crap.
The fix is to stick a coathanger into the database and wiggle it around until the busticated post dates are set to something reasonable. For future reference, that fix is:
Code: Select all
UPDATE phpbb2_posts SET post_time = UNIX_TIMESTAMP(SUBDATE(FROM_UNIXTIME(post_time), INTERVAL 1 MONTH)) WHERE FROM_UNIXTIME(post_time) > '2008-01-25';
Thanks for your patience,
Mr. Server Person
- Marc Majcher Offline
- Posts: 1621
- Joined: January 24th, 2006, 12:40 am
- Location: Austin, TX
- Contact:
That's your suggestion for our next scene.admin wrote:Code: Select all
UPDATE phpbb2_posts SET post_time = UNIX_TIMESTAMP(SUBDATE(FROM_UNIXTIME(post_time), INTERVAL 1 MONTH)) WHERE FROM_UNIXTIME(post_time) > '2008-01-25';
Most of it should be fixed. I had to reset the time fields in a couple of tables (sessions, search results, topics, etc.) to convince the software that nobody's flooding the systems with searches.
It just goes to show you how important accurate time is to computers.
Also I found the reason for the original problem - somehow the hardware clock was set a month in advance. No idea why, but it's fixed now.
It just goes to show you how important accurate time is to computers.
Also I found the reason for the original problem - somehow the hardware clock was set a month in advance. No idea why, but it's fixed now.
- slappywhite Offline
- Posts: 335
- Joined: September 4th, 2007, 10:37 pm
- Contact: