Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Newbie: Cannot display products


JasonT

Recommended Posts

Posted

Ok, I instaled osc, and then this skin: http://www.oscommerce.com/community/contributions,2951 .

Suddenly, when I click on a category I get an error message:

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 = '18'

 

[TEP STOP]

If the category only has sub-categories, then the sub-cats display fine... it just cannot display the products.

Now since I'm almost clueless when it comes to PHP (I toyed with it a few months ago, and thats about it) can anyone help me out? :blush:

Thanks guys!

Jason

Posted

Oh, also, this is on my local machine, so there isn't any ssl, or anything like that to deal with.... yet. :P

Jason

Posted

Well, I think I figured it out myself. The mysql stuff in index.php was redone (incorrectly). I just replaced that section with the good code from the default download, and it works. I haven't run into anything else, so I'm good... So far. :P

Jason

Archived

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

×
×
  • Create New...