Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

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


SonSt4R

Recommended Posts

Posted

Hi to all,

I'm Italian boy, and this is the first time I post here.

I really need your help.

 

I know that the problem is frequent, but I don't know any things.

 

I just update my dedicated server to MySql 5 and PHP 5.2.

After this, I had see ther are some problems to the website.

The last problem, that I can't resolve, is this:

 

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

 

select pd.products_name, p.products_model, p.products_image, p.products_id, p.manufacturers_id, p.products_price, p.products_weight, p.products_price1,p.products_price2,p.products_price3,p.products_price4, p.products_price5,p.products_price6,p.products_price7,p.products_price8, p.products_price1_qty,p.products_price2_qty,p.products_price3_qty,p.products_pri

ce4_qty, p.products_price5_qty,p.products_price6_qty,p.products_price7_qty,p.products_pri

ce8_qty, p.products_qty_blocks, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price 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 = '211' and pd.products_id = '211' and pd.language_id = '1'

 

in every products pages.

 

All the rest it's ok now, after I edited index.php and advanced_search_result.php, but I don't know where is this query to editing....

 

Please don't tell me that see this link: http://www.oscommerce.com/community/contributions,4654 because this don't help me.... I've just see it.

 

Sorry for my bad and bad english, but I hope you have understand me and you would help me...it's important... :'(

 

Thank you...

 

Michele

Archived

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

×
×
  • Create New...