| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| Senior Member | 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?
__________________ JustHits.net - Cash Prizes given away NOW! l Alerthits.com - Cash Prizes given away NOW! |
| |
| | #3 (permalink) |
| Senior Member | Err I wish I knew what you were talking about...lol Im not too good with it where would I do this?
__________________ JustHits.net - Cash Prizes given away NOW! l Alerthits.com - Cash Prizes given away NOW! |
| |
| | #5 (permalink) |
| Senior Member | 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; 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
__________________ JustHits.net - Cash Prizes given away NOW! l Alerthits.com - Cash Prizes given away NOW! |
| |
| | #6 (permalink) |
| NamePros Regular | 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
__________________ Chimps.ca - Swans.ca - Snails.ca |
| |
| | #7 (permalink) |
| Senior Member | Yep that fixed it. Thanks baxter, Rep added
__________________ JustHits.net - Cash Prizes given away NOW! l Alerthits.com - Cash Prizes given away NOW! |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |