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

Reply
 
Thread Tools Display Modes
  #1  
Old 05-18-2003, 11:06 AM
tinbin tinbin is offline
 
Join Date: Mar 2003
Location: lincs uk
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Database error

There is an error in my database and i can't find how come..
I didn't install any hack or modification for the last weeks...

The URLs in the mail also point to a wrong URL:
/forum/~awesome-/forum/index.php

It just has to be forum/index.php

Can anyone give me a clue what causes this error?
Here's the mail:
--------------
Subject: vBulletin (forum) Database error!
All headers
Database error in vBulletin 2.2.9:

Invalid SQL: SELECT count(*) AS messages FROM privatemessage WHERE userid=1209 AND dateline>1053245729 AND
folderid=0
mysql error: Can't open file: 'privatemessage.MYI'. (errno: 145)

mysql error number: 1016

Date: Sunday 18th of May 2003 04:50:06 AM
Script: http://www.awesome-forums.com/forum/~awesome-/forum/index.php?
Referer:






[Sun May 18 04:37:46 2003] [error] [client 195.92.168.169] File does not exist: /home/awesome-/public_html/404.shtml
[Sun May 18 04:37:46 2003] [error] [client 195.92.168.169] File does not exist: /home/awesome-
/public_html/forum/plasma/back.gif
[Sun May 18 04:37:34 2003] [error] [client 195.92.168.169] File does not exist: /home/awesome-/public_html/404.shtml
[Sun May 18 04:37:34 2003] [error] [client 195.92.168.169] File does not exist: /home/awesome-
/public_html/forum/plasma/strip_back.gif
[Sun May 18 04:37:30 2003] [error] [client 195.92.168.169] File does not exist: /home/awesome-/public_html/404.shtml
[Sun May 18 04:37:30 2003] [error] [client 195.92.168.169] File does not exist: /home/awesome-
/public_html/forum/plasma/back.gif
[Sun May 18 04:07:39 2003] [error] [client 81.107.14.132] File does not exist: /home/awesome-/public_html/404.shtml
[Sun May 18 04:07:39 2003] [error] [client 81.107.14.132] File does not exist: /home/awesome-/public_html/forum/plasma/back.gif
[Sun May 18 04:07:25 2003] [error] [client 81.107.14.132] File does not exist: /home/awesome-/public_html/404.shtml
[Sun May 18 04:07:25 2003] [error] [client 81.107.14.132] File does not exist: /home/awesome-
/public_html/forum/plasma/strip_back.gif
[Sun May 18 04:07:24 2003] [error] [client 81.107.14.132] File does not exist: /home/awesome-/public_html/404.shtml
[Sun May 18 04:07:24 2003] [error] [client 81.107.14.132] File does not exist: /home/awesome-/public_html/forum/plasma/back.gif
[Sun May 18 04:06:56 2003] [error] [client 81.107.14.132] File does not exist: /home/awesome-/public_html/404.shtml
[Sun May 18 04:06:56 2003] [error] [client 81.107.14.132] File does not exist: /home/awesome-/public_html/forum/plasma/back.gif
[Sun May 18 04:06:39 2003] [error] [client 81.107.14.132] File does not exist: /home/awesome-/public_html/404.shtml
[Sun May 18 04:06:39 2003] [error] [client 81.107.14.132] File does not exist: /home/awesome-/public_html/forum/plasma/back.gif

--------------
Reply With Quote
  #2  
Old 05-18-2003, 11:08 AM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[SQL]REPAIR privatemessage[/sql]

try to run this query one or several times and it should work again
Reply With Quote
  #3  
Old 05-18-2003, 11:34 AM
tinbin tinbin is offline
 
Join Date: Mar 2003
Location: lincs uk
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is what i get in phpMyAdmin:

Error

SQL-query :

REPAIR privatemessage

MySQL said:

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'privatemessage' at line 1
Back
Reply With Quote
  #4  
Old 05-18-2003, 11:40 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try (Backup first):

REPAIR TABLE privatemessage;
Reply With Quote
  #5  
Old 05-18-2003, 12:27 PM
tinbin tinbin is offline
 
Join Date: Mar 2003
Location: lincs uk
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks a lot!
This seems to work
Will check if everything still works, but on the first sight everything seems back ok...

Thx a lot pal!!
Reply With Quote
  #6  
Old 05-18-2003, 01:06 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No problem. Xenon did all the hard work.
Reply With Quote
  #7  
Old 05-18-2003, 05:09 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

damn forgotten words ^^

btw. there is a repair.php in the vb.zip.
whenever you see a .MYD error of MySQL you should run it
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 07:05 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.03826 seconds
  • Memory Usage 2,214KB
  • 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
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete