Question

Changing Theme in wordpress not working.

  • Posted September 7, 2014

Hey Guys,

I’ve been trying to change to any other theme in Wordpress. I’m fairly new to this sort of thing and have just been following the tutorials to get anything done.

I have installed wordpress the long way (Apache, LAMP etc etc) and have just followed this one to get a secure upload (theme) https://www.digitalocean.com/community/tutorials/how-to-configure-secure-updates-and-installations-in-wordpress-on-ubuntu

However, now when I click to install a theme I get “The uploaded file could not be moved to wp-content/uploads/2014/09.”

I’ve tried a lot of things even things posted in the comments of the linked section.

Can someone please help me out with this one?

Cheers

Subscribe
Share

where is your ans, making full

Thanks guys,

Yeah wiped the droplet completely and started again using Nginx. Seemed to function a lot better although i cannot upload pictures to the server but can changed theme. Also runs a lot more smoother using nginx vs apache.

I agree with Peter. Sounds like a permissions issue. Just to note though it is chown -R not chwon -R.

That tutorial mentions using wp-user as the user. If that isnt the actual user that should be the owner of the files then you need to substitute the actual owner.

While I have a different setup with my WP installs (using nginx) I ran into some similar problems regarding ownership of files which is what most upgrade problems are about, since your server doesn’t know that WP has permission to move files around. Solved with a chwon -R command, but can’t say exactly what it is with Apache. Hope this helps a little!


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

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.

sudo chown -R www-data.www-data wordpress/wp-content/themes/

That would have fixed the issue while using apache. Assuming you’re using a newish version of Ubuntu, which it looks like you are.