Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

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


tec

Recommended Posts

Posted

hiya, ok, when i click on certain categories, 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 = '27'

 

the client wants to continue populating the cart with this error in there until it gets fixed, is this wise? will i have to delete everything she did and try reloading the DB?

Posted

ok, maybe i will ask another way......what is that error up there?

thoughts anyone?

:-"

Posted
I think it has been found to be a php 5 compatibility problem. Searching the forums for that should find the solution.

 

Jack

 

oh man, dont say that, i just went through a php5 problem on another cart, by the time i got it figured out I thought my head was going to explode.

  • 1 month later...
Posted

I had this error, too... and it was my programming comments, hehe. I had the comment slashes after the echo, instead of before.

 

the fix: change <?php echo // ...

 

to <?php //echo ...

Archived

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

×
×
  • Create New...