Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

allpords.php issue


Guest

Recommended Posts

Displaying 1 to 20 (of 1446 products) Result Pages: 1 2 3 4 5 ... [Next >>]

1054 - Unknown column 'p.products_sort_order' in 'order clause'

 

select p.products_id, products_weight, p.products_quantity, p.products_model, pd.products_name, pd.products_description, p.products_image, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, p.products_date_added, m.manufacturers_name from products p left join manufacturers m on p.manufacturers_id = m.manufacturers_id left join products_description pd on p.products_id = pd.products_id and pd.language_id = '1' left join specials s on p.products_id = s.products_id where pd.products_name like '%' AND p.products_status='1' order by p.products_sort_order limit 0, 20

 

[TEP STOP]

 

 

here is a direct link http://comtekcomputers.com/allprods.php

Link to comment
Share on other sites

It appears that your allprods.php has the Sort Order contribution installed. That's easily fixed -- just find p.products_sort_order, and remove it. Don't forget the comma.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

  • 3 months later...

Hey All,

 

I have a similar error... but in one of what I think is a required field! Here's my error:

 

1054 - Unknown column 'p.products_id' in 'on clause'

 

SELECT s.specials_new_products_price, p.products_id, p.products_model, p.products_price, pd.products_name FROM products p, products_description pd LEFT JOIN specials s ON p.products_id=s.products_id WHERE p.products_id = pd.products_id AND p.products_status = 1 AND pd.language_id = 1 ORDER BY pd.products_name

 

[TEP STOP]

 

I just moved the site to a new server, the old server doesn't get the error... the new server does! I checked files, and databases... they are identical. Any tips?

 

Thanks in advance! :D

Steve K AKA - Knipper -

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...