• I’m getting an “Invalid file” error from your plugin when I try to upload a CSV file.

    I’m using your version 5.0, WordPress 4.8.1, and PHP 5.4 on a Godaddy-hosted web site.

    Since I’m on Macintosh, I have tried the following combinations of CSV files:
    (a) Mac line endings (CR only), all fields surrounded by double-quotes
    (b) Mac line endings (CR only), only those fields containing commas surrounded by double-quotes
    (c) Windows line endings (CRLF), all fields surrounded by double-quotes
    (d) Windows line endings (CRLF), only those fields containing commas surrounded by double-quotes
    but I get that “Invalid file” error every time.

    What am I missing?

    Here are the contents of (a) (and (c)):

    “Character”,”Actor”,”Age”,”Description”
    “John Boy”,”Mark Smith”,”5-50″,”Older than his years, John Boy yearns to move to the big city.”
    “Big Mama”,”Bessie Smith”,”50-100″,”Classic mother figure, Big Mama takes care of her boys and her husband, defending her family against all odds.”
    “Paw”,”Robert Crighton”,”43-96″,”When in the course of human events it becomes necessary to semper fidelis.”

    And here are the contents of (b) (and (d)):

    Character,Actor,Age,Description
    John Boy,Mark Smith,5-50,”Older than his years, John Boy yearns to move to the big city.”
    Big Mama,Bessie Smith,50-100,”Classic mother figure, Big Mama takes care of her boys and her husband, defending her family against all odds.”
    Paw,Robert Crighton,43-96,When in the course of human events it becomes necessary to semper fidelis.

    I’ve read your https://www.pearlbells.co.uk/install-csv-to-webpage page carefully (including all the comments), but don’t see this issue addressed.

    Also, I’m confused regarding the name of your plugin. Is it:
    – “CSV to Responsive Tables,” which is the text at the top of this page?
    Or is it
    – “CSV to Webpage,” which matches the “slug” in the address of this page?

    Thanks!

    Martin

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter martincomputerguy

    (@martincomputerguy)

    Please also note: My CSV files use regular (straight) double-quotes (ASCII 34 decimal/22 hex), whereas this www.remarpro.com support page has changed them all to curly (typesetter) double-quotes (ASCII 8220 decimal/201C hex & ASCII 8221 decimal/201D hex).

    Plugin Author lizeipe

    (@lizeipe)

    Hi martin ,

    Thanks for using my plugin. I am not sure why you are getting the above errors. Can you check the server permissions.

    If you can send me an sample CSV. I will have look.

    If you have any further queries please leave a reply in my blog.

    https://www.pearlbells.co.uk/category/wordpress-tutuorials/

    Thanks

    Liz

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘“Invalid file” error when try to upload a CSV file’ is closed to new replies.