• I just got Sendpress 0.9.6 on WordPress 3.7.1, and I’m having a problem when I try to upload a CSV to import into a list I’ve created. The full error is below. Note that in the parentheses after file_get_contents, the file path before /wp-content has no slashes in it: C:Inetpubvhostsarcoffortbend.orgemailblast/wp-content…. It should be C:\Inetpub\vhosts\arcoffortbend.org\emailblast\wp-content…. What can I do to fix this?

    Here is the full error message:

    Warning: file_get_contents(C:Inetpubvhostsarcoffortbend.orgemailblast/wp-content/uploads/2013/11/ArcInternalList_1.csv) [function.file-get-contents]: failed to open stream: No such file or directory in C:\Inetpub\vhosts\arcoffortbend.org\emailblast\wp-content\plugins\sendpress\classes\class-sendpress-data.php on line 858
    We found 1 lines in your csv.
    Warning: Invalid argument supplied for foreach() in C:\Inetpub\vhosts\arcoffortbend.org\emailblast\wp-content\plugins\sendpress\classes\views\class-sendpress-view-subscribers-csvprep.php on line 146

    Warning: Invalid argument supplied for foreach() in C:\Inetpub\vhosts\arcoffortbend.org\emailblast\wp-content\plugins\sendpress\classes\views\class-sendpress-view-subscribers-csvprep.php on line 146

    Warning: Invalid argument supplied for foreach() in C:\Inetpub\vhosts\arcoffortbend.org\emailblast\wp-content\plugins\sendpress\classes\views\class-sendpress-view-subscribers-csvprep.php on line 146

    Warning: Invalid argument supplied for foreach() in C:\Inetpub\vhosts\arcoffortbend.org\emailblast\wp-content\plugins\sendpress\classes\views\class-sendpress-view-subscribers-csvprep.php on line 146

    http://wordpress.org/plugins/sendpress/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter jcounts

    (@jcounts)

    I forgot to post this info:

    WordPress Version: 3.7.1
    SendPress Version: 0.9.6
    PHP Version: 5.3.3
    PHP Memory Limit: 256 MByte
    PHP Memory Used: 31.47 MByte
    MySQL Version: 5.1.69

    Database Tables:
    wp_sendpress_subscribers_event OK
    wp_sendpress_report_url OK
    wp_sendpress_subscribers_status OK
    wp_sendpress_subscribers OK
    wp_sendpress_list_subscribers OK
    wp_sendpress_queue OK

    Ports:
    Port 25: blocked
    Port 465: open
    Port 587: open

    Support Info:
    ### Begin System Info ###

    ## Please include this information when posting support requests ##

    Multi-site: No

    SITE_URL: http://emailblast.arcoffortbend.org
    HOME_URL: http://emailblast.arcoffortbend.org

    SP Version: 0.9.6
    WordPress Version: 3.7.1

    Platform: Windows
    Browser Name: Firefox
    Browser Version: 25.0
    User Agent String: Mozilla/5.0 (Windows NT 6.2; WOW
    64; rv:25.0) Gecko/20100101 Fire
    fox/25.0

    Database Tables:
    wp_sendpress_subscribers_event OK
    wp_sendpress_report_url OK
    wp_sendpress_subscribers_status OK
    wp_sendpress_subscribers OK
    wp_sendpress_list_subscribers OK
    wp_sendpress_queue OK

    Sending Method: SendPress_Sender_Gmail

    PHP Version: 5.3.3
    MySQL Version: 5.1.69
    Web Server Info: Apache

    PHP Memory Limit: 256M
    PHP Post Max Size: 8M

    WP_DEBUG: Disabled

    WP Table Prefix: Length: 3 Status: Acceptable

    Show On Front: posts
    Page On Front: #0
    Page For Posts: #0

    Session: Disabled
    Session Name: PHPSESSID
    Cookie Path: /
    Save Path: /var/lib/php/session
    Use Cookies: On
    Use Only Cookies: On

    UPLOAD_MAX_FILESIZE: 128MB
    POST_MAX_SIZE: 8MB
    WordPress Memory Limit: 40MB
    WP_DEBUG: Off
    DISPLAY ERRORS: N/A
    FSOCKOPEN: Your server supports fsockopen.

    ACTIVE PLUGINS:

    SendPress: Email Marketing and Newsletters: 0.9.6

    CURRENT THEME:

    Twenty Thirteen: 1.1

    ### End System Info ###

    Plugin Author Josh Lyford

    (@joshl)

    Thanks for the info. I have not seen this before but will do some testing on our side and see if i can figure out what is going on.

    Best,
    Josh

    I have this same issue. The CSV is uploading as one long line and producing the error.

    Ok, saving the file as a windows .csv solves the issue of getting them into the right columns.

    But now I have another problem: once I map the .csv fields to the subscriber fields and click “Start Import” only 1 of the 2589 lines is being imported, and only the email from that line.

    Any ideas?

    Plugin Author itdoug

    (@itdoug)

    Usually the problem has to do with the CSV file itself. Sometimes there is some extra characters at the beginning of the file if you open in a text editor. Would it be possible for you to open it in a text editor such as notepad on Windows or text Wrangler on the Mac and send a screenshot of the beginning of the file? I can also provide you with an email address if you would like to email us the file.

    The other option is to just copy out the contents of the text file and paste it into the bulk import area when you click add subscriber. All you need to do to find the bulk importer is click on the subscribers tab and then click the “add” button next to the list you are trying to import to. It shows an example of how the CSV data should be formatted and you can paste it in and add to your list that way. We have done up to 50,000 records this way, so you shouldn’t have any problem with 3000.

    Let me know which way you like to go and we will try to help.

    Thanks for the reply.

    Yes, we ended up figuring out the 2nd option and that worked for us.

    Thank you!

    Contented

    (@contented)

    using bulk ‘add’ feature, do I really have to add a comma “,” at the end of each field? Is there a quick way to do this?
    G

    Plugin Author itdoug

    (@itdoug)

    No, bulk add does not require a comma. Just put each address on a separate line.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Error when uploading CSV to import to list’ is closed to new replies.