Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Easy Populate import problems


Recommended Posts

A recent text file will not import. The error is as follows:

 

| AE-91241 | small_imag | medium_ima | big_images | Aerotech R | Aerotech R | | 47.96 | 11.99 | 20 | 59.95 | 0.11 | 0000-00-00 | 0000-00-00 | 0 | 3 | 6 | 40 | Aerotech H | Model Rock | Aerotech R | Aerotech H | Taxable Go | Active Updated

| RT-29100C | small_imag | medium_ima | big_images | Rouse-Tech | Rouse-Tech | | 18.86 | 4.79 | 10 | 20.95 | 1 | 0000-00-00 | 0000-00-00 | 1 | 1 | 1 | 42 | Rouse-Tech | Model Rock | Rouse-Tech | | Taxable Go | Active !New Product!

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 '', '43')' at line 37

 

INSERT INTO products ( products_image, products_mediumimage, products_largeimage, products_model, products_price, products_discount, products_percent, products_retail, products_status, products_last_modified, products_date_added, products_date_available, products_tax_class_id, products_weight, products_quantity, products_reorder, products_reorder_to, manufacturers_discount, manufacturers_id) VALUES ( 'small_images/small_rouse-tech.jpg','medium_images/medium_rouse-tech.jpg', 'big_images/big_rouse-tech.jpg','RT-29100C', '18.86', '4.79', '10', '20.95', '1', CURRENT_TIMESTAMP, "0000-00-00 00:00:00", "0000-00-00 00:00:00", '1', '1', '1', '1', '42', 1', '43')

 

[TEP STOP]

 

 

When I change the model number to be the same as the the first line on all the products, all of them will import as the single model number successfully. This proves there is nothing wrong with the file in general.

 

I then changed the second model number to RT-29100C or any other model number and the error repeats.

 

To me it looks as if there is some limit on the number of products that can be imported into the SQL. The text file only has 37 more products in it, but the current store has about 1000 products in it.

 

I tried the PHP 5 fix with no success. Help!

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