NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Mysql error anyone know?

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 12-22-2006, 08:49 PM THREAD STARTER               #1 (permalink)
Senior Member
 
AMDWarrior's Avatar
Join Date: Jun 2006
Location: gamerchat.info
Posts: 1,231
AMDWarrior has much to be proud ofAMDWarrior has much to be proud ofAMDWarrior has much to be proud ofAMDWarrior has much to be proud ofAMDWarrior has much to be proud ofAMDWarrior has much to be proud ofAMDWarrior has much to be proud ofAMDWarrior has much to be proud ofAMDWarrior has much to be proud ofAMDWarrior has much to be proud of
 


SIDS

Mysql error anyone know?


On my forums ( I am using vbull) I am getting this error when people hit the new post button:

MySQL Error : Unknown column 'completed' in 'where clause'

Anyone know what could cause this or how to fix it?
AMDWarrior is offline  
Old 12-22-2006, 08:50 PM   #2 (permalink)
Dan
Buy my domains.
 
Dan's Avatar
Join Date: Feb 2006
Posts: 2,796
Dan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant future
 


Autism Autism Autism Autism Autism Autism Autism
Try making a column named completed in your table..
Dan is offline  
Old 12-22-2006, 08:51 PM THREAD STARTER               #3 (permalink)
Senior Member
 
AMDWarrior's Avatar
Join Date: Jun 2006
Location: gamerchat.info
Posts: 1,231
AMDWarrior has much to be proud ofAMDWarrior has much to be proud ofAMDWarrior has much to be proud ofAMDWarrior has much to be proud ofAMDWarrior has much to be proud ofAMDWarrior has much to be proud ofAMDWarrior has much to be proud ofAMDWarrior has much to be proud ofAMDWarrior has much to be proud ofAMDWarrior has much to be proud of
 


SIDS
Err I wish I knew what you were talking about...lol Im not too good with it where would I do this?
AMDWarrior is offline  
Old 12-22-2006, 09:07 PM   #4 (permalink)
Dan
Buy my domains.
 
Dan's Avatar
Join Date: Feb 2006
Posts: 2,796
Dan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant future
 


Autism Autism Autism Autism Autism Autism Autism
Does the error give you any more details such as line number, table name, etc?
Dan is offline  
Old 12-22-2006, 09:15 PM THREAD STARTER               #5 (permalink)
Senior Member
 
AMDWarrior's Avatar
Join Date: Jun 2006
Location: gamerchat.info
Posts: 1,231
AMDWarrior has much to be proud ofAMDWarrior has much to be proud ofAMDWarrior has much to be proud ofAMDWarrior has much to be proud ofAMDWarrior has much to be proud ofAMDWarrior has much to be proud ofAMDWarrior has much to be proud ofAMDWarrior has much to be proud ofAMDWarrior has much to be proud ofAMDWarrior has much to be proud of
 


SIDS
This is the whole error;

Invalid SQL:
SELECT searchid FROM search AS search WHERE userid = 1 AND searchhash = 'b2fe47bc37c22c5d998608c24893d9dc' AND orderedids = '89,13,50,72,124,117,127' AND announceids = '' AND completed = 1;
????: NamePros.com http://www.namepros.com/programming/272241-mysql-error-anyone-know.html

MySQL Error : Unknown column 'completed' in 'where clause'
Error Number : 1054
Date : Friday, December 22nd 2006 @ 10:14:54 PM
Script : http://www.ufgy.com/search.php?do=getnew
Referrer : http://www.ufgy.com/
IP Address : xxxxxxxxxx
Username : AMDWarrior
Classname : vB_Database
AMDWarrior is offline  
Old 12-22-2006, 09:23 PM   #6 (permalink)
NamePros Regular
 
baxter's Avatar
Join Date: Apr 2006
Posts: 363
baxter is just really nicebaxter is just really nicebaxter is just really nicebaxter is just really nice
 


Ethan Allen Fund Save The Children
its saying it can't find the column completed in the sql query, if you run this query it will add the column completed to your database.

Code:
ALTER TABLE `search` ADD `completed` TINYINT( 1 ) NOT NULL DEFAULT '0';
I don't use VB so I am assuming completed is supposed to be 0 or a 1

Cheers,

Baxter
__________________
Canadian Domain Registrar Ready.ca
baxter is offline  
Old 12-22-2006, 09:37 PM THREAD STARTER               #7 (permalink)
Senior Member
 
AMDWarrior's Avatar
Join Date: Jun 2006
Location: gamerchat.info
Posts: 1,231
AMDWarrior has much to be proud ofAMDWarrior has much to be proud ofAMDWarrior has much to be proud ofAMDWarrior has much to be proud ofAMDWarrior has much to be proud ofAMDWarrior has much to be proud ofAMDWarrior has much to be proud ofAMDWarrior has much to be proud ofAMDWarrior has much to be proud ofAMDWarrior has much to be proud of
 


SIDS
Yep that fixed it. Thanks baxter, Rep added
AMDWarrior is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 09:45 PM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger