I used one-click install wordpress on ubuntu 14.04 of Digitalocean. But each time when I try to upload a theme through administration panel, it always shows “are you sure you want to do this”.
Is there any solution for this problem?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
This question was answered by @oryan:
Just as @wenis pointed out earlier you need to increase your
upload_max_filesize
but you will also need to increase yourpost_max_size
as well.once you have updated both of those in your
/etc/php5/apache2/php.ini
, Be sure to restart apache.service apache2 restart
Click below to sign up and get $100 of credit to try our products over 60 days!
Just in case someone is using the googles… The solution is to modify your php.ini file to increase your max upload size…
^W (control W) to find the line with:
upload_max_filesize
Set it to 32M or somewhere around there.
^X … save. Restart apache2.
Just as @wenis pointed out earlier you need to increase your
upload_max_filesize
but you will also need to increase yourpost_max_size
as well.once you have updated both of those in your
/etc/php5/apache2/php.ini
, Be sure to restart apache.Did you find a solution so far? Getting the same error
The, “Are you sure you want to do this?,” error usually means there is something wrong with the theme you are trying to use. Have you tried installing themes from other developers?
This comment has been deleted