Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

YMM seo urls problem


chirag nagar

Recommended Posts

Posted

Hi All,

 

I am using oscommerce 2.2rc2a.

I have installed YMM and seo urls5 contribution.

YMM working fine but when i enables seo urls i got following error.

 

"1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') and p.products_status = '1' and p.products_ordered > 0 and p.products_id = pd' at line 1

 

select distinct p.products_id, pd.products_name from products p, products_description pd, products_to_categories p2c, categories c where p.products_id in () and p.products_status = '1' and p.products_ordered > 0 and p.products_id = pd.products_id and pd.language_id = '1' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and '120084' in (c.categories_id, c.parent_id) and find_in_set('0', p.products_hide_from_groups) = '0' order by p.products_ordered desc, pd.products_name limit 10".

 

If anybody has solved this?

Need help with this.

Posted

Hi All,

 

I am using oscommerce 2.2rc2a.

I have installed YMM and seo urls5 contribution.

YMM working fine but when i enables seo urls i got following error.

 

"1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') and p.products_status = '1' and p.products_ordered > 0 and p.products_id = pd' at line 1

 

select distinct p.products_id, pd.products_name from products p, products_description pd, products_to_categories p2c, categories c where p.products_id in () and p.products_status = '1' and p.products_ordered > 0 and p.products_id = pd.products_id and pd.language_id = '1' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and '120084' in (c.categories_id, c.parent_id) and find_in_set('0', p.products_hide_from_groups) = '0' order by p.products_ordered desc, pd.products_name limit 10".

 

If anybody has solved this?

Need help with this.

 

The problem is in here: where p.products_id in () and p.products_status = '1' // marked with RED

Posted

The problem is in here: where p.products_id in () and p.products_status = '1' // marked with RED

 

Yes i am aware of this.

any solutiuon to fix it.

Archived

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

×
×
  • Create New...