Get the Best WordPress Backup
& Migration Plugin Today
Get Duplicator Now

Duplicator Documentation

Documentation, Reference Materials, and Tutorials for Duplicator

Fixing Uncommon Issues in Duplicator Installer

When using Duplicator to migrate or restore a site, you may sometimes encounter uncommon installer issues that prevent the installation from completing successfully. Below are solutions for two common but less frequent issues that can occur during the installation process.

Blank Screen with Date/Time

When running the Duplicator installer, you might encounter a blank page with only a date and time displayed at the top.

Wordfence Plugin Conflict

This issue often occurs due to a conflict with the Wordfence plugin, either from the site being installed or from another WordPress site located in a parent directory.

For example: If you are installing the site to /public_html/mysite and Wordfence is installed on another WordPress site at /public_html, the plugin’s security rules might interfere with the installation.

Solution:

  1. Temporarily Disable Wordfence:
  2. Check and Comment Out Configuration:
    • Navigate to your site’s cPanel or file manager.
    • Go to: public_html » mysite » .htaccess, and the .user.ini as well if present
    • Open the .htaccess and .user.ini files in the parent directory and temporarily comment out the line that begins with: auto_prepend_file
  3. Manually Edit user.ini File:
    • Open the File Manager in cPanel.
    • Enable Show Hidden Files (to view .htaccess and .user.ini files).
    • Navigate to: public_html » .user.ini
    • Edit the user.ini file and ensure that the path is correct. If the path points to the original account, update it to reflect the correct path.
  4. Re-run the Installer:
    • After making these changes, re-run the Duplicator installer. Once the installation is complete, re-enable Wordfence.

PHP Version Changes

The PHP version unexpectedly changes after clicking Next during Step 1 of the installer.

Handling .htaccess Changes

This issue occurs because Duplicator renames and backs up any existing .htaccess file in the directory where the installer and archive are placed. A blank .htaccess file is generated in its place, which can sometimes affect the PHP version.

Solution:

  1. Enable Advanced mode:
  1. Enter the Database information and click Validate:
  1. Skip Config File Updates:
    • During Step 1 of the Duplicator installer, set the Apache option to Do Nothing.
    • This prevents Duplicator from modifying the .htaccess file.
  1. Manual Archive Extraction:
    • If the issue persists, perform a manual archive extraction following these steps:
      • Extract the .zip archive manually.
      • Verify that the .htaccess file is present in the extracted directory.
      • Add the following lines to the .htaccess file to ensure the correct PHP version:

Use PHP7 Single php.ini as default
AddHandler application/x-httpd-php70s .php

  1. Start Installation:
    • Run the installer again.
    • In Step 1:
      • Ensure that Extraction Mode is set to Manual Archive Extraction.
      • Enter the Database information and click Validate.
      • Set the Apache option to Do Nothing, as in the screenshot above.
  1. Manually Review Config Files:
    • After completing the installation, review and manually adjust any necessary configurations in:
      • wp-config.php
      • .htaccess

That’s it! We hope that this guide helped you to solve uncommon installer issues.

If you need a guide on how to perform a Classic Installation without installing WordPress first, check out our guide on how to do a Classic Installation.

Was this article helpful?

Related Articles