Common Installation Error

Common Installation Error

If you are installing your theme from the WordPress theme installer, but get a message that says “Are you sure you want to do this?”, most likely your web server is configured with PHP settings that are too low to allow the theme ZIP file to upload. Specifically, PHP is configured to a maximum file upload size limit at 16 megabytes or less. Thus, the web server is rejecting the upload. WordPress is giving you a rather ambiguous message in response. This is not a theme fault or bug.

PHP Configuration limits

Issues you may encounter, such as demo content fails when importing and similar issues, are generally related to excessively low PHP configuration limit settings.   You can either increase these limits on your own, or contact your web host and ask to have the limits increased to the following minimums:

  • max_execution_time 120
  • memory_limit 64M
  • post_max_size 32M
  • upload_max_filesize 32M
  • max_input_vars 3000
  • allow_url_fopen ON

Verify your PHP limits

You can check them by installing the WordPress phpinfo()  plugin and checking Settings. The first column refers to your installation value, and the second column refers to the limits of your host. The latter values are often lower if you have selected a cheaper hosting package.

You can always contact your host to ask what the current settings are, and have them adjusted if necessary. Some hosts will try to keep PHP limits low to conserve resources. Since are paying for those resources, you should rightfully expect to be getting your money’s worth.

Leave A Comment?

This site uses Akismet to reduce spam. Learn how your comment data is processed.