Gshot Posted October 7, 2008 Share Posted October 7, 2008 HI Guys, I have just installed a new OSC store using a template. When I click on a product category I get this error - 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 = '61' [TEP STOP] How can i fix this? Link to comment Share on other sites More sharing options...
FIMBLE Posted October 7, 2008 Share Posted October 7, 2008 Hiya, Try to run this via phpmyadmin alter table orders_status add public_flag int DEFAULT '1'; Back up first though !! Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
Gshot Posted October 8, 2008 Author Share Posted October 8, 2008 Hiya, Try to run this via phpmyadmin alter table orders_status add public_flag int DEFAULT '1'; Back up first though !! Nic Thanks, however that didnt work :rolleyes: Link to comment Share on other sites More sharing options...
Gshot Posted October 8, 2008 Author Share Posted October 8, 2008 Error only seems to happen now when a category doesnt have any subcatgorys with products. So category on its own, gets error (with or without products) Category with a subcatgory with products, get no error? Link to comment Share on other sites More sharing options...
Gshot Posted October 9, 2008 Author Share Posted October 9, 2008 Im still getting - 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 = '76' [TEP STOP] Can anyone help? Link to comment Share on other sites More sharing options...
Gshot Posted October 10, 2008 Author Share Posted October 10, 2008 Fixed with this contrib - http://www.oscommerce.com/community/contributions,4654 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.