Previous Thread
Next Thread
Print Thread
Hop To
Joined: Dec 2003
Posts: 1,798
Likes: 2
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,798
Likes: 2
I upgraded a threads 6.5.5 site to threads 7.0.1 and I am running into an error editing a post posted back in the 6.5.5 days.

Code
Script: /webroot/www/mysite/HTML/forum/scripts/modifypost.inc.php
Line#: 438
SQL Error: Incorrect key file for table 'ubbt_POSTS'; try to repair it
SQL Error #: 1034
Query: update ubbt_POSTS set POST_SUBJECT = 'The

I've repaired the posts table a few times but still get the above error. I even attempted to edit the post within phpmyadmin and get the same error then. I don't see the error when modifying current posts.

Any idea?

Last edited by Rick; 11/22/2006 5:31 PM.

- Allen
- ThreadsDev | PraiseCafe
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
That's a bad one. Usually that happens when MySQL dies or is stopped during a write. Basically, you might need to end up recreating the table. What you'd have to do is dump out the ubbt_POSTS table to a backup and then delete the table. Then you'd need to grab the create table syntax for it out of the createtable.php script and recreate the table and then reimport the posts back into it.

Joined: Dec 2003
Posts: 1,798
Likes: 2
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,798
Likes: 2
argh, and the hits just keep on coming :smash:

Thanks for the info, this is not a threads bug then, this was the site moved to a server with mysql 3.something that was just updated to 4.1something. Could have happened at any point during that time then.


- Allen
- ThreadsDev | PraiseCafe

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
How do I locate the database error?
by Conrad - 11/08/2025 9:03 AM
Faded Header ...
by ShiftKnowledge - 11/06/2025 5:29 PM
What does UBB use to geolocate IPs?
by Baldeagle - 11/04/2025 11:41 PM
Problems with locked threads
by Morgan - 11/03/2025 3:38 AM
Who's Online Now
3 members (Gizmo, ShiftKnowledge, Conrad), 3,518 guests, and 169 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
test
test
by Gizmo, August 20
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20250209)