I cannot import the demo data
If you cannot import the demo data because it never completes the import process or you receive an error it could be because one of the following reasons:
- 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 set to true in your wp-config.php, please change this to false while importing the demo data
Recommended PHP Configuration Limits
If the import never completes or you receive an error your PHP configuration limits may be set too low. You should contact your webhost and ask them to increase the following:
- max_execution_time: 180
- memory_limit: 128M
- post_max_size: 32M
- upload_max_filesize: 32M
You can verify your PHP configuration limits by installing a simple plugin found here.
Manually Import Demo Content
If you still can't import the demo data you can try to manually import the demo content without images. Go to Tools > Import and select the WordPress Importer. Click the "Choose File" button and select the demo file from theme-name/lib/plugins/theme-plugin/demo-installer/demo-files/content.xml (unzip theme-plugin.zip). Now click "Upload file and import". Choose to assign all posts to an existing user and make sure the "Download and import file attachments" is not checked. This means the demo file will not import any images, so you will need to add these to the imported posts and pages manually. Now click Submit.
To import the widgets go to Plugins > Add New and search for "Widget Importer & Exporter" and install and activate the first plugin. Now go to Tools > Widget Importer & Exporter and click the "Choose File" button and select the widget file from theme-name/lib/plugins/theme-name/demo-installer/demo-files/widgets.json. Rename this file to widgets.wie and then click "Import Widgets".