News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

[ SOLVED ] Products do not display

Started by tweetie, April 16, 2013, 22:58:42 PM

Previous topic - Next topic

tweetie

Just upgraded to 2.0.20b using Joomla 2.5.9

Now I get the following error:

vmError: exeSortSearchListQuery Column 'ordering' in order clause is ambiguous SQL=SELECT SQL_CALC_FOUND_ROWS l.`virtuemart_product_id` FROM `j25_virtuemart_products_en_gb` as l JOIN `j25_virtuemart_products` AS p using (`virtuemart_product_id`) LEFT JOIN `j25_virtuemart_product_categories` as pc ON p.`virtuemart_product_id` = `pc`.`virtuemart_product_id` LEFT JOIN `j25_virtuemart_categories_en_gb` as c ON c.`virtuemart_category_id` = `pc`.`virtuemart_category_id` LEFT JOIN `j25_virtuemart_product_shoppergroups` ON p.`virtuemart_product_id` = `j25_virtuemart_product_shoppergroups`.`virtuemart_product_id` LEFT OUTER JOIN `j25_virtuemart_shoppergroups` as s ON s.`virtuemart_shoppergroup_id` = `j25_virtuemart_product_shoppergroups`.`virtuemart_shoppergroup_id` WHERE ( p.`published`="1" AND `pc`.`virtuemart_category_id` = 7 AND ( s.`virtuemart_shoppergroup_id`= "2" OR s.`virtuemart_shoppergroup_id` IS NULL ) ) group by p.`virtuemart_product_id` ORDER BY ordering ASC LIMIT 0, 10

Similar error in administrator trying to view product list.

Please advise.

jenkinhill

Same as here: http://forum.virtuemart.net/index.php?topic=112606

Fix is to Enable database Update tools  in Configuration/Shop then go to Tools & Migration and hit "Install or if necessary update tables" button. But backup first, as always when working on the database.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

tweetie

Thank you. I had missed the part about "Enable database Update tools  in Configuration/Shop" - it has worked now.