Cannot upload the theme

Common error: Are you sure you want to do this?

When you are trying to install the theme and WordPress comes back with the message “Are you sure you want to do this?” it means that your PHP has a setting for upload files lower than the ZIP file size.

You need to contact your hosting provider and ask to increase the “upload_max_filesize” and “post_max_size” to at least 32mb. Then follow the theme install guide.

This could also be due to the fact that you are trying to install the wrong zip file. Make absolutely, positively sure you select the “Installable WordPress file only” option. If you select “All files & documentation” by mistake, you will not be able to install this zip as is. Instead unzip the file and then locate the installable theme file within it.


Common error: Stylesheet is missing

If after clicking “Install Now” you see an error that “The package could not be installed. The theme is missing the style.css stylesheet” then you have uploaded the wrong .zip file.

Make absolutely, positively sure you select the “Installable WordPress file only” option. If you select “All files & documentation” by mistake, you will not be able to install this zip as is. Instead unzip the file and then locate the installable theme file within it.


This message is displayed because your server settings for upload max size or maximum memory are not well configured.

Solution:

Don’t worry, this is a common issue, very simple to fix. If you are not used to set your server PHP / memory settings, contact your hosting company to do it for you. This is their job, it takes 1 minute to do. Show them a screenshot of your error, or email them the error message. Ask them to assist by increasing the following values, until you are able to install your theme.

  • memory_limit 128M 
  • max_execution_time 120
  • post_max_size 32M
  • upload_max_filesize 32M

Was this article helpful?

Related Articles