Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
  #1  
Old 08-19-2007, 04:39 PM
King Justice King Justice is offline
 
Join Date: Apr 2006
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Database Errors?

Hi.

I am receiving database error messages all of a sudden and now cannot access my forum. This is in the middle of transferring from my old server to my new one...both databases have all of a sudden been showing errors for the forum index page.

At the time of SQL backup, there was no error - database/forum was working perfectly. I am not sure why it is giving error now, even on new server.

How do I fix it? The message is really queer:
Quote:
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.egamingsupply.com home page, then try to open another page.
* Click the Back button to try another link.

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

We apologise for any inconvenience.
Please help me fix this problem. The board was also closed for maintenance during time of backup. Not sure how I can put it back on to active in phpMyAdmin since I can't access the admincp of vBulletin because of this database error.
Reply With Quote
  #2  
Old 08-19-2007, 05:44 PM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you need to go to your admin email and post the error that was sent to you
Reply With Quote
  #3  
Old 08-19-2007, 06:03 PM
King Justice King Justice is offline
 
Join Date: Apr 2006
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Database error in vBulletin :

mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Access denied for user 'admin_agentegs'@'localhost' (using password: YES)
/home/admin/domains/egamingsupply.com/public_html/forum/includes/class_core.php on line 274

MySQL Error :
Error Number :
Date : Sunday, August 19th 2007 @ 11:00:56 PM
Script : http://www.egamingsupply.com/forum/
Referrer :
IP Address : xxx
Username :
Classname : vb_database

Database error in vBulletin 3.6.7:

Invalid SQL:
SELECT COUNT(*) AS count FROM user WHERE usergroupid = 4;

MySQL Error : Can't open file: 'user.MYI' (errno: 145)
Error Number : 1016
Date : Sunday, August 19th 2007 @ 11:55:00 AM
Script : http://www.egamingsupply.com/forum/
Referrer :
IP Address : xxx
Username : Unregistered
Classname : vb_database
Reply With Quote
  #4  
Old 08-19-2007, 07:42 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you tried a repair/optimize on your tables - in particular your user table?
Reply With Quote
  #5  
Old 08-19-2007, 09:17 PM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

(errno: 145)
Error Number : 1016

is the table death code ,

Log into your phpmyadmin

click the center icon on the left hand collum called query and type

REPAIR TABLE user

And hit go
Reply With Quote
  #6  
Old 08-19-2007, 10:42 PM
King Justice King Justice is offline
 
Join Date: Apr 2006
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DiesellMinded View Post
(errno: 145)
Error Number : 1016

is the table death code ,

Log into your phpmyadmin

click the center icon on the left hand collum called query and type

REPAIR TABLE user

And hit go
That didn't help. Please help me.
Reply With Quote
  #7  
Old 08-19-2007, 10:45 PM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PM Sending

Looks like you need to chmod 777 this file ?

Text Link Ads script error: local_95956.xml is not writable. Please set write permissions on local_95956.xml.
Reply With Quote
  #8  
Old 08-20-2007, 01:20 AM
King Justice King Justice is offline
 
Join Date: Apr 2006
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is now the only database error I am receiving. I have updated to vB version 3.6.8 on the new server, so I guess this error is still coming from people who have not had updated cache to the new server?

I hope so.

Quote:
Database error in vBulletin 3.6.7:

Invalid SQL:
SELECT COUNT(*) AS count FROM user WHERE usergroupid = 4;

MySQL Error : Can't open file: 'user.MYI' (errno: 145)
Error Number : 1016
Date : Sunday, August 19th 2007 @ 06:45:48 PM
Script : http://www.egamingsupply.com/forum/
Referrer :
IP Address : [edited out]
Username : Unregistered
Classname : vb_database
Reply With Quote
  #9  
Old 08-21-2007, 03:52 AM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to repair the user Table
Reply With Quote
Reply

Thread Tools
Display Modes

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 04:32 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03958 seconds
  • Memory Usage 2,235KB
  • Queries Executed 13 (?)
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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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_postinfo_query
  • fetch_postinfo
  • 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