• Resolved djavet

    (@djavet)


    Hi!

    Great plugin I wish use on this website:
    http://www.john-howe.com

    I change in gb-page-import.php the comma to semicolon:
    while ( ( $data = fgetcsv( $handle, 2000, ‘;’, ‘”‘ ) ) !== FALSE ) {

    But I still receive this error once I replace all ‘ with & #39 ; and import the file into WP:
    Your data seems to be corrupt. Saving failed and import failed.
    I’m sorry, but I wasn’t able to import entries from the CSV file.
    I export the file from mysql and then reorder the columns. Did I miss something?

    Thx for your support.

    Best regards,
    Dominique

    https://wordpress.org/plugins/gwolle-gb/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Marcel Pol

    (@mpol)

    Hi, not sure if this answer gets posted, the forums are being worked on these two weeks…

    The most likely problem is that your CSV file has DOS line-endings. You could load it in a decent text editor and convert line-endings to UNIX. Then try again.

    Otherwise… Did you take a look at the example CSV that is in the zipfile?

    Thread Starter djavet

    (@djavet)

    Hi Marcel,

    Thx a lot for your feedback.
    I’ve converted the end of line in Notepad++ to unix.
    My file was encoded as utf8, I change it to ainsi and it worked! Cool.

    Thx a lot.
    Dom

    PS: Thx for your great script.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Import failed…’ is closed to new replies.