Support Forums

SQL Error In Featured Listings

This is a discussion on SQL Error In Featured Listings within the Technical Support forums, part of the Technical Support Forums category; What version of 68 Classifieds are you running? V4.1.6 Designer What template are you using? Any Please describe in detail ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

This topic is resolved.

If you have a similar issue that this thread does not address, open a new related support topic.

 
Thread Tools Display Modes
Old 12-29-2009, 06:38 AM   #1
Member
 
Join Date: Sep 2007
Posts: 31
Rep Power: 10
Katash is on a distinguished road
Default SQL Error In Featured Listings

What version of 68 Classifieds are you running?
V4.1.6 Designer

What template are you using?
Any


Please describe in detail the issue you are having:

After an upgrade from v3.1.10 I get this error under Featured Listings section of the main page

Code:
Notice: Query failed: Unknown column 'id' in 'field list' SQL: SELECT id,title,price FROM class_products WHERE display = 'Y' AND expiration > NOW() AND featured = 'Y' ORDER BY rand() LIMIT 8 in /homepages/30/d217246015/htdocs/includes/classes/database/mysql.php on line 143
Have checked phpmyadmin and found the table class_products and all the column names appear to be prefixed with 'p'

Capture.JPG

Everything else appears to work ok bar this

Any ideas?

Last edited by Katash; 12-29-2009 at 08:58 AM.
Katash is offline  
Old 12-29-2009, 12:13 PM   #2
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,294
Rep Power: 124
Eric Barnes is a jewel in the rough
Default

Try this. Delete everything from includes/classes/smarty/plugins/ folder and then reupload that folder from a stock download.

Then it should work.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Old 12-29-2009, 12:16 PM   #3
Member
 
Join Date: Sep 2007
Posts: 31
Rep Power: 10
Katash is on a distinguished road
Default

Yes, this appears to have fixed it - Thanks once again.
Katash is offline  
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
RSS of Featured Listings akilar Technical Support 1 10-26-2009 10:02 AM
Featured Listings skekum Technical Support 4 05-29-2009 10:08 AM
Featured Listings tdisraeli Technical Support 19 09-17-2008 11:16 AM
Featured Listings (again) tdisraeli Technical Support 3 09-16-2008 09:27 PM
Featured Listings kama Templates, HTML, CSS, and Design Help 1 05-22-2008 04:36 AM


All times are GMT -4. The time now is 02:41 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0