Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Plaease Help me error on Oscommerce


hoangquan

Recommended Posts

Hello

 

my website is http://www.mda-tek.com/demooscommerce/4/

 

 

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 = '61' order by p.products_date_added DESC limit 2

 

[TEP STOP]

 

Please help me fix step by step

 

Thanks you very much

 

Hoang Quan

Link to comment
Share on other sites

Hello

 

my website is http://www.mda-tek.com/demooscommerce/4/

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 = '61' order by p.products_date_added DESC limit 2

 

[TEP STOP]

 

Please help me fix step by step

 

Thanks you very much

 

Hoang Quan

You also have

 

-------------------------------------- -->

 

and

 

-->

 

when you view source on the page. They may also be causing problems.

Link to comment
Share on other sites

You also have

 

-------------------------------------- -->

 

and

 

-->

 

when you view source on the page. They may also be causing problems.

 

I've been having the same problems. has your mysql been updated to a newer version? if so It's more strict and wont allow column jopins with out parenthasis (excuse spelling). check the mysql forums, or theree are threads on here about it, I was looking at them a few days ago, so fdont have them listed, sorry, I'm beyond that bit now and onto other problems... I promise myself I will never move hosts again........

Link to comment
Share on other sites

  • 2 months later...
I've been having the same problems. has your mysql been updated to a newer version? if so It's more strict and wont allow column jopins with out parenthasis (excuse spelling). check the mysql forums, or theree are threads on here about it, I was looking at them a few days ago, so fdont have them listed, sorry, I'm beyond that bit now and onto other problems... I promise myself I will never move hosts again........

 

I have similar problem:

error message says

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

 

select count(p.products_id) as total 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 = '27'

 

[TEP STOP]

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...