|
|
#1 | |
|
Senior Member
Join Date: Aug 2006
Location: Georgian Bay, Ontario Canada
Posts: 172
Rep Power: 15 ![]() |
Whenever I populate the keyword field for a search (description) it get the following SQL errors showing up at the top of the page... Any ideas?
Quote:
Last edited by bgordon; 04-06-2009 at 03:55 PM. |
|
|
|
|
|
|
#2 |
|
Coder
Join Date: Mar 2006
Posts: 4,564
Rep Power: 111 ![]() ![]() |
68C version? Template? Are you using a 3rd party search mod?
|
|
|
|
|
|
#3 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,113
Rep Power: 118 ![]() |
Either a module is altering this query or you have custom changes. The class_categories AS c is not part of the original query that comes stock with the script.
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | 68 @ Twitter | My Modules |
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Aug 2006
Location: Georgian Bay, Ontario Canada
Posts: 172
Rep Power: 15 ![]() |
Screwed up listings.php... don't have any change log for it, so it must have been misadventure... restored from the master copy and all is well... false alarm Thanks for the prompt replies though!
Last edited by bgordon; 04-06-2009 at 04:35 PM. |
|
|
|
|
|
#5 |
|
Moderator
|
This is correct, something is adding a join and the default class isn't coded to handle a join with another table that contains a discription, title, or id.
PHP Code:
__________________
John Snyder PHP Developer |
|
|
|
|
|
#6 | |
|
Senior Member
Join Date: Aug 2006
Location: Georgian Bay, Ontario Canada
Posts: 172
Rep Power: 15 ![]() |
Quote:
Somewhere on the forums, there was a code snipped that you guys provided to allow the 'category' and some extra fields to be showable in the view listings... I recall putting that snippet in my listings.php now and never noticed that it broke the keyword search. That being said, I will try to find that posting again, but I wonder if you could provide some compatible code to make that available again... I have some logic in my showlistings template that conditionally shows the category and a small graphic if one of my extra fields contains a certain value. Pretty sure this is all standard in 4.10 (I am 4.09) so maybe this would be the time to upgrade... Your thoughts on this? |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Search Error Massage | newcastledirectory | v4 Questions & Support | 12 | 06-06-2008 08:08 AM |
| Search Error | gofir | v3.1 Questions & Support | 15 | 01-07-2008 08:36 PM |
| Search Error | Maffo | v3.1 Questions & Support | 14 | 12-10-2007 04:39 PM |
| Search Page Error | Maffo | v3.1 Questions & Support | 10 | 11-17-2006 04:20 PM |
| Error on Search Page | sporthorsebreeder | v3.1 Questions & Support | 1 | 05-29-2006 07:23 PM |