vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Error..please help... (https://vborg.vbsupport.ru/showthread.php?t=44807)

410 10-21-2002 12:49 AM

Error..please help...
 
My Cpanel works, but when I go to my index.php it gives me this error. I didn't do anything to cause this, my server went down, and when it came back up, this happened....

Database error in vBulletin 2.2.6:

Invalid SQL: SELECT COUNT(*) AS messages FROM privatemessage WHERE userid=7
mysql error: Can't open file: 'privatemessage.MYD'. (errno: 145)

mysql error number: 1016

Date: Sunday 20th of October 2002 05:10:33 PM
Script: http://www..com/forums//forums/index.php?s=
Referer:

Xenon 10-21-2002 06:27 AM

go into PHPmyadmin and run this:
[sql]REPAIR privatemessage[/sql]

Dean C 10-21-2002 06:43 AM

and if you haven't got any hacks installed i'd reccomend upgrading to 2.2.8 anyway as it fixes lots of bugs..

- miSt

410 10-21-2002 12:10 PM

I ran that and now it says this...

Error

SQL-query :

REPAIR privatemessage

MySQL said:

You have an error in your SQL syntax near 'privatemessage' at line 1

Back

Thanks for your help!

Xenon 10-21-2002 03:43 PM

hmm, you can also upload the file repair.php in your vb-zip and run it, i think this could also do the queryie

DrkFusion 10-21-2002 04:05 PM

How exactly does the REPAIR sql actually repair a table?
-Arunan

Chris M 10-21-2002 04:09 PM

It recreates any missing tables...

Satan

Steve Machol 10-21-2002 04:12 PM

Upload repair.php (it's in the 'extras' folder of the zip file) to your admin directory. Close your forums, then run it from your browser with this syntax:

http://www.yourdomain/forum/admin/repair.php?html=1&check=1

[Of course change the exact URL as appropriate for your forums.]

If everything reports 'Ok' then reopen your forums. If not, then run it again. The second time everything should report Ok. See if this fixes the problem.


All times are GMT. The time now is 05:26 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.01535 seconds
  • Memory Usage 1,717KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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