vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   mysql errors..?! (https://vborg.vbsupport.ru/showthread.php?t=52071)

Jacko 04-24-2003 03:52 PM

mysql errors..?!
 
i get this on any page:

Warning: mysql_query() [function.mysql-query]: Unable to save result set in /home/realmods/public_html/forum/admin/db_mysql.php on line 86


=+=+=+=+=+=+=+=+

Database error in vBulletin 2.2.9:

Invalid SQL: SELECT COUNT(*) AS users,MAX(userid) AS max FROM user WHERE posts=0
mysql error: Got error 127 from table handler

mysql error number: 1030

Date: Thursday 24th of April 2003 12:48:40 PM
Script: http://www.realmods.net/forum/forum/
Referer:

=+=+=+=+=+=+=+=+

havnt changed anything for about 24 hours and its been working all day??

any ideas??

i have checked my Db and all seems fine and file permissions are ok.

Jacko 04-25-2003 07:18 AM

anyone?? i dont want to resort to a backup as i havnt done one for about 2/3 weeks.

Jacko 04-25-2003 07:19 AM

now i just get:

There seems to have been a slight problem with the RealMods.net database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.
:(

Erwin 04-25-2003 07:23 AM

Your user table is corrupted. Repair it via phpmyadmin or upload repair.php from the uploads directory of the vB zip file, and run it.

Erwin 04-25-2003 07:24 AM

Also, in future, backup at least daily. :)

Jacko 04-25-2003 07:35 AM

i noticed the user tabe said:

user l Browse l Select l Insert l Properties l Drop l Empty l in use

thought in use doesnt sound right.!

whats the best way to backup the db??

and where does the repair.php file get uploaded to??

Jacko 04-25-2003 07:49 AM

everytime i try to run the repair script it gives me:

There seems to have been a slight problem with the RealMods.net database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

this is from both forum directory and admin folder.?!

Erwin 04-25-2003 07:53 AM

Run this query:

REPAIR TABLE user;

Jacko 04-25-2003 07:59 AM

Erwin you da man :)

what could of caused this error and whats the easiest way to backup my DB??


All times are GMT. The time now is 09:57 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.00996 seconds
  • Memory Usage 1,724KB
  • 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
  • (9)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