This guide covers common problems with importing, uploading, and launching the installer in Duplicator. It offers solutions for resolving import link errors, drag-and-drop upload issues, and installer launch problems related to server permissions and PHP execution.
1. Import Link Issues
If your import link is not pulling down the archive file properly, please refer to the table below for supported sources.
Supported and Unsupported Import Sources
Source | Status | Notes |
---|---|---|
Generic Host | Supported | Most hosts that allow direct .zip or .daf file downloads. If issues occur, try downloading via browser or contact your host. |
Dropbox | Supported | Fully supported. |
Google Drive | Supported | Supported as of Duplicator Pro version 4.5.9. |
AWS (Amazon S3) | Not Supported | Currently unsupported. |
OneDrive | Not Supported | Currently unsupported. |
2. Import File (Drag-and-Drop) Upload Issues
Common Error Message:
AJAX ERROR! STATUS:403 Forbidden
Solution 1: Check for Imunify360 or .htaccess Restrictions
If you encounter an “AJAX 403 Forbidden” error:
- Ensure Imunify360 is not installed or interfering.
- If Imunify360 is not installed, check if a
.htaccess
file is blocking access. - Contact your host for assistance or try Solutions 2 and 5.
Solution 2: Upload Archive Manually via FTP
If import via file or link fails, manually upload the archive file:
- Access your server using an FTP client or cPanel File Manager.
- Upload the archive (
.zip
or.daf
) to one of these locations:- WordPress Root Directory (where
wp-config.php
is located), or /wp-content/backups-dup-pro/imports
directory.
- WordPress Root Directory (where
- Go to Duplicator Pro > Import and select the uploaded archive from the list.
3. Installer Launch Issues
Common Error Messages:
- “Duplicator cannot launch Import because on this Server it isn’t possible to execute PHP scripts in folders:”
cURL error 7: Failed to connect to localhost port 8080: Connection refused
Solution 1: Server Permissions
If you encounter permission errors when launching the installer, review this guide on file permissions.
Solution 2: Verify PHP Execution Is Allowed
Check if PHP execution is blocked in relevant directories:
- .htaccess Block: Look for
.htaccess
files that may deny PHP execution, such as:
<Files *.php>
Order Deny,Allow
Deny from all
</Files>
The presence of an .htaccess file in wp-content does not necessarily prevent execution. Temporarily rename the.htaccess
file to test. - Security Plugins: Temporarily disable plugins like Wordfence that may block installer access.
- Hosting Restrictions: If PHP execution is blocked at the server level, contact your host or consider switching hosting providers.
Solution 3: Use Alternate Install Modes
If PHP execution cannot be enabled:
- Manually upload both the installer and archive to the WordPress root directory.
- Access the installer via
https://your-domain.com/installer.php
. - Choose ‘Overwrite Install Mode’ to overwrite the existing site or database as needed.
Note: Duplicator Pro version 4.5.1+ includes patches that resolve this issue for most setups. Please update to the latest version.
Solution 4: Docker Containers (cURL Errors)
If running Duplicator in Docker and seeing cURL errors (e.g., connection refused on port 8080), adjust your Apache configuration inside the container:
- Edit
/etc/apache2/ports.conf
and ensure:Listen 80 Listen 8080
- Edit
/etc/apache2/sites-available/000-default.conf
to accept connections on both ports.
Refer to Docker and Apache configuration documentation or Stack Overflow for more details.