Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

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


liz217

Recommended Posts

Posted

Hello all,

 

Recently my webhost moved our stuff onto a new platform and I started getting this message whenever I click on a product category.

 

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

 

[TEP STOP]

 

I don't really know this stuff and I've been able to get everything else done so far with only a little help here and there, but I don't have the slightest clue what to do to fix this. I'm pretty sure it has something to do with the database. (I think a table was damaged or deleted in the move) I appreciate anything you can do to help me with this.

 

Thanks,

Liz

Posted
Hello all,

 

Recently my webhost moved our stuff onto a new platform and I started getting this message whenever I click on a product category.

 

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

 

[TEP STOP]

 

I don't really know this stuff and I've been able to get everything else done so far with only a little help here and there, but I don't have the slightest clue what to do to fix this. I'm pretty sure it has something to do with the database. (I think a table was damaged or deleted in the move) I appreciate anything you can do to help me with this.

 

Thanks,

Liz

Hi i am novice but this happened to me when i tried to delete boxes in catagories/products in the admin section. i remember just reinstalling the deleted boxes so there were equal boxes to the products. i think this is definatly an admin error not serving error but i could be wrong. Try uploading your css style again

best wishes

julie

Posted
Recently my webhost moved our stuff onto a new platform and I started getting this message whenever I click on a product category.

 

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

It's a mysql compatibility issue. Go to the contributions section and download the oscommerce patches contribution. You need to install the changes for the index and advanaced_search_result files. Depending on your code, more changes may be needed.

 

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

Posted
Hello all,

 

Recently my webhost moved our stuff onto a new platform and I started getting this message whenever I click on a product category.

 

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

 

[TEP STOP]

 

I don't really know this stuff and I've been able to get everything else done so far with only a little help here and there, but I don't have the slightest clue what to do to fix this. I'm pretty sure it has something to do with the database. (I think a table was damaged or deleted in the move) I appreciate anything you can do to help me with this.

 

Thanks,

Liz

 

 

Hi,

You can check this url:

http://www.oscommerce.com/community/contributions,4654

If you want to gather huge knowledge about your problem then check this

http://www.oscommerce.com/forums/index.php?showtopic=263592

 

Anyway should be more good luck.

Thanks

Archived

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

×
×
  • Create New...