Knowledge Base

Demo content import failed

Likely causes for demo importing failure:

  • Blank page error after activation
  • “Allowed memory size of xxxxxxxx bytes exhausted” error

These 2 errors are occurred when your PHP memory, file upload size or execution limits are set too low

To solve these 2 errors, follow these steps:

STEP 1: Try to edit the “wp-config.php” file in the root of your WordPress installation. Search for ‘WP_MEMORY_LIMIT’. If there is such setting, set the limit to ‘256MB’. If there’s no such setting, add this bit of code before the MySQL settings define( ‘WP_MEMORY_LIMIT’, ‘256M’ );. Also make sure there’s no ‘WP_MAX_MEMORY_LIMIT’ setting in “wp-config.php” file; or make sure it is not less than ‘256MB’.

STEP 2: If editing “wp-config.php” did not help, try to add this bit of code at the beginning of “.htaccess” file: php_value memory_limit 256M.

STEP 3: If the error is still existed even after completing both steps above, it may be that your PHP is configured in CGI or suPHP etc. In this case, instead of “.htaccess”, you should create a file called “php.ini” and place this bit of code in it: memory_limit = 256M.

If above steps did not yield any result, please contact your hosting provider and ask them to increase those limit. Since this is most likely a server-related issue, we are not able to help you.