Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

error message on product pages


Firstecs

Recommended Posts

Posted

Hi,

 

I am getting the following error message on my products page:

 

++++++

 

1054 - Unknown column 'popt.language_id' in 'where clause'

 

select count(*) as total from products_options popt, products_attributes patrib where patrib.products_id='33' and patrib.options_id = popt.products_options_id and popt.language_id = '1'

 

[TEP STOP]

 

+++++++++==

 

the page doesn't have any buttons to go to checkout or keep shopping etc.

 

Can anyone help?

Posted

Somebody has removed the language_id column from your products_options database table :huh:

 

Perhaps you can remove 'language_id' from the query on product_info.php:

 

 and popt.language_id = '" . (int)$languages_id . "'

 

but I would be inclined to restore the column.

 

 

Sonia

Archived

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

×
×
  • Create New...