Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Please anyone help me fix the errors!


firbest

Recommended Posts

Posted

Errors i get when i click on any catogery

 

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_retail_prices 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 = '93'

 

[TEP STOP]

 

 

Error when i click on any product.

 

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

 

select pd.products_name, p.products_model, p.products_image, p.products_id, p.manufacturers_id, p.products_price, p.products_weight, p.products_price1,p.products_price2,p.products_price3,p.products_price4, p.products_price5,p.products_price6,p.products_price7,p.products_price8, p.products_price1_qty,p.products_price2_qty,p.products_price3_qty,p.products_pri

ce4_qty, p.products_price5_qty,p.products_price6_qty,p.products_price7_qty,p.products_pri

ce8_qty, p.products_qty_blocks, 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 = '1580' and pd.products_id = '1580' and pd.language_id = '1'

 

[TEP STOP]

 

Please can any one help me fix this errors

Posted

If anyone require more info. This happened when i switched to a new database from from SQL 4.0 to SQL 5.0 but i am not sure if that is the problem or if it is the database dump which was made my my hosting compnay which closed my database.

 

Please help me.

 

For any help thanks

Archived

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

×
×
  • Create New...