Denied access to the import.xml file

What issue or error are you experiencing?

Received this message: It seems to be a problem with your server permissions that denies access to the import.xml file, contact your hosting provider to solve it.


What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc


System Details

  • Local Version: Version 10.0.0+6907

  • Operating System (OS) and OS version: Mac 15.7.3


Local Logs

Attach your Local Logs here (Help Doc - Retrieving Local’s Log)

local-lightning.log (996.3 KB)


Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

Can you tell us some more about the file and where you’re trying to import it @jkearns49?

What is in the XML?

Are you trying to use the WordPress Importer or a plugin?

Is this on a new, blank install or a site you already imported or built in Local?

I never got a chance to pick the file. The error message came up as soon as I select "Theme Options/Import demo.

This is a new Wordpress file I set up in Local, and I just loaded the Charity Foundation theme.

The theme added and Import Demo selection of the Dashboard.

The files are demo page files that are part of the theme.

Do you have any security plugins on this site @jkearns49? Or is it just a basic site outside of the theme?

No, just a basic site that I was just setting up with the Charity Foundation theme.

Have you checked permissions on your files and folders? You could use site shell and run ls -la wp-content/uploads/ for example and you’d hope to see drwxr-xr-x as a response for that folder if everything is set correctly.

Within Local you can also click on Site Folder > App > Public > WP-Content and then go to Uploads and choose Get Info. You can scroll down and see what the permissions for the folder are set at.

Edit: Sorry I was using Uploads as an example here but if you’re trying to import something into a Theme file then you might need to check that theme directory instead.