Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hello all. I am very new to osCommerce and php, but am learning quickly. I am running osCommerce v2.2 RC2 and just installed the Multi Images Extra contribution by Nico. I then tried to input a dummy product and received the following error after hitting the update button.

 

 

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 ''3)' at line 1

 

update products set products_quantity = '0', products_model = '4980', products_price = '5.4000', products_date_available = null, products_weight = '0.00', products_status = '1', products_tax_class_id = '1', manufacturers_id = '10', products_image = '4980- Ring-Spun Tee.jpg', products_last_modified = now() where products_id = '3)

 

 

The error must be in the admin/categories.php file, but I just cannot seem to find the cause anywhere in the file. I assume that it has to do with the ) after the 3 instead of a ' , right? Any help would be appreciated. Thanks in advance!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...