If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > MySQL Error 1054 Vbulletin 4.1.5

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-13-11, 14:12
225 225 is offline
Registered User
 
Join Date: Aug 2011
Posts: 6
MySQL Error 1054 Vbulletin 4.1.5

Can someone please help me with this. I have contacted the author of the program and he says it's a overwrite issue?




Database error in vBulletin 4.1.5:

Invalid SQL:

INSERT INTO `dbtech_vbshout_instance`
(`name`, `description`, `active`, `autodisplay`, `deployment`, `templates`, `permissions`)
VALUES (
'Shoutbox',
'This is the default Shoutbox.
You can change this description by clicking [Edit].',
1,
1,
'index',
'',
'a:8:{i:2;i:2108;i:6;i:4092;i:4;i:12;i:8;i:0;i:7;i :3964;i:5;i:4092;i:1;i:4;i:3;i:12;}'
);

MySQL Error : Unknown column 'deployment' in 'field list'
Error Number : 1054
Request Date : Saturday, August 13th 2011 @ 04:26:42 AM
Error Date : Saturday, August 13th 2011 @ 04:26:51 AM
Script : Log in - Extreme SMX - vBulletin Admin Control Panel
Referrer : Log in - Extreme SMX - vBulletin Admin Control Panel
IP Address :
Username :
Classname : vB_Database
MySQL Version : 5.1.52
Reply With Quote
  #2 (permalink)  
Old 08-13-11, 18:46
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,525
can you go to your mysql database and run the following query
Code:
SHOW CREATE TABLE dbtech_vbshout_instance
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #3 (permalink)  
Old 08-14-11, 01:15
225 225 is offline
Registered User
 
Join Date: Aug 2011
Posts: 6
I will try and let you know. Thanks for the help.
Reply With Quote
  #4 (permalink)  
Old 08-14-11, 01:25
225 225 is offline
Registered User
 
Join Date: Aug 2011
Posts: 6
http://i142.photobucket.com/albums/r...ee1006/php.jpg

Ran XML script afterwards....


Same error.

File I am trying to run on my vBulletin Forum: http://www.megaupload.com/?d=ORZYW9BU

Let me know if you need the files I have to upload to my db.

This is what I am trying to do: http://www.vbulletin.org/forum/showt...hlight=chatbox

Last edited by 225; 08-14-11 at 01:31.
Reply With Quote
  #5 (permalink)  
Old 08-14-11, 02:42
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,525
i can't see any of the table's columns

the SHOW CREATE TABLE command will dump the entire table layout

i wanted to see the columns

don't take a screenshot of the phpmyadmin page, but instead, please copy/paste the entire CREATE TABLE statement
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #6 (permalink)  
Old 08-14-11, 03:35
225 225 is offline
Registered User
 
Join Date: Aug 2011
Posts: 6
dbtech_vbshout_instance CREATE TABLE `dbtech_vbshout_instance` (
`instanceid` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
`description` mediumtext COLLATE utf8_unicode_ci,
`active` tinyint(1) unsigned NOT NULL DEFAULT '0',
`autodisplay` tinyint(1) unsigned NOT NULL DEFAULT '0',
`permissions` mediumtext COLLATE utf8_unicode_ci,
`sticky` mediumtext COLLATE utf8_unicode_ci,
`shoutsound` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`invitesound` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`pmsound` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`bbcodepermissions` mediumtext COLLATE utf8_unicode_ci,
`notices` mediumtext COLLATE utf8_unicode_ci,
`sticky_raw` mediumtext COLLATE utf8_unicode_ci,
`varname` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`options` mediumtext COLLATE utf8_unicode_ci,
`forumids` mediumtext COLLATE utf8_unicode_ci,
PRIMARY KEY (`instanceid`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci
Reply With Quote
  #7 (permalink)  
Old 08-14-11, 03:41
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,525
did you notice anything while preparing that copy/paste?

your table does not contain a column called deployment

therefore you need to go back to wherever you got that INSERT statement from and correct it
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #8 (permalink)  
Old 08-14-11, 03:46
225 225 is offline
Registered User
 
Join Date: Aug 2011
Posts: 6
Thank you for the help.

Where would I find the INSERT statement?

I didn't notice anything. What should look for? Do you want the entire upload files to look at?

225
Reply With Quote
  #9 (permalink)  
Old 08-14-11, 03:59
225 225 is offline
Registered User
 
Join Date: Aug 2011
Posts: 6
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1


http://dev.mysql.com/doc/refman/5.1/en/insert.html
Reply With Quote
  #10 (permalink)  
Old 08-14-11, 03:59
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,525
Quote:
Originally Posted by 225 View Post
Where would I find the INSERT statement?
i have no idea, sorry

i would search your script source code for the first part of the insert statement...

INSERT INTO `dbtech_vbshout_instance`
(`name`, `description`, `active`, `autodisplay`, `deployment`, `templates`, `permissions`)
VALUES
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On