Previous Thread
Next Thread
Print Thread
Rate Thread
#259218 09/20/2003 7:26 AM
Joined: Feb 2003
Posts: 36
jma
Offline
User
User
Offline
Joined: Feb 2003
Posts: 36
Any insight as to why I'm getting this error:

SQL ERROR: Unable to do_query: SELECT DISTINCT Cat_Title,Cat_Number,Cat_Description FROM w3t_Category WHERE Cat_Type='forum' ORDER BY Cat_Number
Got error 69 from table handler

When I link to posts from my home page, I can view the thread, but I can't view the main index. Thanks in advance.

Sponsored Links
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Run this from the Threads admin SQL window or PHPMyAdmin

REPAIR TABLE w3t_Category

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
If that fails to correct it you can restore a backup of the Category table.

Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
$ perror 69
Error code 69: Srmount error

That's one I haven't seen before.

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
I wonder if itis so trashed there is nothing to mount

Sponsored Links
Joined: Feb 2003
Posts: 36
jma
Offline
User
User
Offline
Joined: Feb 2003
Posts: 36
That did something, but now I have another error. Here is what I got from repairing w3t_Category:

Resource id #12 row(s) affected by your query.

Now when I try and go to Main Index, I get:

SQL ERROR: Unable to do_query: SELECT DISTINCT Cat_Title,Cat_Number,Cat_Description FROM w3t_Category WHERE Cat_Type='forum' ORDER BY Cat_Number
Can't open file: 'w3t_Category.MYD'. (errno: 144)

I must admit, I haven't done ANY table backups and I don't know if my site host does them or how often. Hope I'm not SOL. Thanks, Joe.

Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
$ perror 144
Error code 144: Unknown error 144
144 = Table is crashed and last repair failed

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Okay well all if not lost
I just had this happen to a guy a few days ago.

Do the following. These are sql queries from Threads admin panel.

1.

DROP TABLE w3t_Category

2.

CREATE TABLE `w3t_Category` (
`Cat_Title` varchar(120) NOT NULL default 'General Discussion',
`Cat_Number` int(9) unsigned NOT NULL default '0',
`Cat_Description` text,
`Cat_Type` varchar(10) NOT NULL default 'forum',
KEY `indx1` (`Cat_Title`),
KEY `indx2` (`Cat_Number`),
KEY `type_ndx` (`Cat_Type`)
) TYPE=MyISAM;


3. Then in your admin panel you can recreate your categories.
If you go to EDIT FORUMS you will notice that the category names are listed with forums underneath still. So jot down the categories in order as the forums are displayed in order under the proper cat order in the edit window. Now go to create categories and create them one at a time in the order you wrote them down. All should be well and working for you now.

This is the way to do it if you have no backups. I suggest you do backups from now on to be safe. You never know when your going to lose the user or post tables under something like this.

Joined: Feb 2003
Posts: 36
jma
Offline
User
User
Offline
Joined: Feb 2003
Posts: 36
Just sat down this AM to complete this and I tried the SQL table repair one more time. It worked, so I didn't have to drop and replace the table.

I greatly appreciate what you did to help me through this. Thanks so much.
Joe.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)