Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Mar 2007
    Posts
    26
    Plugin Contributions
    0

    Default Problems Importing into phpMyAdmin

    I keep getting the following error when I attempt to import 2 new records for the table products_description: "Invalid field count in CSV input on line 1"

    Here's a summary of my phpMyAdmin import settings:

    In phpMyAdmin on my hosts server (cpanel),
    - File to import (I browse to Products_updates.csv)
    - Character set - utf8 (default no idea what this means)
    Partial import
    Allow interrupt of import in case script detects it is close to time limit. This might be good way to import large files, however it can break transactions.

    Number of records(queries) to skip from start = 0

    Format of imported file = csv


    Ok, so i checked to make sure I have the same number of columns on my csv file as the database table. I am confident that I have the right format because I exported the only 2 records I set up through Zen cart admin and replaced with 2 new ones. Then again, if someone wants to look at my csv file to check, let me know. I wasn't sure wether or not to include the headings so I tried with and without and got the same error.

    I've been testing Zen cart and this is the deal-maker or deal-breaker for me at this point. Please help me become a Zen cart guru and lover like you all!

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Problems Importing into phpMyAdmin

    Get easy populate to do this the free ver will assist...you can search here in the contributions forum
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Mar 2007
    Posts
    26
    Plugin Contributions
    0

    Default Re: Problems Importing into phpMyAdmin

    Quote Originally Posted by kobra View Post
    Get easy populate to do this the free ver will assist...you can search here in the contributions forum
    I found info on this at this link: http://modhole.com/modhole/index.php...N_position=5:5. For whatever reason the link for "Uploading data to your Zen Cart using Easy Populate" does not work. Know why?

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Problems Importing into phpMyAdmin

    probably permission related check them
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Mar 2007
    Posts
    26
    Plugin Contributions
    0

    Default Re: Problems Importing into phpMyAdmin

    That's okay. I ignored that and went ahead and installed Easy populate. I downloaded a completed tab-delimited file of my products and used that as a template to test upload 2 more products. Should have been a slam dunk in my mind but I got these errors:

    No model field in record. This line was not imported27073.jpg | CHERUB BIR | An English | | 9.3 | 3/7/2007 | 0001-01-01 | 19.95 | 0 | | | 0 | | Taxable Go | 1 |
    No model field in record. This line was not imported27382.jpg | COMPASSION | The Virgin | | 11.6 | 3/7/2007 | 0001-01-02 | 24.95 | 0 | | | 0 | | Taxable Go | 1 |
    No model field in record. This line was not imported | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
    Upload Complete

    The model field is blank for my current and new products. In Configuration - Product Listing, I have a zero for Display Product Model. What else do I need to configure to have the system ignore the Model field in my uploads? Or do I have to enter something in this field?

  6. #6
    Join Date
    Mar 2007
    Posts
    26
    Plugin Contributions
    0

    Default Re: Problems Importing using Easy Populate - No Model Field in record

    Quote Originally Posted by THUNBUG View Post
    That's okay. I ignored that and went ahead and installed Easy populate. I downloaded a completed tab-delimited file of my products and used that as a template to test upload 2 more products. Should have been a slam dunk in my mind but I got these errors:

    No model field in record. This line was not imported27073.jpg | CHERUB BIR | An English | | 9.3 | 3/7/2007 | 0001-01-01 | 19.95 | 0 | | | 0 | | Taxable Go | 1 |
    No model field in record. This line was not imported27382.jpg | COMPASSION | The Virgin | | 11.6 | 3/7/2007 | 0001-01-02 | 24.95 | 0 | | | 0 | | Taxable Go | 1 |
    No model field in record. This line was not imported | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
    Upload Complete

    The model field is blank for my current and new products. In Configuration - Product Listing, I have a zero for Display Product Model. What else do I need to configure to have the system ignore the Model field in my uploads? Or do I have to enter something in this field?
    Sorry, bumping this and changing title since I've moved from phpMyAdmin to Easy Populate. Thank you.

  7. #7
    Join Date
    Mar 2007
    Posts
    26
    Plugin Contributions
    0

    Default Re: Problems Importing using Easy Populate - No Model Field in record

    Ok. I threw away my "don't assume" mentality because it's not like the documentation is comprehensive anyway...lesson number one. So for those as slow as me, Easy Populate the model of the product is a mandatory field for the upload file. I typed "General" and it seemed to work...or at least, it got past that error. Now I don't really have an error but can't find my new product. Geesh. I'll probably kick myself again when I find out why but I've already used too much company time on my business website. If someone would kindly advise in the meantime, please do. My upload results:

    Upload Results
    File uploaded.
    Temporary filename: /tmp/phpYE9rDt
    User filename: Test_EP.txt
    Size: 3037

    UPDATED! - Model: General | large/1932 | CHILD AND | This touch | | 4.577 | 3/7/2007 | | 9.95 | 0 | | | 1000 | | Inspiratio | | | | | | | Taxable Go | 1 |
    UPDATED! - Model: General | large/2702 | MUSICAL AN | On her gli | | 11.477 | 3/7/2007 | | 24.95 | 0 | | | 1000 | | Inspiratio | | | | | | | Taxable Go | 1 |
    UPDATED! - Model: General | large/2707 | CHERUB BIR | An English | | 9.3 | 3/7/2007 | | 19.95 | 0 | | | 1000 | | Inspiratio | | | | | | | Taxable Go | 1 |
    UPDATED! - Model: General | large/2738 | COMPASSION | The Virgin | | 11.6 | 3/7/2007 | | 24.95 | 0 | | | 1000 | | Inspiratio | | | | | | | Taxable Go | 1 |
    No model field in record. This line was not imported | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |

    The last message doesn't really bother me right now. I just can't find the bottom 2 records. The first 2 were already in my website. So how can I find the records I tried to add?

    Thanks.

  8. #8
    Join Date
    Mar 2007
    Posts
    26
    Plugin Contributions
    0

    Default Re: Problems Importing using Easy Populate - No Model Field in record

    Then again...if you guys know a good place that has all the information regarding importing files (format, rules..etc) that would be great. Searching these forums is giving me a headache!

  9. #9
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Problems Importing into phpMyAdmin

    With this, it first is uploaded to a folder - have you then run the apply it to the DB step?
    Zen-Venom Get Bitten

  10. #10
    Join Date
    Mar 2007
    Posts
    26
    Plugin Contributions
    0

    Default Re: Problems Importing into Easy Populate - imported data missing

    Quote Originally Posted by kobra View Post
    With this, it first is uploaded to a folder - have you then run the apply it to the DB step?
    No. I thought that's it. I'm not familiar with the procedure. Can you please tell me how to do this? Oh...I am using the free version of Easy Populate just in case that makes a difference. I've read the readme.txt and no help there. I feel so close yet so far.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Importing Products Via phpMyAdmin
    By JasonDamisch in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 20 Jul 2011, 05:14 PM
  2. Problems with importing database in phpMyadmin..
    By adi2009 in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 18 Jan 2011, 12:53 AM
  3. Do I need to use headers when exporting/importing via phpMyAdmin?
    By Shooters in forum Contribution-Writing Guidelines
    Replies: 0
    Last Post: 26 Feb 2008, 05:53 PM
  4. Replies: 1
    Last Post: 12 Oct 2007, 03:02 PM
  5. Importing Table Data via phpMyAdmin and Excel CSV
    By webomat in forum General Questions
    Replies: 6
    Last Post: 16 Mar 2007, 12:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg