WordPress.org

Forums

[wp-table] Not parsing csv import correctly (6 posts)

  1. kwarmath
    Member
    Posted 6 years ago #

    I have a csv file that i'm importing to create the table. One column of the csv file contains some html (an <a href> tag). When i import the file, it looks perfect in the table preview screen but once i actually import it by clicking on the Import Table button, the column with the html is missing (only for those rows that had it).

    I can provide the sample csv to recreate the problem if that is helpful.

    Also, i can import the table just fine without the html and add it after the import by editing the table data and it displays ok. I have to many rows to edit manually, though, so i wanted to import everything via csv.

    thx, k.

  2. lachh1
    Member
    Posted 6 years ago #

    I can't even get it to upload the .csv file. I got this error:

    Warning: move_uploaded_file(/home/content/j/m/f/jmf448/html/blog//home/content/j/m/f/jmf448/html/blog/wp-content/uploads/tableone.csv) [function.move-uploaded-file]: failed to open stream: No such file or directory in /home/content/j/m/f/jmf448/html/blog/wp-content/plugins/wp-table/wp-table-admin.php on line 170

    Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpXJfjgZ' to '/home/content/j/m/f/jmf448/html/blog//home/content/j/m/f/jmf448/html/blog/wp-content/uploads/tableone.csv' in /home/content/j/m/f/jmf448/html/blog/wp-content/plugins/wp-table/wp-table-admin.php on line 170

    ERROR : File cannot be saved. Check the permission of the wordpress upload folder

    Any ideas?

  3. frankpereiro
    Member
    Posted 6 years ago #

    I have that same problem when trying to import a csv file, any help will be very much appreciated. Thanks.

  4. flick
    Member
    Posted 6 years ago #

    I did find a solution for this with thanks to Pinoy Console which I wrote up here:

    http://www.wpsnippets.com/2008/06/wp-table-plugin-fatal-error-fix/#comment-8

    Hopefully this might be helpful.

  5. frankpereiro
    Member
    Posted 6 years ago #

    Thanks, mosey, your comment solved the problem.

  6. flick
    Member
    Posted 6 years ago #

    Glad it worked for you too! :)

Topic Closed

This topic has been closed to new replies.

About this Topic