Title: Background import process error
Last modified: March 23, 2018

---

# Background import process error

 *  Resolved [Liat Gat – CEO and Founder, KnitFreedom.com](https://wordpress.org/support/users/liatmgat/)
 * (@liatmgat)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/background-import-process-error/)
 * Hi again,
    Just wanted to alert you to an error – when I check the box “background
   import,” and do the import, an error is returned that the file is not found.
 * Without the “background process” box checked, the import works flawlessly.
 * I tested this on Chrome and Safari with the same results.
 * Here is the log:
 *     ```
       Loading...
       JavaScript Loaded.
       File (testexport15.csv) not found!
       ```
   
 * Since I will be importing hundreds of members, I wanted to see if you would be
   able to fix this before I try the large imports.
 * I REALLY appreciate your help and support on this plugin and in the forum. You
   are a rare jewel. I don’t have much money but I am happy to donate some to your
   PayPal for your help.
 * Thank you,
    Liat

Viewing 15 replies - 1 through 15 (of 26 total)

1 [2](https://wordpress.org/support/topic/background-import-process-error/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/background-import-process-error/page/2/?output_format=md)

 *  Plugin Author [Thomas S](https://wordpress.org/support/users/eighty20results/)
 * (@eighty20results)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/background-import-process-error/#post-10108411)
 * Hi Liat,
 * I’m presuming you’re currently testing with version 2.16 of the plugin?
 * I’m not seeing the same error on my end, so something to check is whether or 
   not the JS is working properly…
 * Are there any errors/warnings in the [JavaScript console](https://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors)
   of your browser before/as you’re importing?
 *  Thread Starter [Liat Gat – CEO and Founder, KnitFreedom.com](https://wordpress.org/support/users/liatmgat/)
 * (@liatmgat)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/background-import-process-error/#post-10108504)
 * Yes, I’m working with version 2.16
 * I couldn’t get any errors to show up in the console. I do have script debugging
   turned on in wp_config.php.
 * I do get a popup in the middle of the import that says, “Error with import. Close
   to refresh the admin page.”
 * One thing I notice is that if I try it again with the same file, the import process
   renames the file somehow (“test export 11-1.csv not found!”).
 * Thanks,
    Liat
 *  Plugin Author [Thomas S](https://wordpress.org/support/users/eighty20results/)
 * (@eighty20results)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/background-import-process-error/#post-10109462)
 * The name change is a function of the file upload and shouldn’t be related to 
   the error message you’re getting…
 * I’m spending some time this evening looking at the plugin to see if I can figure
   out what’s happening on your end.
 *  Thread Starter [Liat Gat – CEO and Founder, KnitFreedom.com](https://wordpress.org/support/users/liatmgat/)
 * (@liatmgat)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/background-import-process-error/#post-10109472)
 * Thank you Thomas!
 * I double-checked that it was not a plugin conflict by deactivating all plugins
   except for the PMPro Memberships plugin and yours. The issue persisted.
 * Thanks so much,
    Liat
 *  Plugin Author [Thomas S](https://wordpress.org/support/users/eighty20results/)
 * (@eighty20results)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/background-import-process-error/#post-10109628)
 * Hi,
 * I have a beta I’d like you to try, if you don’t mind. You will need to deactivate
   and delete the existing plugin iteration before trying to install the [linked .zip file](https://dl.orangedox.com/zeuyZy3ZV0szcHVk2e)
   of the Beta version.
 * Keep in mind that this _is_ a beta and shouldn’t be used for importing production
   data at this time.
 *  Thread Starter [Liat Gat – CEO and Founder, KnitFreedom.com](https://wordpress.org/support/users/liatmgat/)
 * (@liatmgat)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/background-import-process-error/#post-10109643)
 * Hi Thomas!
 * Ok I deactivated and deleted version 2.16 via the dashboard.
    I installed beta
   version 2.17 and tested —
 * I got the error dialog popup: “Error with import. Close to refresh the admin 
   page.”
 * After closing the dialog box, the log updates to show this:
 *     ```
       Loading...
       JavaScript Loaded.
       File (testexport15-4.csv) not found in /home/content/a2pewpnaspod05_data06/08/41540008/html/wp-content/uploads/imports/!
       Is the directory writable by the web server software?
       ```
   
 *  Plugin Author [Thomas S](https://wordpress.org/support/users/eighty20results/)
 * (@eighty20results)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/background-import-process-error/#post-10117806)
 * Hi Liat,
 * I have a new beta version I’m hoping to make available later today, or first 
   thing tomorrow. I found a bug and believe that when I squashed it, I also fixed
   the issue you’re reporting with background imports.
 * Thank you for your patience (and for the donation!)
 *  Plugin Author [Thomas S](https://wordpress.org/support/users/eighty20results/)
 * (@eighty20results)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/background-import-process-error/#post-10118123)
 * Updated beta (2): [https://dl.orangedox.com/a8aj7MJINYrH9IPVHx](https://dl.orangedox.com/a8aj7MJINYrH9IPVHx)
 *  Thread Starter [Liat Gat – CEO and Founder, KnitFreedom.com](https://wordpress.org/support/users/liatmgat/)
 * (@liatmgat)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/background-import-process-error/#post-10121510)
 * Hi Thomas,
 * Thank you! I installed the Version 2.17-beta-2 and tested the upload.
 * I still got an error – it says
 *     ```
       Loading...
       JavaScript Loaded.
       File (testexport15.csv) not found in /home/content/a2pewpnaspod05_data06/08/41540008/html/wp-content/uploads/e20r_imports/
       Is the directory writable by the web server software?
       ```
   
 * I hope this helps 🙂 Thank you for being so helpful.
    Liat
 *  Plugin Author [Thomas S](https://wordpress.org/support/users/eighty20results/)
 * (@eighty20results)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/background-import-process-error/#post-10121518)
 * Hi,
 * Can you verify whether the file `testexport15.csv` is present in the directory
   indicated: `/home/content/a2pewpnaspod05_data06/08/41540008/html/wp-content/uploads/
   e20r_imports/` ?
 *  Thread Starter [Liat Gat – CEO and Founder, KnitFreedom.com](https://wordpress.org/support/users/liatmgat/)
 * (@liatmgat)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/background-import-process-error/#post-10121957)
 * I found the file in this directory:
 * `/home/j49f41540008028/html/wp-content/uploads/e20r_imports`
 * Liat
 *  Plugin Author [Thomas S](https://wordpress.org/support/users/eighty20results/)
 * (@eighty20results)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/background-import-process-error/#post-10122191)
 * So… Those are obviously not the same directory (which explains the error message).
 * You may want to reach out to your hosting provider for an explanation as to why
   the directory returned by the `wp_upload_dir()` function (specifically the `based`
   key in the array returned by `wp_upload_dir()`) and the file system do not seem
   to map correctly…
 *  Thread Starter [Liat Gat – CEO and Founder, KnitFreedom.com](https://wordpress.org/support/users/liatmgat/)
 * (@liatmgat)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/background-import-process-error/#post-10142414)
 * Hi Thomas,
 * Thanks! I spoke to my hosting provider about what was going on.
 * The result: I am on a Managed WordPress installation and they use a custom file
   structure for extra security.
 * I think the answer is to use FTP to put the file in the correct place, but I 
   don’t have permission to write to the /home/ folder. I’m a little stuck because
   I don’t know how to fix it or who can fix it – you or them…
 * Would it be possible for you to put a field in the upload interface for the user
   to indicate where the file is if the user is on a custom file structure? That
   might make the upload work.
 * If you have any suggestions, I’m all ears. I’m only trying to see how to resolve
   this and then I can onboard all my users. Thank you!
 *  Plugin Author [Thomas S](https://wordpress.org/support/users/eighty20results/)
 * (@eighty20results)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/background-import-process-error/#post-10142922)
 * Huh.. Seems like they’re _way_ overthinking this and causing themselves unnecessary
   support tickets, but that’s their prerogative I guess. 🙂
 * I don’t have an easy fix for you in this case, sorry. My concern is that allowing‘
   random’ file paths would be a major security issue IMHO. Off hand, I can’t come
   up with a non-complex way (short of all sorts of whitelist/blacklist logic being
   added) to prevent someone from specifying the `wp-config.php` file path and thus
   potentially get access to salts, DB passwords, etc…
 *  Thread Starter [Liat Gat – CEO and Founder, KnitFreedom.com](https://wordpress.org/support/users/liatmgat/)
 * (@liatmgat)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/background-import-process-error/#post-10146559)
 * Thank you Thomas! Ok I will talk to them again about this.

Viewing 15 replies - 1 through 15 (of 26 total)

1 [2](https://wordpress.org/support/topic/background-import-process-error/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/background-import-process-error/page/2/?output_format=md)

The topic ‘Background import process error’ is closed to new replies.

 * ![](https://ps.w.org/pmpro-import-members-from-csv/assets/icon-256x256.png?rev
   =1920071)
 * [Import Members from CSV for Paid Memberships Pro](https://wordpress.org/plugins/pmpro-import-members-from-csv/)
 * [Support Threads](https://wordpress.org/support/plugin/pmpro-import-members-from-csv/)
 * [Active Topics](https://wordpress.org/support/plugin/pmpro-import-members-from-csv/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pmpro-import-members-from-csv/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pmpro-import-members-from-csv/reviews/)

## Tags

 * [Import](https://wordpress.org/support/topic-tag/import/)

 * 26 replies
 * 2 participants
 * Last reply from: [Thomas S](https://wordpress.org/support/users/eighty20results/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/background-import-process-error/page/2/#post-10380100)
 * Status: resolved