News:

Looking for documentation? Take a look on our wiki

Main Menu

error: 1054 - Unknown column 'ld.product_name'

Started by StevieSNL, October 05, 2015, 16:55:19 PM

Previous topic - Next topic

StevieSNL

Hi

I have update virtuemart 3.0.9 to 3.0.10.
I runned the update sql tables button but still no difference. The shop is running only the dutch language.
I'm getting an error on the searchfield of Virtuemart:

QuoteUnknown column 'ld.product_name' in 'where clause' SQL=SELECT SQL_CALC_FOUND_ROWS p.`virtuemart_product_id` FROM `dh4bl_virtuemart_products` as p INNER JOIN `dh4bl_virtuemart_products_nl_nl` as l using (`virtuemart_product_id`) LEFT JOIN `dh4bl_virtuemart_product_shoppergroups` as ps ON p.`virtuemart_product_id` = `ps`.`virtuemart_product_id` LEFT JOIN `dh4bl_virtuemart_product_categories` as pc ON p.`virtuemart_product_id` = `pc`.`virtuemart_product_id` WHERE ((`ld`.product_name LIKE "%amsterdam%") AND ((p.`product_parent_id` = "0" AND `pc`.`virtuemart_category_id` > "0") OR p.`product_parent_id` > "0") AND ((p.`product_parent_id` > "0" AND `pc`.`virtuemart_category_id` > "0") OR p.`product_parent_id` = "0") AND ( `ps`.`virtuemart_shoppergroup_id`= "1" OR `ps`.`virtuemart_shoppergroup_id` IS NULL ) AND p.`published`="1" ) group by p.`virtuemart_product_id` ORDER BY product_name ASC LIMIT 0, 24

Can anyone help?

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

StevieSNL

Yes i did, But i donĀ“t have any xxx_en_gb tables in my sql, only the nl_NL so have no example to deal with.
Also i did a new install on a other website with the 3.0.10 and all the nl_NL tables are the same.

GJC Web Design

afaik because there is the much requested "fallback" lang option every VM install should have en-GB tables.. other langs are then added.. en can be switched off
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

StevieSNL

I have changed the module search, I used the mod_virtuemart_search which not workt, but now i use mod_search and there is no problem without any change of the virtuemart system