Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Easy Populate Model Number too long


Guest

Recommended Posts

Whenever I tried to upload my easy Populate database file to my site, It would get to the first product and give me this error:

 

24small westwind black.jpg... ERROR! - Too many characters in the model number.

12 is the maximum on a standard OSC install.

Your maximum product_model length is set to 15

You can either shorten your model numbers or increase the size of the field in the database.

 

 

I have all my product model numbers blank, so I am assuming that it is looking at the image file size. If I changes the SQL table, nothing helped,

 

what I had to do was change the SQL table from 12 to 40 (or whatever size you need) and change the variable in easypopulate.php in the admin directory.

 

As long as those matched and were long enough, everything started uploading fine, hopefully this will help some of you!

Link to comment
Share on other sites

I have all my product model numbers blank
Easy Populate uses the products_model field to tell the difference between products. If you leave it blank, it reads something else as the products_model. This produces odd effects. You should always assign unique products_model values when using Easy Populate.

 

Hth,

Matt

Always back up before making changes.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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