Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Shop Works Wrong


xhtor200

Recommended Posts

Posted

I've installed the osCommerce Script on my Host. Everything was correct, but when i was on the catalog i got that message in the right products column:

 

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

 

select p.products_image, pd.products_name, p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from products_description pd, products p left join manufacturers m on p.manufacturers_id = m.manufacturers_id, products_to_categories p2c left join specials s on p.products_id = s.products_id where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '1' and p2c.categories_id = '62' order by pd.products_name

 

[TEP STOP]

 

 

 

 

I recieve that message in the undercategories too!

 

What have i done wrong???

Posted

Your .sql file apparently did not upload correctly or you inadvertantly delted the products_id column. I suggest going to phpmyadmin, opening the products table, seeing if the field products_id exists, it it does not enter that field with type: int(11) Null: no Extra: auto_increment

Andrew Yuen

osCommerce, Community Team

Posted

well this will appear if Mysql version is 5 plus.

 

Need to apply the latest released oscommerce patch.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Archived

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

×
×
  • Create New...