If you attempted to import the sample demo data, but it never completes the installation process or it fails with errors, there could be several reasons. Please read the following information. If you have duplicate menu item issue, please follow How To Remove Duplicate Demo Content After Import.
Likely Causes For Demo Import Failing
- Your PHP memory, file upload size, and/or execution limits are set too low
- Your web host uses process watching software that prevents bulk processing on their web servers.
- You have “wp_debug = true”, please change that to “wp_debug = false” for the import in your WP config file
- The import uses a JSON file which is loaded from the frontend of the website, this will not work when the domain is not connected to the wordpress installation.
Recommended PHP Configuration Limits
If the import stalls and fails to respond after a few minutes, or it fails with a simple error message like “Import failed,” You are suffering from PHP configuration limits that are set too low to complete the process. You should contact your web host and ask them to increase those limits to a minimum as follows:
- max_execution_time 180
- memory_limit 128M
- post_max_size 32M
- upload_max_filesize 32M
How To Verify Your Current PHP Limits
You can verify your PHP configuration limits by installing a simple plugin found here. In addition, you can always contact your host and ask them what the current settings are and have them adjust them if needed.