Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error upgrading MYSL to 5.0


warren64c

Recommended Posts

Posted

Hello-

 

I have had several lines of code that needed to be changed when I upgraded MYSL and I have been successful with all but the following.

 

 

 

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

 

select p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_quantity, p.products_image, pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id, pmi.products_msrp from products p, products_description pd left join products_misc_info pmi on pmi.products_id = p.products_id where p.products_status = '1' and p.products_id = '53958' and pd.products_id = p.products_id and pd.language_id = '1'

 

 

Does any one have an idea how to fix the offendig line?

 

Thanks Warren

Posted
from products p, products_description pd left join products_misc_info pmi on pmi.products_id = p.products_id

Probably the error will go away when you change it to:

from products p left join products_misc_info pmi on pmi.products_id = p.products_id, products_description pd

Archived

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

×
×
  • Create New...