[] Updating step to 37 .... OK Dropping ..."> [] Updating step to 37 .... OK Dropping ...">
Previous Thread
Next Thread
Print Thread
Hop To
#41726 09/22/2004 12:17 PM
Joined: Feb 2004
Posts: 22
R
stranger
stranger
R Offline
Joined: Feb 2004
Posts: 22
How to fix and proceed ? <img src="https://www.ubbcentral.com/boards/images/graemlins/confused.gif" alt="" />

[]
Updating step to 37 .... OK
Dropping ununsed indexes... FAILED
SQL Query: ALTER TABLE w3t_Posts DROP INDEX w3t_Postsindex2
Reason for failure: Got error 122 from table handler
Upgrade Step: http://www.inpiega.com/Forum/install/upgrade.php?step=altertable
[/]

#41727 09/22/2004 12:34 PM
Joined: Feb 2004
Posts: 22
R
stranger
stranger
R Offline
Joined: Feb 2004
Posts: 22
Probably it's my server problem, more or less at any operation W3t_Posts is marked as "in use" and unusable...

#41728 09/22/2004 1:29 PM
Joined: Dec 2003
Posts: 611
Former Developer
Former Developer
Joined: Dec 2003
Posts: 611
Try running a "repair table w3t_Posts" command from a phpMyAdmin installation. You could also ask your host to do this for you.


Charles Capps
Former UBB.classic Maintainer
#41729 09/23/2004 4:27 AM
Joined: Feb 2004
Posts: 22
R
stranger
stranger
R Offline
Joined: Feb 2004
Posts: 22
Hi Charles, repair has been performed but I'm still getting the same error.

#41730 09/23/2004 7:28 AM
Joined: Feb 2004
Posts: 22
R
stranger
stranger
R Offline
Joined: Feb 2004
Posts: 22
May I have the SQL command executed in step 37 so I can ask my server admin to run it for me ?

#41731 09/23/2004 1:49 PM
Joined: Jun 2006
Posts: 346
J
enthusiast
enthusiast
J Offline
Joined: Jun 2006
Posts: 346
In altertable-6.5.php it's

function alterstep37() {
global $config;
$query = "
ALTER TABLE {$config['tbprefix']}Posts
DROP INDEX {$config['tbprefix']}Postsindex2
";
do_query($query,"Dropping ununsed indexes...");

}


--
Website Development and Management
www.jcswebdev.com
#41732 09/23/2004 2:12 PM
Joined: Feb 2004
Posts: 22
R
stranger
stranger
R Offline
Joined: Feb 2004
Posts: 22
Thanks JC, so in MySQL I only need t perform a:
ALTER TABLE w3t_Posts DROP INDEX w3t_Postsindex2
?

Last edited by Rutto; 09/23/2004 2:21 PM.
#41733 09/23/2004 2:14 PM
Joined: Jun 2006
Posts: 346
J
enthusiast
enthusiast
J Offline
Joined: Jun 2006
Posts: 346
ALTER TABLE w3t_Posts
DROP INDEX w3t_Postsindex2

Unless you do not use w3t_ . MAKE BACKUPS FIRST <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" />


--
Website Development and Management
www.jcswebdev.com
#41734 09/23/2004 3:13 PM
Joined: Dec 2003
Posts: 611
Former Developer
Former Developer
Joined: Dec 2003
Posts: 611
Wait.

If your table is marked as crashed, then trying to run the alter will do nothing.

In this case, you must speak to your web hosting provider before you can continue the upgrade process. They will need to examine the error with the table and repair it for you.

Once your table has been repaired, you can try the upgrade process again. It will automatically pick up the altertable where it left off.

Last edited by Charles Capps; 09/23/2004 3:14 PM.

Charles Capps
Former UBB.classic Maintainer

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Version 7.7.5 Images suddenly not displaying
by Stovebolt - 05/04/2024 11:19 AM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
Who's Online Now
0 members (), 1,144 guests, and 193 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 20240506)