johnkiax Posted August 1, 2008 Posted August 1, 2008 Hello all. Like allways, sorry for my bad english. Yesterday i dont know why my site give me the error: 1054 - Unknown column 'pa.attribute_sort' in 'order clause' select pov.products_options_values_id, pov.products_options_values_name, pa.options_values_price, pa.price_prefix from products_attributes pa, products_options_values pov where pa.products_id = '202' and pa.options_id = '2' and pa.options_values_id = pov.products_options_values_id and pov.language_id = '3' order by pa.attribute_sort [TEP STOP] this error are show up of atributes. I cant see the box atributes =( i dont know why and im not an php expert. Thanks in advance =) Quote
spooks Posted August 1, 2008 Posted August 1, 2008 Well, this is sql query, so it don't matter how bad your php is. attribute_sort does not exist in the products_attributes table by default, have you added it? Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al.
johnkiax Posted August 3, 2008 Author Posted August 3, 2008 Sam: Thanks for your answer. Look, im newbe. How can i do to add this tables ? Thanks and sorry for my bad english =) Quote
♥FWR Media Posted August 3, 2008 Posted August 3, 2008 Sam: Thanks for your answer. Look, im newbe. How can i do to add this tables ? Thanks and sorry for my bad english =) No I think you may have misunderstood. Sam was saying that your script is requesting the field attribute_sort and that field does not exist as standard in table products_attributes table. What this probably means is that you have installed a contribution but have not applied the relevant SQL changes. Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.