Looking for good programming challenges?

Use the search below to find our solutions for selected questions!

How to Fix “Are You Sure You Want to Do This” Error in WordPress

If you get this error while uploading a new theme, your web server is rejecting the upload due to the overall size of the file. WordPress is unfortunately giving you a rather ambiguous message in response. This is not a theme issue or bug.

In order to increase your PHP limits do the following:

Find where your php.ini file is:

php --ini </pre>  Edit <code>php.ini</code>:  <pre class="lang:sh decode:true " > nano /etc/php.ini

Make sure the following are set:

post_max_size = 80M
upload_max_filesize = 80M

Restart web server:

$ service httpd restart