Previous Thread
Next Thread
Print Thread
Hop To
Joined: Dec 2003
Posts: 1,796
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,796
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 6: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,796
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,796
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
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
0 members (), 591 guests, and 147 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)