Hello,
The following information appears on my web:
JDatabaseMySQL::query: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 18 SQL=SELECT DISTINCT c.virtuemart_category_id AS CID FROM qa9dx_virtuemart_product_categories AS cx LEFT JOIN qa9dx_virtuemart_categories_pl_pl AS c ON cx.virtuemart_category_id = c.virtuemart_category_id LEFT JOIN qa9dx_virtuemart_products_pl_pl AS content ON cx.virtuemart_product_id = content.virtuemart_product_id LEFT JOIN qa9dx_virtuemart_categories AS cat ON c.virtuemart_category_id = cat.virtuemart_category_id WHERE ( )
And while trying to search for products:
JDatabaseMySQL::query: 1054 - Unknown column 'pc.ordering' in 'where clause' SQL=SELECT SQL_CALC_FOUND_ROWS l.`virtuemart_product_id` FROM `qa9dx_virtuemart_products_en_gb` as l JOIN `qa9dx_virtuemart_products` AS p using (`virtuemart_product_id`) LEFT JOIN `qa9dx_virtuemart_product_categories` as pc ON p.`virtuemart_product_id` = `pc`.`virtuemart_product_id` LEFT JOIN `qa9dx_virtuemart_categories_en_gb` as c ON c.`virtuemart_category_id` = `pc`.`virtuemart_category_id` LEFT JOIN `qa9dx_virtuemart_product_manufacturers` ON p.`virtuemart_product_id` = `qa9dx_virtuemart_product_manufacturers`.`virtuemart_product_id` LEFT JOIN `qa9dx_virtuemart_manufacturers_en_gb` as m ON m.`virtuemart_manufacturer_id` = `qa9dx_virtuemart_product_manufacturers`.`virtuemart_manufacturer_id` LEFT JOIN `qa9dx_virtuemart_product_prices` as pp ON p.`virtuemart_product_id` = pp.`virtuemart_product_id` LEFT JOIN `qa9dx_virtuemart_product_shoppergroups` ON p.`virtuemart_product_id` = `qa9dx_virtuemart_product_shoppergroups`.`virtuemart_product_id` LEFT OUTER JOIN `qa9dx_virtuemart_shoppergroups` as s ON s.`virtuemart_shoppergroup_id` = `qa9dx_virtuemart_product_shoppergroups`.`virtuemart_shoppergroup_id` WHERE ((`product_name` LIKE "%3011%" OR `p`.created_on LIKE "%3011%" OR `p`.product_sku LIKE "%3011%" OR `product_s_desc` LIKE "%3011%" OR `product_desc` LIKE "%3011%" OR `l`.slug LIKE "%3011%" OR `category_name` LIKE "%3011%" OR `category_description` LIKE "%3011%" OR `mf_name` LIKE "%3011%" OR `product_price` LIKE "%3011%" OR `product_special` LIKE "%3011%" OR `product_sales` LIKE "%3011%" OR `product_availability` LIKE "%3011%" OR `p`.product_available_date LIKE "%3011%" OR `product_height` LIKE "%3011%" OR `product_width` LIKE "%3011%" OR `product_length` LIKE "%3011%" OR `product_lwh_uom` LIKE "%3011%" OR `product_weight` LIKE "%3011%" OR `product_weight_uom` LIKE "%3011%" OR `product_in_stock` LIKE "%3011%" OR `low_stock_notification` LIKE "%3011%" OR `p`.modified_on LIKE "%3011%" OR `product_unit` LIKE "%3011%" OR `product_packaging` LIKE "%3011%" OR `p`.virtuemart_product_id LIKE "%3011%" OR `pc.ordering` LIKE "%3011%") AND p.`published`="1" AND `pc`.`virtuemart_category_id` > 0 AND ( s.`virtuemart_shoppergroup_id`= "1" OR s.`virtuemart_shoppergroup_id` IS NULL ) ) group by p.`virtuemart_product_id` ORDER BY product_name ASC LIMIT 0, 18
Could you please help me to fix it?
