vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Help Finding This Error (https://vborg.vbsupport.ru/showthread.php?t=136444)

Philster 01-14-2007 02:18 AM

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.

Dismounted 01-14-2007 02:25 AM

Does your MySQL user (set in config.php) have create permissions?

Kirk Y 01-14-2007 02:42 AM

Yeah, errno 13 is -- I believe -- a write permissions error.

Philster 01-14-2007 03:44 AM

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.

Philster 01-16-2007 10:41 AM

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

Phil.

Philster 01-20-2007 12:42 PM

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

paul41598 01-20-2007 02:09 PM

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

Philster 01-20-2007 11:47 PM

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

Phil.

MThornback 01-21-2007 01:33 AM

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 :)

Philster 01-21-2007 01:36 AM

Quote:

Originally Posted by MThornback (Post 1163959)
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.


All times are GMT. The time now is 06:30 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.01677 seconds
  • Memory Usage 1,737KB
  • 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)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete