• Resolved ccrim

    (@ccrim)


    I recently installed this and tried to use it to import several sets of data (posts, users, comments) from a different database system. I started off my testing with just five rows of data to come in as posts of a custom post type with some custom fields. These tests worked as I adjusted my source data to be compatible with WordPress. When I was then ready to bring in the full set of rows (under 600 and just 7 fields), I found that the file seemed to be parsed fine in step one but that the preview data feature did not work and I could not assign fields. It behaved as if the file was empty and I was unable to import anything, even with my saved import configuration.

    I kept trying different things including smaller sets of records but nothing would make it work until I named the new file the same as my original test file (“events-sample.csv” instead of “events.csv”). Then I could see the field names and preview data and successfully complete the import.

    A couple of days later and now I’m trying to bring in a table of new users (less than 200) and I’m back to the same problem again. The file appears to be accepted and scanned successfully in step one, but no field data or field names show up in the subsequent steps. I tried the same trick of renaming the file but that didn’t help this time. I tried uploading the file to the plugin’s uploads directory and I was able to select it but still no fields or data. I tried uninstalling the plugin (with plugin data deletion) and reinstalling but still no go.

    What’s the trick to get this to work again? (I’m running WordPress 6.4.3, PHP 7.2.21. This data migration is part of the process of getting ready to update my server, including PHP.)

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author vjinfotech

    (@vjinfotech)

    Hi,

    Thanks for getting in touch

    Please contact me on [email protected]. i will guide you as soon as possible

    Let me know if you have any questions

    Thanks and have a nice day

    Thread Starter ccrim

    (@ccrim)

    I never heard back from our email exchange but I spent some more time on this and eventually figured out that the problem was the line breaks (CR vs LF) in my files exported from another program. Converting them to LF did the trick and let this plugin proceed with the import.

    I would like to suggest an error message on the initial import file screen would be helpful. It scanned the file and gave no error message.

    Thanks for a great plugin though!

    Thread Starter ccrim

    (@ccrim)

    Thinking about it more… or you could add support for all three common line breaks: CR, LF, or CRLF

    Plugin Author vjinfotech

    (@vjinfotech)

    Hi,

    We will add support for line breaks soon as possible

    Let me know if you have any questions

    Thanks and have a nice day

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can’t start an import’ is closed to new replies.