vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Database Error (https://vborg.vbsupport.ru/showthread.php?t=196130)

Calricdal 11-13-2008 01:14 AM

Database Error
 
Right now our Forum has been down for most of today. When try to reach our forum at http://www.dairylandbjd.com/forum/index.php you get the following:

Database error
The database has encountered a problem.
Please try the following:

* Load the page again by clicking the Refresh button in your web browser.
* Open the www.dairylandbjd.com home page, then try to open another page.
* Click the Back button to try another link.

The www.dairylandbjd.com forum technical staff have been notified of the error, though you may contact them if the problem persists.

We apologise for any inconvenience.


There is no other information on the page....it might be some SQL error but there's no other information.

I can't even get our the admin page at http://www.dairylandbjd.com/forum/admincp/index.php


I'd like to take the forum down but I can't even do that.

I need some help in figuring out what the problem is and how I can resolve it. Right now, I'm sure where to look for the right information. We are using vBullentin 3.7

DieselMinded 11-13-2008 01:15 AM

<!--
Database error in vBulletin :

mysql_connect(): Access denied for user 'kyle18'@'localhost' (using password: YES)
/forum/includes/class_core.php on line 311

MySQL Error :
Error Number :
Request Date : Thursday, November 13th 2008 @ 03:14:58 AM
Error Date : Thursday, November 13th 2008 @ 03:14:58 AM
Script : http://www.dairylandbjd.com/forum/index.php
Referrer : https://vborg.vbsupport.ru/showthread.php?t=196130
IP Address : 67.142.130.37
Username :
Classname : vb_database
MySQL Version :
-->


Make sure your MySQL details in config.php are correct.

Calricdal 11-13-2008 02:20 AM

Got that one solved, but now I'm getting THIS error message:

<!--
Database error in vBulletin 3.7.0:

Invalid SQL:

SELECT
userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid,
language.phrasegroup_holiday AS phrasegroup_holiday,
language.phrasegroup_global AS phrasegroup_global,
language.options AS lang_options,
language.languagecode AS lang_code,
language.charset AS lang_charset,
language.locale AS lang_locale,
language.imagesoverride AS lang_imagesoverride,
language.dateoverride AS lang_dateoverride,
language.timeoverride AS lang_timeoverride,
language.registereddateoverride AS lang_registereddateoverride,
language.calformat1override AS lang_calformat1override,
language.calformat2override AS lang_calformat2override,
language.logdateoverride AS lang_logdateoverride,
language.decimalsep AS lang_decimalsep,
language.thousandsep AS lang_thousandsep

FROM user AS user
LEFT JOIN userfield AS userfield ON (user.userid = userfield.userid)
LEFT JOIN usertextfield AS usertextfield ON (usertextfield.userid = user.userid) LEFT JOIN language AS language ON (language.languageid = IF(user.languageid = 0, 1, user.languageid))

WHERE user.userid = 2;

MySQL Error : Can't open file: 'user.MYI' (errno: 145)
Error Number : 1016
Request Date : Thursday, November 13th 2008 @ 04:15:14 AM
Error Date : Thursday, November 13th 2008 @ 04:15:14 AM
Script : http://www.dairylandbjd.com/forum/index.php
Referrer :
IP Address : 216.180.210.134
Username :
Classname : vb_database
MySQL Version :
-->

Lynne 11-13-2008 02:23 AM

Are you sure your config.php file is correct and pointing to the correct database? You could try doing a repair/optimize on your user table.

DieselMinded 11-13-2008 02:26 AM

Can't open file: 'user.MYI' (errno: 145)

I had this problem when i exceeded mysql database size

Log in to your server admin cp and view your database limit

Calricdal 11-13-2008 02:58 AM

I logged in to my server admin cp, and just for the heck of it clicked VIEW on the forum's index.php file and there I was, on the forum. I'm not sure why that worked, but I was able to get to the Admin Control Panel and repair the tables.

Thanks for the help everyone. :)

DieselMinded 11-13-2008 03:04 AM

user.MYI is one of the last Tables in your database , you may of been able to repair and optimize this time but i bet its a matter of time before this happens again because your database is full and it loaded all the tables up to the users.myi then stopped

Been there done that


All times are GMT. The time now is 02:34 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.00949 seconds
  • Memory Usage 1,730KB
  • 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
  • (7)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