Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

mysql 5 problems on product_info.php?


derek51

Recommended Posts

I implemented all of the changes needed at http://www.oscommerce.com/ext/update-20051...l#_Toc119693716 after upgrading to mysql 5.

 

Yet, when I visit catalog/product_info.php I receive the following error:

 

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 = '50' and pd.products_id = '50' and pd.language_id = '1'

 

I can't seem to find the replacement SQL that will fix this error. It's happening in product_info.php, not index.php or advanced_search_result.php.

 

Does anyone have the code that needs to be replaced in product_info.php to get it working again?

 

Thanks in advance.

Link to comment
Share on other sites

There isn't any such code for a stock shop. The error would have to be caused by a contribution you have installed. You will need to isolate which one that is in order to fix it. Many contributions have updates or fixes for such problems.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...