Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 03-21-2007, 08:44 AM
madramper madramper is offline
 
Join Date: Mar 2007
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default MySQL error 1030

I am getting error 1030. My forum is down now and I can't find a way around it. I went into phpMyAdmin and get an error message in there too.

#1016 - Can't open file: 'adminlog.MYI'. (errno: 145)

Can someone please help me?



This is the message i get:

Database error in vBulletin :

Invalid SQL:

SELECT *
FROM datastore
WHERE title IN ('','options','bitfields','attachmentcache','forum cache','usergroupcache','stylecache','languagecach e','products','pluginlist','cron','profilefield',' userstats','birthdaycache','maxloggedin','iconcach e','eventcache','mailqueue');

MySQL Error : Got error 127 from table handler
Error Number : 1030
Date : Wednesday, March 21st 2007 @ 02:36:27 AM
Script : http://delvallo.net/forum/
Reply With Quote
  #2  
Old 03-21-2007, 09:47 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

MySQL error code 127: Record-file is crashed

To fix this run Repair/Optimize in the Admin CP. You may need to run it more than once to fix all errors:
Admin CP -> Maintenance -> Repair/Optimize Tables -> Check All -> Continue

If you can not access your AdminCP, then you can upload the tools.php file from the vbulletin .zip file do_not_upload/ folder into your forumdir/admincp/ directory and run it through the browser, there's a switch there to run optimize and repair. Run it a few times for best result.

If you cannot access either the Admin CP or tools.php you can also use a tool like phpMyAdmin to repair tables.
Reply With Quote
  #3  
Old 03-21-2007, 10:10 AM
madramper madramper is offline
 
Join Date: Mar 2007
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried up loading the tools.php and get the same error:

Warning: mysql_query(): Unable to save result set in /home/delvallo/public_html/forum/includes/class_core.php on line 363


SO I tried going into phpMyAdmin and I get this error:

#1016 - Can't open file: 'adminlog.MYI'. (errno: 145)

Is there any other way to repair this? I called my host and they said it wasn't a database problem. That was before I got the #1016 error code though.


***** EDIT***

I can now get into phpMyAdmin. How do I know which tables to repair? Should I just check all of them and repair?

Also, my session has 24,948 Bytes of overhead. Is this normal? What can I do to change it?

Thanks again for all the help!
Reply With Quote
  #4  
Old 03-21-2007, 10:49 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You should repair (one or more times) each table that is reported as crashed.

Overhead on the session table is not an issue. The session table only resides in memory and gets rebuild each time MySQL is started.
Reply With Quote
  #5  
Old 03-21-2007, 10:53 AM
madramper madramper is offline
 
Join Date: Mar 2007
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was able to get into the tools.php. I repaired the tables twice. Then I tried getting into the admincp. I removed the tools.php and was able to log into the admincp. I went to Admin CP -> Maintenance -> Repair/Optimize Tables -> Check All -> Continue and ran that 3 times. I tried to access my forum and I get a blank page. Did I mess something up?

www.delvallo.net

At least I am not getting any more error messages

***edit***

I can get everything but the index.php. If I go directly to a thread, I can see it just fine, but when I try to view the forum index, I get a blank page.
Reply With Quote
  #6  
Old 03-21-2007, 06:07 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To troubleshoot this, please remove any hacks and disable your plugins, then see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

If so, reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server.

If your problem still exists, please create a new Style with no Parent set. Now browse the forum using this new style.

If you still have problems after that, open a support ticket at vbulletin.com
Reply With Quote
  #7  
Old 03-21-2007, 06:25 PM
madramper madramper is offline
 
Join Date: Mar 2007
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You're the man! The change to config.php allowed the forum index to show up.

This all started from a failed install of vB Spell. If I didn't add any plugins, can I just leave that code in the config.php? Is there another (more proper) way to correct the problem?

Thanks again for all of your help!
Reply With Quote
  #8  
Old 03-21-2007, 07:13 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the code you added to the config.php disabled your plugin system. So any current or future plugins will not work.

Now that you know it is caused by a plugin, you should uninstall the product causing it. After that you could remove that line again from the config.
Reply With Quote
  #9  
Old 03-21-2007, 07:48 PM
madramper madramper is offline
 
Join Date: Mar 2007
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The problem is there are no plugins or products installed. How would I uninstall them if they don't show up? The install failed at 99%, so I guess it is partially installed???
Reply With Quote
  #10  
Old 03-22-2007, 08:37 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You would need to contact the author or post in the thread of the modification to get this sorted i guess.
Reply With Quote
Reply

Thread Tools
Display Modes

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 08:32 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04234 seconds
  • Memory Usage 2,243KB
  • 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)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