Cannot upload the theme

Issue: 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.


1. 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.
2. Install the theme via FTP. Please see the FTP installation article.

Issue: The package could not be installed. The theme is missing the style.css stylesheet.

This error message is being displayed when uploading or activating the theme. One of the reasons you may receive this error is if you have uploaded the incorrect file. The theme file is generally far smaller than the entire download package. That extra size could be giving your connection trouble.

When you download the theme, a zip file will be downloaded. This Zip file actually contains theme files along with the documentation and licenses from the Themeforest. If you upload the entire package, then this error raises.


To solve this simply unzip the theme package you downloaded from ThemeForest and upload the file which is included.

Issue: The link you followed has expired.

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


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