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

[VM 2.0.7d] Order backend not working - another bug

Started by eddydesigner, May 31, 2012, 09:43:02 AM

Previous topic - Next topic

eddydesigner

As title...

in backend i can't diplay oders this error:

vmError: exeSortSearchListQuery Unknown column 'u.middle_name' in 'field list' SQL=SELECT SQL_CALC_FOUND_ROWS o.*, CONCAT_WS(' ',u.first_name,u.middle_name,u.last_name) AS order_name ,pm.payment_name AS payment_method FROM v8urx_virtuemart_orders as o LEFT JOIN v8urx_virtuemart_order_userinfos as u ON u.virtuemart_order_id = o.virtuemart_order_id AND u.address_type="BT" LEFT JOIN v8urx_virtuemart_paymentmethods_it_it as pm ON o.virtuemart_paymentmethod_id = pm.virtuemart_paymentmethod_id WHERE o.virtuemart_vendor_id = "1" ORDER BY created_on DESC LIMIT 0, 10

HELP!

Milbo

oha

looks like you deleted hte middle_name from the userinfos. Hmmm we did not consider that. The most performant way is to forbid to delete this fields.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

mux

Hi

I am getting following error

vmError: exeSortSearchListQuery Unknown column 'u.middle_name' in 'field list' SQL=SELECT SQL_CALC_FOUND_ROWS o.*, CONCAT_WS(' ',u.first_name,u.middle_name,u.last_name) AS order_name ,u.email as order_email,pm.payment_name AS payment_method FROM c32vt_virtuemart_orders as o LEFT JOIN c32vt_virtuemart_order_userinfos as u ON u.virtuemart_order_id = o.virtuemart_order_id AND u.address_type="BT" LEFT JOIN c32vt_virtuemart_paymentmethods_en_gb as pm ON o.virtuemart_paymentmethod_id = pm.virtuemart_paymentmethod_id WHERE ( o.virtuemart_vendor_id = "1" ) ORDER BY created_on DESC LIMIT 0, 100

How to slove this?
Thanks in advance

gkrellm

#3
Same error after deleting almost all fields in Shopper Fields (unlocked for editing by changing .php file).

I restored table structure of
preffix_virtuemart_userinfos
preffix_virtuemart_userfields
preffix_virtuemart_userfield_values
preffix_virtuemart_order_userinfos


and now all work fine like before.