WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] New themes don't display (14 posts)

  1. Bondolon
    Member
    Posted 6 years ago #

    I have recently set up WordPress on an Ubuntu 6.06 server, and it works fine. The two default themes work fine, and the wp-content directory has uniform permissions. However, if I add a new theme, even by just copying the default folder to a new theme folder, it displays the theme but doesn't work. It displays no theme at all, just text. Again, the two defaults work, and I've checked and rechecked that the permissions and owner are correct and the same among the whole wp-content folder.

    http://www.timhiers.com/blog/

  2. whooami
    Member
    Posted 6 years ago #

    youre not copying from or to the right place.

    Look at this:

    http://www.timhiers.com/blog/wp-content/themes/

    You clearly ONLY have 2 themes located there.

  3. Bondolon
    Member
    Posted 6 years ago #

    Boy, that's frustrating, specifically because you're right. Look at my ls -l in the "super" folder (one that doesn't display there, but definitely exists in the directory structure)

    root@####:/var/www/blog/wp-content/themes# ls super -l
    total 108
    -rwxrwxrwx 1 www-data www-data 171 2005-01-03 23:20 404.php
    -rwxrwxrwx 1 www-data www-data 2231 2006-12-01 04:26 archive.php
    -rwxrwxrwx 1 www-data www-data 352 2006-11-19 01:56 archives.php

    The files are there, of that much I'm sure. It's beyond me why they aren't showing up.

    edit: That's further complicated by the fact that the folders are apparently registering with WP, but not being able to be accessed.

  4. whooami
    Member
    Posted 6 years ago #

    your problem is clear.. look at that path :

    /var/www/blog/wp-content/themes

    /var/www is a symlink.

    Thats NOT where you need to be.

  5. Bondolon
    Member
    Posted 6 years ago #

    /var/www isn't a symlink on my machine. It's a folder that contains the main page and some files. Verily, 'tis a folder and not a symlink.

  6. whooami
    Member
    Posted 6 years ago #

    whats the output of ls when you do that from /var ?

  7. Bondolon
    Member
    Posted 6 years ago #

    I restarted for the second time, and the folders are magically there. I can't say why, but whatever, it's resolved.

    the ls -l /var is

    drwxr-xr-x 6 root root 4096 2007-06-11 18:07 www

    for www, just to respond to your question

    edit: Also, I appreciate the help. Thanks.

  8. vila
    Member
    Posted 6 years ago #

    I an now having this problem. Ages ago I selected Ocadia as my theme. I want a new look and have uploaded a few themes to try out. They are all in the same file with Ocadia. When I try to select a new theme the only ones showing for me to choose from is Ocadia - Classic - Default. In the file I also have:

    beautiful-sunrise-10
    blue kino
    blue-pix-100
    tonus-13
    weblogsus

    It just seems odd that none of them are available for me to select.

    /www/handwoven-thoughts/wp-content/themes/

    I have done this once before so I should be able to do it again, but I need some help. Thanks

  9. Chris_K
    Member
    Posted 6 years ago #

    Each theme (and files) should be in their own directory under wp-content/themes

  10. vila
    Member
    Posted 6 years ago #

    they each are in a file in wp-content/themes, just like Ocadia is - am I missing something?

  11. Chris_K
    Member
    Posted 6 years ago #

    Dunno, we're not speaking the same language yet. :)

    What directories do you have under wp-content/themes?

  12. vila
    Member
    Posted 6 years ago #

    All of the following - the 1st three work and the next five to not
    Ocadia
    Classic
    Default

    beautiful-sunrise-10
    blue kino
    blue-pix-100
    tonus-13
    weblogsus

    style.css is in each file, not sure what else to look for. and thanks for being so quick with responses!!

  13. Chris_K
    Member
    Posted 6 years ago #

    First, remove any spaces from the the theme directory names -- I know that'll cause issues (not sure on dashes, but might not hurt to rename around those too).

    Next, compare directory permissions and ownership on the the three that are working to the directories that aren't. If you're not hip to the world of CHMOD and hosting file permissions, this article is a little primer to help: Changing_File_Permissions

  14. vila
    Member
    Posted 6 years ago #

    If course the space would cause a problem - I was just trusting and not thinking. Changed those and I had been comparing the permissions, They all look the same. I am not seeing any differences. Oh well, guess it is not the right time to update my look!!

Topic Closed

This topic has been closed to new replies.

About this Topic