jloyzaga Posted November 21, 2003 Posted November 21, 2003 I get this error message - can you tell mje where to start? 1064 - You have an error in your SQL syntax near 'MAX_DISPLAY_FEATURED_PRODUCTS' at line 1 select p.products_id, p.products_image, p.products_tax_class_id, s.status as specstat, s.specials_new_products_price, p.products_price from products p left join specials s on p.products_id = s.products_id left join featured f on p.products_id = f.products_id where p.products_status = '1' and f.status = '1' order by rand() DESC limit MAX_DISPLAY_FEATURED_PRODUCTS [TEP STOP]
Guest Posted November 22, 2003 Posted November 22, 2003 You need to set MAX_DISPLAY_FEATURED_PRODUCTS to a numeric value, e.g. 9. I'm not sure if that contribution does so in the configuration table or with a define. Perhaps something that got overlooked during the install? Hth, Matt
jloyzaga Posted November 22, 2003 Author Posted November 22, 2003 Actually, It didn;t exist so I aaded it. I just loaded the site onto my local server and restored the backup and it didn't restore this record - thats weird coz it worked live. hmm Anyway its ok now Thanks
Recommended Posts
Archived
This topic is now archived and is closed to further replies.