Thread Starter
modulo
(@modulo)
I have solved the problem.
It was caused by Wordfence plugin.
It comes with a Firewall feature that was casing this issue.
Excellent! Thanks for providing an update and the solution!
I have the same problem. I’m trying to restore from two different backup files to the same server. One works. One gives the problem.
How did you get around it?
Nevermind. I didn’t realise Wordfence worked on directories outside of its own install directory!
Quick question for either @modulo @csjamo83 can you provide a quick step by step for other users of the plugin on what steps you performed. Did you just disable Wordfence and create the package or some other solution?
Thanks
Sure.
Wordfence has a new firewall feature that filters php code. So when you try to run the Duplicator installer.php, it will be blocked by Wordfence. This is probably only relevant for people with multiple WordPress installations. In my case I was attempting to duplicate a WordPress install while another (my main site) existed in another directory. Hence my surprise that Wordfence was working across directories on my webserver.
1. Go to your Wordfence Live Traffic page.
2. There should be a red highlighted section saying installer.php was blocked. Click the “Whitelist param from Firewall” button and you’re good to go.
3. (optional) You can remove the rule after installation if you wish, by going to the Wordfence Firewall page and deleting it from the Whitelisted URLs table.
Cheers.
Excellent! Thxs for the details…