• 专用补丁:解决MySQL 5.0的兼容问题1054错误 (2009-3-17)

    by maxidea • 2009年04月16日 • osCommerce大中华版

    由于MYSQL 5的新特性,导致SQL语句会出现以下错误提示:
    1054 – Unknown column ‘p.products_id’ in ‘on clause’ select count(p.products_id) as total from products p, products_description pd, manufacturers m, products_to_categories p2c left join specials s on p.products_id = s.products_id where p.products_status = ’1′ and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = ’10′ and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = ’5′ and p2c.categories_id = ’21′
    出现以上1054错误信息,请下载补丁,并覆盖对应的文件即可:
    http://www.maxcapture.com/download/osc/debug/mysql5-1054fail.zip
    本补丁仅用于为osCommerce大中华版2006专用。(*注意:如您的OSC能正常使用,则无须安装此补丁)