Question

Uploading wordpress theme error

Posted April 8, 2015 3.1k views
WordPress

Hi!
I have a problem. I install my wordpress and then when I upload any theme the screens become blank. The admin panel and the website. They both become white. I need to delete the theme in my ftp to reopen my panel. Plz help…

3 comments
  • how are you uploading the theme? If you are doing it via sftp/ftp, you might need to change permissions on the newly uploaded theme like:

    sudo chown -R www-data:www-data /var/www/
    
  • Yes via sftp.
    How do i change this? Can you explain me step by step @sierracircle

  • do you have access to ssh to your server? If so, then you just run that command (assuming your web-folder is /var/www):

    sudo chown -R www-data:www-data /var/www/
    

    that should do it.
    If you do not have access to ssh commandline, then some sftp clients will let you change permissions, but it is different on each client, so I cannot give instructions for that

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.

×
1 answer

This question was answered by @sierracircle:

do you have access to ssh to your server? If so, then you just run that command (assuming your web-folder is /var/www):

sudo chown -R www-data:www-data /var/www/

that should do it.
If you do not have access to ssh commandline, then some sftp clients will let you change permissions, but it is different on each client, so I cannot give instructions for that

View the original comment

Submit an Answer