Team BlackSheep Online Store - Premium FPV components and solutions
Forgot Password
8-20 characters, no space
ERROR: SQL QUERY Host: localhost Database: teambla4_tbs User: teambla4_tbs Query: SELECT `plugins__products`.* , ifnull(img.img, plugins__products.img) as image FROM `plugins__products`,`plugins__products_category`,`sold__combined` left join ( select replace(`key`, 'tbsproductgallery', '') as id, img FROM plugins__gallery g where id in ( select min(id) FROM plugins__gallery g inner join ( SELECT `key`, min(position) as position FROM plugins__gallery group by `key` ) s on g.`key` = s.`key` and g.`position` = s.`position` group by g.`key` ) ) img on plugins__products.id = img.id WHERE `sold__combined`.`id`=`plugins__products`.`id` AND `plugins__products`.`id`=`plugins__products_category`.`product_id` AND (`plugins__products_category`.`category_id`='129' OR `plugins__products_category`.`category_id`='152' OR `plugins__products_category`.`category_id`='153' OR `plugins__products_category`.`category_id`='154' OR `plugins__products_category`.`category_id`='147' OR `plugins__products_category`.`category_id`='148' OR `plugins__products_category`.`category_id`='149' OR `plugins__products_category`.`category_id`='150' OR `plugins__products_category`.`category_id`='151' OR `plugins__products_category`.`category_id`='128' OR `plugins__products_category`.`category_id`='146' OR `plugins__products_category`.`category_id`='145' OR `plugins__products_category`.`category_id`='144' OR `plugins__products_category`.`category_id`='143' OR `plugins__products_category`.`category_id`='142' OR `plugins__products_category`.`category_id`='141' OR `plugins__products_category`.`category_id`='140' OR `plugins__products_category`.`category_id`='318' OR `plugins__products_category`.`category_id`='317' OR `plugins__products_category`.`category_id`='376' OR `plugins__products_category`.`category_id`='127' OR `plugins__products_category`.`category_id`='139' OR `plugins__products_category`.`category_id`='138' OR `plugins__products_category`.`category_id`='137' OR `plugins__products_category`.`category_id`='136' OR `plugins__products_category`.`category_id`='135' OR `plugins__products_category`.`category_id`='133' OR `plugins__products_category`.`category_id`='292' OR `plugins__products_category`.`category_id`='134' OR `plugins__products_category`.`category_id`='293' OR `plugins__products_category`.`category_id`='313' OR `plugins__products_category`.`category_id`='296' OR `plugins__products_category`.`category_id`='295' OR `plugins__products_category`.`category_id`='297' OR `plugins__products_category`.`category_id`='316' OR `plugins__products_category`.`category_id`='326' OR `plugins__products_category`.`category_id`='331' OR `plugins__products_category`.`category_id`='341' OR `plugins__products_category`.`category_id`='356' OR `plugins__products_category`.`category_id`='362' OR `plugins__products_category`.`category_id`='363' OR `plugins__products_category`.`category_id`='319' OR `plugins__products_category`.`category_id`='320' OR `plugins__products_category`.`category_id`='321' OR `plugins__products_category`.`category_id`='322' OR `plugins__products_category`.`category_id`='325' OR `plugins__products_category`.`category_id`='367' OR `plugins__products_category`.`category_id`='370' OR `plugins__products_category`.`category_id`='373' OR `plugins__products_category`.`category_id`='433' OR `plugins__products_category`.`category_id`='434' OR `plugins__products_category`.`category_id`='343' OR `plugins__products_category`.`category_id`='344' OR `plugins__products_category`.`category_id`='345' OR `plugins__products_category`.`category_id`='346' OR `plugins__products_category`.`category_id`='347' OR `plugins__products_category`.`category_id`='348' OR `plugins__products_category`.`category_id`='349' OR `plugins__products_category`.`category_id`='350' OR `plugins__products_category`.`category_id`='351' OR `plugins__products_category`.`category_id`='352' OR `plugins__products_category`.`category_id`='353' OR `plugins__products_category`.`category_id`='354' OR `plugins__products_category`.`category_id`='355' OR `plugins__products_category`.`category_id`='375' OR `plugins__products_category`.`category_id`='397' OR `plugins__products_category`.`category_id`='398' OR `plugins__products_category`.`category_id`='399' OR `plugins__products_category`.`category_id`='400' OR `plugins__products_category`.`category_id`='401' OR `plugins__products_category`.`category_id`='402' OR `plugins__products_category`.`category_id`='403' OR `plugins__products_category`.`category_id`='404' OR `plugins__products_category`.`category_id`='405' OR `plugins__products_category`.`category_id`='406' OR `plugins__products_category`.`category_id`='377' OR `plugins__products_category`.`category_id`='378' OR `plugins__products_category`.`category_id`='379' OR `plugins__products_category`.`category_id`='380' OR `plugins__products_category`.`category_id`='382' OR `plugins__products_category`.`category_id`='383' OR `plugins__products_category`.`category_id`='419' OR `plugins__products_category`.`category_id`='384' OR `plugins__products_category`.`category_id`='385' OR `plugins__products_category`.`category_id`='386' OR `plugins__products_category`.`category_id`='387' OR `plugins__products_category`.`category_id`='388' OR `plugins__products_category`.`category_id`='389' OR `plugins__products_category`.`category_id`='390' OR `plugins__products_category`.`category_id`='391' OR `plugins__products_category`.`category_id`='392' OR `plugins__products_category`.`category_id`='393' OR `plugins__products_category`.`category_id`='407' OR `plugins__products_category`.`category_id`='408') AND `plugins__products`.`website`='1' AND `plugins__products`.`img` <> '' AND plugins__products_category.set_id=0 GROUP BY `plugins__products`.`id` ORDER BY `sold__combined`.`qty` DESC LIMIT 0,6 MySQL said: Unknown column 'plugins__products.id' in 'on clause'An error occured. The sysadmin was notified. Please hit your browsers back button and try again.