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 low PHP settings that only allow a certain size ZIP file to be uploaded via WP admin.
Most hosting companies configure their servers to only have the maximum file upload size limit at 8-10 MB, some are less. The Phox theme ZIP is currently about 5.8 MB in size. So if you get this error, your web server is rejecting the upload due to the overall size of the phox.zip file. WordPress is unfortunately giving you a rather ambiguous message in response. This is not a theme issue or bug.
To Solve The Problem
- You can get your web host to increase your PHP limits so a larger zip file is allowed to be uploaded. They will know which limits to set if you explain the issue.
- You can upload your theme via FTP. View our tutorial to learn how to install your theme via FTP. It is very easy and efficient.
Recommended PHP Configuration Limits
- max_execution_time 60
- memory_limit 256M
- post_max_size 48M
- upload_max_filesize 48M
You can verify your PHP configuration limits by going to the Phox > System Status tab in the WordPress admin area.