Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 01-14-2007, 02:18 AM
Philster Philster is offline
 
Join Date: Nov 2006
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Help Finding This Error

Hi folks, every once in a while I get some e-mails that there have been some database errors. Here is an example. They all look like the message below. Could someone help me look into this and a possible solution please. I have 3 plug ins in use. They are Add On Chat 1.1.0, Guest Tracking 1.13 and Separate Sticky and Normal Threads 1.0.5. Thank you.

Database error in vBulletin 3.6.3:

Invalid SQL:

CREATE TABLE IF NOT EXISTS scwho (
ID INT UNSIGNED PRIMARY KEY NOT NULL AUTO_INCREMENT,
USERNAME CHAR(255),
SUBROOM CHAR(255),
HIDDEN INT UNSIGNED,
UID INT UNSIGNED,
ADMIN INT UNSIGNED);

MySQL Error : Can't create table 'scwho' (errno: 13) Error Number : 1005
Date : Saturday, January 13th 2007 @ 10:50:47 PM
Script : http://www.kwas.ca/forum/private.php...tpm&pmid=14254
Referrer : http://www.kwas.ca/forum/private.php...wpm&pmid=14254
IP Address : 70.49.30.73
Username : john
Classname : vb_database

Phil.
Reply With Quote
  #2  
Old 01-14-2007, 02:25 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does your MySQL user (set in config.php) have create permissions?
Reply With Quote
  #3  
Old 01-14-2007, 02:42 AM
Kirk Y's Avatar
Kirk Y Kirk Y is offline
 
Join Date: Apr 2005
Location: Tallahassee, Florida
Posts: 2,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, errno 13 is -- I believe -- a write permissions error.
Reply With Quote
  #4  
Old 01-14-2007, 03:44 AM
Philster Philster is offline
 
Join Date: Nov 2006
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have to appolgize, I cannot see MySQL user in my config.php file. Is there a particular string of text I should be looking for ? Thank you for your quick reply.

Phil.

Hi gang, could one of you post exactly what this MySQL user string will look like in my config.php file ? I'd sure like to track this down. Thank you.

Phil.
Reply With Quote
  #5  
Old 01-16-2007, 10:41 AM
Philster Philster is offline
 
Join Date: Nov 2006
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey fella's any further thoughts on this would be appreciated if you have a moment. Thanks a bunch.

Phil.
Reply With Quote
  #6  
Old 01-20-2007, 12:42 PM
Philster Philster is offline
 
Join Date: Nov 2006
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm still getting this error. Could one of you maybe elaborate more on it so I can fix it. Thanks a bunch.

Database error in vBulletin 3.6.3:

Invalid SQL:

CREATE TABLE IF NOT EXISTS scwho (
ID INT UNSIGNED PRIMARY KEY NOT NULL AUTO_INCREMENT,
USERNAME CHAR(255),
SUBROOM CHAR(255),
HIDDEN INT UNSIGNED,
UID INT UNSIGNED,
ADMIN INT UNSIGNED);

MySQL Error : Can't create table 'scwho' (errno: 13) Error Number : 1005
Date : Friday, January 19th 2007 @ 10:49:30 PM
Script : http://www.kwas.ca/forum/forumdispla...=11&order=desc
Referrer : http://www.kwas.ca/forum/forumdisplay.php?f=22
IP Address : 64.231.8.172
Username : taiwan_reef223
Classname : vb_database
Reply With Quote
  #7  
Old 01-20-2007, 02:09 PM
paul41598's Avatar
paul41598 paul41598 is offline
 
Join Date: Jun 2004
Location: MI
Posts: 732
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
If MySQL reports an error number 1005 from a CREATE TABLE statement, and the error message refers to errno 150, table creation failed because a foreign key constraint was not correctly formed
Also check your disk space. Only two things I can think of
Reply With Quote
  #8  
Old 01-20-2007, 11:47 PM
Philster Philster is offline
 
Join Date: Nov 2006
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Paul 41598. Please do not take this the wrong way but could you explain this in laymans terms please. Thank you.

Phil.
Reply With Quote
  #9  
Old 01-21-2007, 01:33 AM
MThornback MThornback is offline
 
Join Date: Apr 2005
Location: Canada
Posts: 388
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What hes saying is that your Database(s) might be pushing the limit of your hosting storage...if for example you had a 100MB limit and the table your trying to put you at 101MB, it wouldn't allow you to create the table your asking it to
Reply With Quote
  #10  
Old 01-21-2007, 01:36 AM
Philster Philster is offline
 
Join Date: Nov 2006
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MThornback View Post
What hes saying is that your Database(s) might be pushing the limit of your hosting storage...if for example you had a 100MB limit and the table your trying to put you at 101MB, it wouldn't allow you to create the table your asking it to
Thank you, now that I can fully understand My limit is 500MB file space and I'm only using 65MB, 25MB of which is our forums database. I presume this would not apply to my issue then. Any other thoughts? Thank you for your reply.

Phil.
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 02:46 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.04698 seconds
  • Memory Usage 2,248KB
  • 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)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete