Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

ok so i installed the EN-FR-DE Attribute Sort with Attribute Clone 1_8_3 where the clone options works fine; however if i want to put a new attribute for a product under Porduct Attributes and click on "Insert" it give me this error:

 

1136 - Column count doesn't match value count at row 1

 

insert into products_attributes values (null, '109', '1', '15', '0', '+')

 

[TEP STOP]

 

please keep in mind the number change every time; i did everything the right way but not sure when its doing this, any advice?

Posted

If you look in the product_attributes table you will see there are probably 7 fields in it.

 

The insert statement in your post only has 6.

 

Therefore you need to change the code to insert data into every field.

 

HTH

 

G

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Posted

If you look in the product_attributes table you will see there are probably 7 fields in it.

 

The insert statement in your post only has 6.

 

Therefore you need to change the code to insert data into every field.

 

HTH

 

G

 

 

i believe you are right i do have 7 fields and there are six in my statement; however i am new to this and i have no idea where i should go and fix that! any advice?

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...