PDA

View Full Version : Major problem with posts - help! URGENT!


X-Fan
01-23-2003, 02:35 PM
I'm having a major problem today with new posts appearing before the first post in a thread. This is especially problematic in my news forums, such as here:

http://x-mencomics.com/xfan/forums/showthread.php?s=&threadid=15209

This has only happened today after a server reboot. Can anyone please answer why this is happening and how I can fix those affected threads and stop it happening to others?!

X-Fan
01-23-2003, 02:59 PM
Okay, very bizarre... somehow the dateline of the new post was swapped with the dateline of the first post in the thread, resulting in the new post appearing above the original first post. I had to manually edit the respective entries in the post table in my site's database to switch the datelines.

Does anyone have any ideas how that could have happened and how to stop it happening again?

Smoothie
01-23-2003, 06:36 PM
did you by any chance happen to make a time adjustment on your server? Same thing happened to me.

X-Fan
01-23-2003, 11:08 PM
I didn't, but it appears that the time was reset when the server was rebooted this morning. I managed to SSH in and reset the time, but that still didn't solve the problem of newer posts appearing before older ones.

Martin64
01-23-2003, 11:12 PM
Definitely sounds like a server time problem, I remember something similar when changing server for my boards a while back.

X-Fan
01-23-2003, 11:27 PM
Now I'm getting this error after clicking the "Get New" link...


Database error in vBulletin 2.2.8:

Invalid SQL: INSERT INTO search (searchid,query,dateline,querystring,showposts,use rid,ipaddress) VALUES (NULL,'1=1 AND thread.lastpost>=1043369587 AND thread.open<>10',1043370936,'',0,1,'203.173.250.142')
mysql error: Duplicate entry '80883' for key 1

mysql error number: 1062

Date: Thursday 23rd of January 2003 08:15:36 PM
Script: http://x-mencomics.com/xfan/forums/xfan/forums/search.php?s=&action=getnew
Referer: http://x-mencomics.com/xfan/forums/showthread.php?s=&threadid=15209&perpage=30&display=&pagenumber=2


Help!

X-Fan
01-23-2003, 11:30 PM
And now this error...


Database error in vBulletin 2.2.8:

Invalid SQL: SELECT searchid FROM search WHERE query='1=1 AND thread.lastpost>=1043369587 AND thread.open<>10'
mysql error: Can't open file: 'search.MYD'. (errno: 145)

mysql error number: 1016

Date: Thursday 23rd of January 2003 08:23:41 PM
Script: http://x-mencomics.com/xfan/forums/xfan/forums/search.php?s=&action=getnew
Referer: http://x-mencomics.com/xfan/forums/showthread.php?s=&threadid=15209&perpage=30&display=&pagenumber=2

TECK
01-24-2003, 10:43 AM
Contact your host. I hope you have a backup.