Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

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


Guest

Recommended Posts

This is what I get when I try to browse my os commerce catalog.Instead of viewing my items. is ee

 

 

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

 

What is this. I have no Idea what cuased it or how to fix it, and my website is usless if I cant fix it.

 

here is a url where it occures.

http://getoutandplaysports.com/v-web/ecomm...afb9edc969e2c64

 

if someone can help I will be eternally grateful.

 

Thanks

[email protected]

Link to comment
Share on other sites

I'm not much help on this but try http://www.oscommerce.com/community/bugs,3...;+Configuration

and google for "1054 - Unknown column 'p.products_id' in 'on clause'" ... lots of hits.

 

Someone that knows something will come along soon. :)

BACKUP your current files before editing. Did I mention to BACKUP your current files, first?

 

"I'm not a hero, I'm a firefighter; it is my job to save lives. I'm a Jesus Christ Firefighter saving souls from the flames!"

 

Installed contribs: Almost XP Buttons *** Attribute Sort *** Auto Thumbnail Change *** Column Product Listing (for SPPC v4.0) *** Contact Us Registered *** Country-State Selector 1.3.3J *** CC# Db Mask 1.3 *** Email Order Clickable Link *** Extra Images *** Linkpoint API CVM *** Loginbox Best *** New Spiders *** New Attrib Mgr v.5.0 w/ New Attrib Include *** Multi Product Update *** MySQL Cron *** Pricing per Category *** Product Listing in Columns v2.2 [later upgraded to CPL(SPPC)] *** Product Sort v1.6 *** Seperate Pricing Per Customer v4.15 *** Simple Down for Maintenance [Gokou] *** Ultimate_SEO_URLs_v2.2.2 *** UPS Worldship Export 1.3 *** Welcome Email username & password

Link to comment
Share on other sites

If you wasn't getting this error, then all of a sudden it appeared, it seems your host has upgraded MySql 5 and you have an older version of osC (or you installed a mod that uses an older index.php file).

 

Go to this link http://www.oscommerce.com/ext/update-20051113.html to see how to upgrade. The section MySQL 5.0 Compatibility obviously applies to you.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...