Unknown column 'products_fulltext_myisam.product_id' in 'where clause'
SELECT SQL_CALC_FOUND_ROWS distinct(products.PRODUCT_ID),
products.PARENT_PRODUCT_ID,
substr(products.TITLE,1,10) AS TITLE,
substr(products.AUTHOR,1,10) AS AUTHOR,
products.SALES_RANK,
IFNULL(products.SALES_RANK, 'Z') as SALES_RANK_SORT,
products.stock_qty_sold,
products_store.store_qty_sold,
products.image_has_small as IMAGE_HAS_SMALL FROM products left join products_store on (products.product_id = products_store.product_id and products_store.store_id = 7998) , products_fulltext_myisam_1 WHERE products.store_id in (0, 7998) AND products.STORETYPE_ID1 = 'Y' AND (match (FT_TITLE, FT_AUTHOR, FT_ISBN, FT_UPC, FT_EAN, FT_MANUFACTURERS_CODE, FT_KEYWORDS, FT_PRODUCT_CONFIG, FT_PUBLISHER_NAME ) AGAINST ('+encouragement* ' IN BOOLEAN MODE)) and products.product_id = products_fulltext_myisam_1.product_id AND (match (FT_TITLE ) AGAINST ('+ENCOURAGEMENT* +BEAR ' IN BOOLEAN MODE)) and products.product_id = products_fulltext_myisam.product_id AND products.stock_available_flag in ('Y', 'P') AND (products.PRICE > 0 AND products.STATUS in ('A', 'B', 'C', 'M')) ORDER BY IMAGE_HAS_SMALL DESC, TITLE LIMIT 1000