I have installed and tried to upload a small csv (1.36 KB) with no success. While researching I came across numerous people on Local experiencing similar.
Steps to reproduce
Literally install and try to upload a csv to an environment using Local…
Environment Info
Web server: nginx
PHP version: 8.1.29
Database: MySQL 8.0.16
WP version: 6.7.1
What Operating System are you using? Windows
What versions of site software (Nginx, Apache, PHP, MySQL) is used? See above specs
What version of Local is installed? Version 9.0.5+6706
Per the WP All Import team here, the first couple of things to check are permissions and disk space.
We have a Windows Troubleshooting guide below that goes over some common items worth checking. For example, make sure you’re running Local as an admin user, that you don’t have any security blockers, and that Local has access to update your Hosts file.
You’ll want to make sure any other files or folders you’re trying to access have the correct permissions and as mentioned your device has plenty of storage space.
Thanks Nick. I am following up with my IT dept as it does look like it may be a permissions issue as I can not change the permissions settings on the plugin folder. More to come, please leave this open…
Sounds good @DCK! If they need any information about the URLs and Ports that Local makes use of as well, we have a section for Employer Security in the help doc I linked.
Is the site you’re testing with a new, blank site in Local or is this a site you’ve imported or have been working on previously? I know it works in the Sandbox, but I’m wondering if it has many other plugins installed for example if something else could be a culprit here.
I’ll be curious if the WP All Import has any further suggestions here
Do you have any recommendations for an alternative plugin that does similar. The site I am building will eventually have possibly 10K products and I need to be able to map fields created with ACF to data provided via csv.
I was able to replicate the issue in my Windows 11 setup but I’m still not sure why. I’ve reached out to our Local devs to take a look. In the video you attached it looks like it is successful? Was that your recording or someone else?
I looked this over with one of our Local Devs and he provided some steps that ended up resolving this for my Windows 11 setup. If you’d like to give it a shot here they are:
Create a new directory under your Windows user dir named “local-temp”. (Open Windows Explorer, browse to This PC → [hard drive name] → Users → [your username], then choose “New → Folder” from the Explorer menu, name it “local-temp”.)
Open that local-temp directory (it will be empty, but that’s fine) and copy the directory path by clicking to the right of the folder name in the location bar to select the full path, then using Ctrl+C.
In Local, stop the site, click “site folder” in the site info view, browse to conf → php, open php.ini.hbs in a text editor.
Search for “sys_temp_dir” (should be around line 5) and change the value from “C:\Windows\TEMP” to the value you copied in step 2. The full line should look something like sys_temp_dir="C:\Users\dev-pc-1\local-temp", but with your user name instead of mine.
Save the php.ini.hbs file and start the site in Local.
Next to PHP version in Local’s site info, click the “Details” link.
In the PHP info page, search for sys_temp_dir and confirm it shows the new value. For me it correctly shows C:\Users\dev-pc-1\local-temp instead of the old C:\Windows\TEMP.
Try to upload the CSV file in WP All Import again.