henryhan
By:
henryhan

Unable to upload a theme using wordpress administration panel.

November 2, 2014 2.9k views

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?

4 comments
  • 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?

  • Did you find a solution so far? Getting the same error

  • Just in case someone is using the googles... The solution is to modify your php.ini file to increase your max upload size...

    nano /etc/php5/apache2/php.ini
    

    ^W (control W) to find the line with: upload_max_filesize

    Set it to 32M or somewhere around there.

    ^X .. save. Restart apache2.

    service apache2 restart
    
  • Just as @wenis pointed out earlier you need to increase your upload_max_filesize but you will also need to increase your post_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
    
1 Answer

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 your post_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

View the original comment

Have another answer? Share your knowledge.