Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-07-2008, 04:31 PM
uglyduck uglyduck is offline
 
Join Date: May 2006
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default problems after postindex table repair

I recently started receiving postindex errors after my upgrade from 3.6.8 to 3.7.2 I was able to resolve the errors by using phpmyadmin to run a repair on the postindex table. Below is the error I was receiving.

MySQL Error : Incorrect key file for table './xxxxxx_forums/postindex.MYI'; try to repair it
Error Number : 126
Request Date : Wednesday, July 2nd 2008 @ 09:13:25 PM
Error Date : Wednesday, July 2nd 2008 @ 09:13:25 PM
Script : http://www.domain.com/forums/newthre...ostthread&f=18
Referrer : http://www.domain.com/forums/newthre...newthread&f=18
IP Address : x.x.x.x
Username : xxxxxxx
Classname : vB_Database
MySQL Version : 5.0.51a-community

After repairing the table, I am now seeing issues viewing threads with multiple pages. For example, I have a 3 page thread with the links for those pages being...

http://www.domain.com/forums/the_cra...to_say_it.html
http://www.domain.com/forums/the_cra..._say_it-2.html
http://www.domain.com/forums/the_cra..._say_it-3.html

I am able to view page1 and page2 of the thread but if I try to go to page3 I am taken back to page2. I have not been able to do anything that will let me view the 3rd page. I've also noticed that when viewing the list of threads in this particular forum that it only shows page1 and page2 listed by the thread title but when I go into the thread I see all three pages listed at the top as links. I know that there is a 3rd page, just can't see it.

any ideas?

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

UPDATE: by posting a reply to the thread it appears to have repaired the link to page3. I have many other threads like this though. Is there possibly another table that needs to be repaired?
Reply With Quote
  #2  
Old 07-08-2008, 06:05 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would first disable any modifications running.
Reply With Quote
  #3  
Old 07-08-2008, 11:46 PM
uglyduck uglyduck is offline
 
Join Date: May 2006
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Already have...didn't make any difference. I'd guess that while the postindex table was corrupt that the new pages were not getting indexed. I was hoping someone could suggest a method to possibly reindex all threads or something...any thoughts?
Reply With Quote
  #4  
Old 07-09-2008, 12:04 AM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if you have shell access
cd to database folder, typically /var/lib/mysql/dbname
myisamchk -r *MYI
myisamchk -o *MYI

you may have to use phpmyadmin afterwards running those cmd's from a shell.

also run the index repair from the admincp maintenance area and make sure the index are there.
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 02:20 AM.


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.06198 seconds
  • Memory Usage 2,193KB
  • Queries Executed 13 (?)
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
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete