Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

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

 

=)

Posted

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?

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.

Posted
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.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...