Previous Thread
Next Thread
Print Thread
Rate Thread
#282227 11/22/2004 12:43 AM
Joined: Nov 2004
Posts: 2
Lurker
Lurker
Offline
Joined: Nov 2004
Posts: 2
A few days ago the forum I administer went down. It is running ubbthreads 6.5.0. I fixed it by running "REPAIR TABLE w3t_posts". After that the forum pulled up fine. There is one section that is not showing any new posts. You can post in there but it will not show up. I am able to see that post in the w3t_posts table so I dont think they are missing from the table. Could the indexes be corrupt? Any advice for a newbie?

Sponsored Links
Joined: Mar 2000
Posts: 528
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 528
I would first check the forum Keyword to double check what it is set at.

Do you have phpMyAdmin installed? Very helpful tool to figure this type of stuff out.

Make sure the keyword you have set for the forum actually has posts with that same keyword, and if not, do a test. Post in the forum, then go into phpMyAdmin and see what keyword was assigned to your post in the w3t_Posts table.

Joined: Jan 2004
Posts: 40
User
User
Joined: Jan 2004
Posts: 40
Is there a way to rebuild the indexes?

Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
You will have to drop each index in turn and then recreate it to do this.

ALTER TABLE tablename DROP INDEX indexname;
ALTER TABLE tablename ADD INDEX indexname (field1, field2, ...);

As an example I am using the w3t_AddressBook table:

ALTER TABLE w3t_AddressBook DROP INDEX address_ndx1;
ALTER TABLE w3t_AddressBook ADD INDEX address_ndx1 ( Add_Owner );

www.mysql.com will be your guide and ensure that the ADD INDEX is correct while creating the index because the one that you are working on might be a PRIMARY (and then the syntax changes).

I hope this helps.


Nikos

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
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
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)