Uploading wordpress theme error

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

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

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!