WordPress.org

Ready to get started?Download WordPress

Forums

problem uploading themes (10 posts)

  1. kate6
    Member
    Posted 8 years ago #

    I'm new to word press and am having issues uploading any themes.
    I uploaded them just fine into the wp-content/themes/..., but when I open my admin presentation page they don't appear. Is there something really obvious that I am missing (I've searched the forums and codex) or is it more likely a problem with my server?

    Thanks.

  2. vkaryl
    Member
    Posted 8 years ago #

    Make sure that each theme is in only one folder of its name. Look inside the default folder: you should see a bunch of .php files, a style.css file, and an images folder. That's what you want to see with any other theme you upload. If you see inside the named theme folder, another named theme folder that could be what's wrong. Some themes when combined with some unzip programs make several layers of folders.

    As well, be sure you're downloading "themes", not "templates". Templates were for a now-antique version of wp, and aren't supported by the current versions.

  3. kate6
    Member
    Posted 8 years ago #

    No I've checked the file structure and there isn't a problem there - should have meantioned that earlier. Also definitely themes not templates.

  4. Chris_K
    Member
    Posted 8 years ago #

    permissions are world readable for the theme folders and their files?

  5. vkaryl
    Member
    Posted 8 years ago #

    Okay, just checkin'!

    One thing you could try would be to set permissions for the themes folder to 666 and see if that helps (and if it doesn't, you can try 777). Both of those aren't a good thing to leave like that, but it's one thing you can try anyway....

    The other thing is to make sure your ftp program is working right, not corrupting or truncating the uploads.

  6. kate6
    Member
    Posted 8 years ago #

    Changing permissions didn't help, but when I compared to original file sizes compared to the uploaded there are smaller - e.g. style.css is 8.21kb vs 9kb. Do you reckon that is it?

  7. vkaryl
    Member
    Posted 8 years ago #

    Hard to say.... file sizes could vary that much just due to a difference in the way the file is put together.

    I would do this. Delete all the theme folders that aren't working right now from the server. Then double-check one of the theme folders on your hard drive to make sure the files, images and css are all there and seem normal.

    Then restart your ftp program, and reupload just the one theme and see if THAT one is available.

    Um. You're not redirecting this from another site or anything are you? And your DNS has resolved for this site, you didn't just change nameservers an hour ago or something, right?

  8. kate6
    Member
    Posted 8 years ago #

    Nope, that didn't work either and no to your other questions. Any other ideas? Thanks

  9. vkaryl
    Member
    Posted 8 years ago #

    Believe it or not, yeah. Do you have cPanel or some such with your host, has a file manager?

  10. mr_claypole
    Member
    Posted 8 years ago #

    Hi Guys/Gals,

    the problem i beleive you have (just had it on my first install of wordpress...) is not your file permissions, but the group ownership of the files.

    I run an ensim box, and the files were uploaded with the "site owners" id, (being user9 or something) when it should have been and ID of 1025 something similar.

    if you have shell access to your box, type :

    ls -al in the themes directory, this will show you something like this :

    [root@ensim9 themes]# ls -al
    total 24
    drwxrwxrwx 6 1025 1011 4096 Mar 19 16:30 .
    drwxr-xr-x 4 1025 1011 4096 Mar 19 16:22 ..
    drwxr-xr-x 3 admin9 admin9 4096 Mar 19 16:28 bluehorizon
    drwxr-xr-x 2 1025 1011 4096 Mar 19 16:22 classic
    drwxr-xr-x 3 1025 1011 4096 Mar 19 16:22 default
    drwxr-xr-x 3 1025 1011 4096 Mar 19 16:30 prozac

    see the bluehorizon theme dir?? thats gotta be changed to the same as the others to do make it work.. the commands are as follows:

    chown 1025 bluehorizon
    chgrp 1011 bluehorizon

    that will change the user and group for you.

    happy blogging, or whatever we do now..

    mr_claypole.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags