What To Do If Demo Content Import Fails
Created by: Victor Alex
Modified on: Wed, 24 Aug, 2016 at 10:10 AM
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.
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
You should contact your web host and ask them to increase those limits to a minimum as follows:
How To Verify Your Current PHP Limits
You can verify your PHP configuration limits by installing a simple plugin found here. And you can also check your PHP error logs to see the exact error being returned. Please note though that many hosts will try to keep the PHP limits low without reason. However you are paying for it, and therefore should be getting your moneys worth.
After doing this you can reset your database using the WordPress Database Reset Plugin and try to re-import the demo data
WARNING: Reset the database will make you lost all the data of your current WordpPress
You can create a file name php.ini insert above values in that file and upload it on your WP root folder and WP-Admin folder.
Did you find it helpful?
Sorry we couldn't be helpful. Help us improve this article with your feedback.