Go Back   vb.org Archive > Community Discussions > Forum and Server Management
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-27-2009, 04:41 AM
leannet leannet is offline
 
Join Date: Feb 2008
Location: Australia
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Database error

Can anyone help me with this please

Database error in vBulletin 3.7.1:

Invalid SQL:

SELECT * FROM user FORCE INDEX (lastactivity)
WHERE lastactivity > 1256562000 ORDER BY username;

MySQL Error : Incorrect key file for table './xxxxxxxxxxxxx/user.MYI'; try to repair it
Error Number : 126
Request Date : Tuesday, October 27th 2009 @ 12:39:16 AM
Error Date : Tuesday, October 27th 2009 @ 12:39:17 AM
Script : http://www.xxxxxxxxxxxxxx.com/
Referrer :
IP Address : xxxxxxxx
Username : xxxxx
Classname : vB_Database_MySQLi
MySQL Version : 5.0.85-community-log
Reply With Quote
  #2  
Old 10-27-2009, 04:52 AM
WEBDosser's Avatar
WEBDosser WEBDosser is offline
 
Join Date: Oct 2001
Location: @ MyPC
Posts: 824
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try running a repair:

Admin CP -> Maintenance -> Repair / Optimize Tables

Run it twice to make sure it comes back clean the second time.
Reply With Quote
  #3  
Old 10-27-2009, 04:55 AM
leannet leannet is offline
 
Join Date: Feb 2008
Location: Australia
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't log into admin cp I keep getting error aswell

Do you know or how this could have happened ?
Reply With Quote
  #4  
Old 10-27-2009, 05:09 AM
WEBDosser's Avatar
WEBDosser WEBDosser is offline
 
Join Date: Oct 2001
Location: @ MyPC
Posts: 824
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

try to disable the hook system and then enter admincp..

you need to edit includes/config.php and add the following code: define('DISABLE_HOOKS', true);

then delete the line when done
Reply With Quote
  #5  
Old 10-27-2009, 06:16 AM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If the "user" table is crashed as the msg states, the you will not be able to login from the admincp or the forum pages wether the hook system is disabled or not.

You will need to run a repair with either myisamchk via the cmd line in ssh or use phpmyadmin which comes with most panels like cpanel, plesk etc.
Reply With Quote
  #6  
Old 10-27-2009, 06:29 AM
leannet leannet is offline
 
Join Date: Feb 2008
Location: Australia
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the reply snakes I am not familiar with phpmyadmin but I will see what I can do.

--------------- Added [DATE]1256628638[/DATE] at [TIME]1256628638[/TIME] ---------------

is phpmyadmin the same thing as smart ftp client, sorry to be a pita
Reply With Quote
  #7  
Old 10-27-2009, 06:49 AM
DeanLag DeanLag is offline
 
Join Date: Jul 2009
Posts: 185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, PhpMyAdmin is a software to handle the administration of MySQL (textbook definition =p) and FTP client is just to transfer file from your computer to your webhost, or vice versa.

Did you try disabling the plugin system and see if you can go into ACP?
How did your error happen? Did you install a new Mod then you got the error? or it just happened out of the blue?
Reply With Quote
  #8  
Old 10-27-2009, 06:53 AM
leannet leannet is offline
 
Join Date: Feb 2008
Location: Australia
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It just happened out of the blue

how do I disable the plug in system ?

--------------- Added [DATE]1256632191[/DATE] at [TIME]1256632191[/TIME] ---------------

i've downloaded phpmyadmin but I can't get it to work I must have done something wrong.

--------------- Added [DATE]1256632289[/DATE] at [TIME]1256632289[/TIME] ---------------

I downloaded this one
phpMyAdmin-3.2.2.1-english.7z 1.5 MiB is it correct?
Reply With Quote
  #9  
Old 10-27-2009, 08:24 AM
DeanLag DeanLag is offline
 
Join Date: Jul 2009
Posts: 185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you have cPanel or Plesk, it usually comes with PhpMyAdmin.

To disable the plugin system

Quote:
you need to edit includes/config.php and add the following code: define('DISABLE_HOOKS', true);
Reply With Quote
  #10  
Old 10-27-2009, 12:25 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

leannet posted in his first post that the "USER" table is crashed with a incorrect key, what is disabling the plugin system going to do?


@leannet
You should do a little searching over at vbulletin com for incorrect key as there are a few answers there as well as google that might shed some light on why the sudden crash, it can even be caused by mis-matched character collations on your table.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:05 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06880 seconds
  • Memory Usage 2,251KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete