Title: Import error
Last modified: May 13, 2019

---

# Import error

 *  Resolved [dsrebecca](https://wordpress.org/support/users/dsrebecca/)
 * (@dsrebecca)
 * [7 years ago](https://wordpress.org/support/topic/import-error-45/)
 * Trying out the Premium version in hopes to be able to use Import and Export capabilities.
   I’m getting the following error when trying to import a .xlsx or .csv file:
 * There was an error uploading the file, please try again!
 * file(): The second argument to copy() function cannot be a directory in …/wp-
   content/plugins/ultimate-faqs/Functions/EWD_UFAQ_Import.php on line 191
 * Warning: move_uploaded_file(): Unable to move ‘/tmp/phpnx6guA’ to ‘…/wp-content/
   plugins/ultimate-faqs/faq-sheets/’ in …/wp-content/plugins/ultimate-faqs/Functions/
   EWD_UFAQ_Import.php on line 191
 * Can anyone help?
 * Thanks

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [etoilewebdesign](https://wordpress.org/support/users/etoilewebdesign/)
 * (@etoilewebdesign)
 * [7 years ago](https://wordpress.org/support/topic/import-error-45/#post-11526646)
 * Hi rebecca,
 * Based on the fact that it says it couldn’t move the file, this sounds like it
   would probably be a permissions issue. It needs to be able to create a temporary
   file on your server for the spreadsheet. Could you please check that you have
   the appropriate permissions set for your WordPress directories to allow for this.
 * You can try importing our template file (found here: [http://www.etoilewebdesign.com/Screenshots/FAQ_Import_no_cats_or_tags.xlsx](http://www.etoilewebdesign.com/Screenshots/FAQ_Import_no_cats_or_tags.xlsx)).
   If that one gives you the same errors, then you know the issue is probably not
   with the sheet, but likely with the permissions.
 *  Thread Starter [dsrebecca](https://wordpress.org/support/users/dsrebecca/)
 * (@dsrebecca)
 * [7 years ago](https://wordpress.org/support/topic/import-error-45/#post-11528732)
 * Hi, thank you for your reply. I checked the permission settings, which are 775
   on directories and 644 on files.
 * Would these specific settings cause this problem with your plugin import?
 * Unfortunately, we will be unable to change the file permissions as they are set
   specifically for security reasons by WPEngine.
 *  [etoilewebdesign](https://wordpress.org/support/users/etoilewebdesign/)
 * (@etoilewebdesign)
 * [7 years ago](https://wordpress.org/support/topic/import-error-45/#post-11530727)
 * Hi [@dsrebecca](https://wordpress.org/support/users/dsrebecca/),
 * This seems to be an issue with the newest version of the plugin 1.8.22.
 * While we try to investigate and solve this issue, could you temporary roll back
   to an older version of the plugin (either by downloading an older version here:
   [https://wordpress.org/plugins/front-end-only-users/advanced/](https://wordpress.org/plugins/front-end-only-users/advanced/)
   or using the WP Rollback plugin) in the meantime?
 *  Thread Starter [dsrebecca](https://wordpress.org/support/users/dsrebecca/)
 * (@dsrebecca)
 * [7 years ago](https://wordpress.org/support/topic/import-error-45/#post-11532886)
 * [https://wordpress.org/plugins/ultimate-faqs/advanced/](https://wordpress.org/plugins/ultimate-faqs/advanced/)
 * Thank you… 1.8.21 worked!
 * Will this be fixed for the next update? I see “Previous versions of this plugin
   may not be secure or stable and are available for testing purposes only.”
 * I’m able to Import queries using your template xlsx. However, updating the content
   on the same xlsx file and re-importing does not change the existing queries, 
   it adds new ones. Is editing existing queries via import not available?
 * Thanks
 *  [etoilewebdesign](https://wordpress.org/support/users/etoilewebdesign/)
 * (@etoilewebdesign)
 * [7 years ago](https://wordpress.org/support/topic/import-error-45/#post-11535377)
 * 1.8.22 patched the message you were seeing and 1.8.23 patched the importing error
   that was created in 1.8.22. You can updated to 1.8.23 now.
 * Unfortunately, there’s no possibility of overwriting/editing current FAQs. Importing
   will always create new FAQs.
 *  Thread Starter [dsrebecca](https://wordpress.org/support/users/dsrebecca/)
 * (@dsrebecca)
 * [7 years ago](https://wordpress.org/support/topic/import-error-45/#post-11538299)
 * Much appreciated, the new update works.
 *  [etoilewebdesign](https://wordpress.org/support/users/etoilewebdesign/)
 * (@etoilewebdesign)
 * [7 years ago](https://wordpress.org/support/topic/import-error-45/#post-11539747)
 * Thank you for letting us know!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Import error’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-faqs/assets/icon-128x128.png?rev=1803957)
 * [Ultimate FAQ Accordion Plugin](https://wordpress.org/plugins/ultimate-faqs/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-faqs/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-faqs/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-faqs/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-faqs/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-faqs/reviews/)

## Tags

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

 * 7 replies
 * 2 participants
 * Last reply from: [etoilewebdesign](https://wordpress.org/support/users/etoilewebdesign/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/import-error-45/#post-11539747)
 * Status: resolved