Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cannot edit products after adding them to catalog - Error 1064


windsabre

Recommended Posts

I am able to add new products, and view them on the live site without error however I get this error message when trying to edit products I've already added.

 

This error appears once I hit "Edit" on any existing product in the catalog.

 

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 'p, products_description pd where p.products_id = '31' and p.products_id = pd.pro' at line 1

 

select pd.products_name, pd.products_description, pd.products_url, p.products_id, p.products_quantity, p.products_model, p.products_image, p.products_price, p.products_weight, p.products_date_added, p.products_last_modified, date_format(p.products_date_available, '%Y-%m-%d') as products_date_available, p.products_status, p.products_tax_class_id, p.manufacturers_id, p.products_ship_sepfrom products p, products_description pd where p.products_id = '31' and p.products_id = pd.products_id and pd.language_id = '1'

 

[TEP STOP]

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...