| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| Senior Member Join Date: Jun 2006 Location: gamerchat.info
Posts: 1,231
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 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?
__________________ Gaming Forums http://www.gamerchat.info http://www.pcdiscussion.net http://www.webmasterisland.net |
| |
| | THREAD STARTER #3 (permalink) |
| Senior Member Join Date: Jun 2006 Location: gamerchat.info
Posts: 1,231
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Err I wish I knew what you were talking about...lol Im not too good with it where would I do this?
__________________ Gaming Forums http://www.gamerchat.info http://www.pcdiscussion.net http://www.webmasterisland.net |
| |
| | THREAD STARTER #5 (permalink) |
| Senior Member Join Date: Jun 2006 Location: gamerchat.info
Posts: 1,231
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 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
__________________ Gaming Forums http://www.gamerchat.info http://www.pcdiscussion.net http://www.webmasterisland.net |
| |
| | #6 (permalink) |
| NamePros Regular Join Date: Apr 2006
Posts: 363
![]() ![]() ![]() ![]() | 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'; Cheers, Baxter
__________________ Canadian Domain Registrar Ready.ca |
| |
| | THREAD STARTER #7 (permalink) |
| Senior Member Join Date: Jun 2006 Location: gamerchat.info
Posts: 1,231
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Yep that fixed it. Thanks baxter, Rep added
__________________ Gaming Forums http://www.gamerchat.info http://www.pcdiscussion.net http://www.webmasterisland.net |
| |