Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
0 registered (), 30 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/05/06
Posts: 88
Top Posters (30 Days)
Ruben 49
DennyP 24
Gizmo 24
Dunny 17
SteveS 14
AllenAyres 12
dbremer 10
SD 9
drkknght00 9
driv 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#168478 - 11/17/06 12:27 PM [NOTABUG] Incorrect key in posts table
AllenAyres Offline

Registered: 12/29/03
Posts: 1995
Loc: Texas
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?


Edited by Rick (11/22/06 05:31 PM)
_________________________
- Allen
- ThreadsDev | PraiseCafe
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#168479 - 11/17/06 12:42 PM Re: Incorrect key in posts table [Re: AllenAyres]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
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.
Top
#168487 - 11/17/06 02:43 PM Re: Incorrect key in posts table [Re: Rick]
AllenAyres Offline

Registered: 12/29/03
Posts: 1995
Loc: Texas
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
Top



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Ability to "like" individual posts (not Facebook "likes)
by doug
Yesterday at 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Custom forum permissions
by ntdoc
05/18/12 02:07 PM
Forum Stats
10489 Members
36 Forums
33840 Topics
181693 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image