vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Threadviews Error (https://vborg.vbsupport.ru/showthread.php?t=261219)

Nocturnal222 03-31-2011 09:23 AM

Threadviews Error
 
Quote:

threadviews Check Error: Incorrect file format 'threadviews'
threadviews Check Error: Corrupt
threadviews
I got this error after running the repair/optimize table as I do forum maintenance monthly. From there, we cant backup the forum

Anyway to have it fixed?


-m

Lynne 03-31-2011 02:58 PM

If you run repair/optimize on your threadviews table and get told:
threadviews Check Error: Incorrect file format 'threadviews'

Then run these queries to drop/recreate the table:

1:
DROP TABLE IF EXISTS threadviews;

2:
CREATE TABLE threadviews (
threadid INT UNSIGNED NOT NULL DEFAULT '0',
KEY threadid (threadid)
);

If you have a table prefix, then be sure to add that (ie. prefixthreadviews)

Nocturnal222 04-01-2011 07:49 AM

Hello Ms Lynne..
Will this affect the files? Or will it delete important files? Or will any data be loss?

Thank You.
-m

Lynne 04-01-2011 04:14 PM

It won't affect any files - those are database queries. If you had any threadview counts waiting to be added to the total, then yes, you will lose that data. However, right now you don't have that data either since the table is having problems.

Nocturnal222 04-02-2011 07:54 AM

<font color="DarkRed">miss lynne,

thank you very much for the help.

kudos!

-m</font>


All times are GMT. The time now is 11:29 PM.

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.01000 seconds
  • Memory Usage 1,713KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete