Support » Themes and Templates » WP 1.5 install themes does not work

  • tarpon

    (@tarpon)


    At least it doesn’t for me installing new themes doesn’t work … yet.

    I follow the theme installation instructions at http://codex.wordpress.org/Using_Themes and the new theme does not show in the current theme panel. I can select between the default themes and have been able to get the theme ‘simple-green’ to install and work — but no others.

    Confused — because the install of WP works just fine, which is why I went looking for a custom theme before going live.

    Anyone know the secret incantations?

Viewing 15 replies - 1 through 15 (of 18 total)
  • Are you uploading a folder too many ?

    theme / theme / style.css <———-will not work

    theme / style.css <————-will work

    Thread Starter tarpon

    (@tarpon)

    I am not sure what you mean, I am just putting the theme’s folder that contains the theme in the same folder with the default themes.

    If I do a ls -la on the directorythemes, all the theme folders are their, just like the default and clasic. Inside each of these folders is a complete set of files constituting a theme.

    So the files look like ‘themes/default/style.css and ‘themes/rubric/style.css’ — so each theme resides in a folder one level down from the ‘themes’ folder. Duplicates how the default and classic theme are placed.

    ColdForged

    (@coldforged)

    I would make sure that your web server has read and execute permission on all of those theme folders.

    Thread Starter tarpon

    (@tarpon)

    I just did a test and placed all the files for a couple of different themes in the ‘theme’ directory, one at a time, no folder, and it made no difference — the theme does not register in the ‘Current Theme’ panel.

    The themes look like they have a full set of files, I downloaded them from the theme directory pointed to by the WP install wiki

    ColdForged

    (@coldforged)

    That won’t do it, tarpon, they have to be in a directory in the themes directory. The code searches for directories in the themes directory, then searches each of those directories for the stylesheet (style.css). If it finds that file in a directory, it’s considered a Theme.

    Thread Starter tarpon

    (@tarpon)

    Yep they all have r-x priveledges, I am actually using a local host and running tests as root — and a local net connected user.

    Thread Starter tarpon

    (@tarpon)

    OK, that is how it’s set up — the complete theme is in the ‘theme’ directory and there is a style.css file in that directory as well. I cleaned out all the files and now there are just subdirectories.

    SO I am back to as installed with some additional theme folders in the same dierectory as the default and the classic ones.

    ColdForged

    (@coldforged)

    Okay, cd to your wp-content/themes directory and perform a ls -l *, copy it and paste it here.

    Thread Starter tarpon

    (@tarpon)

    Is the ownership of the files important? The themes folders I dropped in are not the same as the ones that were initially placed there. The new ones are root root the originals are 1025 1011.

    Is that the magic incantation needed?

    Thread Starter tarpon

    (@tarpon)

    #ls -l
    drwxr-xr-x 2 1025 1011 4096 Feb 17 05:14 classic
    drwxr-xr-x 3 1025 1011 4096 Feb 17 05:14 default
    drwxr-xr-x 3 root root 4096 Mar 14 11:31 default_allsidebar
    drwxr-xr-x 2 1000 users 4096 Mar 14 12:55 devenir_en_gris
    drwxr-xr-x 3 root root 4096 Feb 2 14:44 Kubrick
    drwxr-xr-x 3 root root 4096 Mar 7 03:37 rubric
    drwxr-xr-x 2 root root 4096 Mar 11 14:47 simple-green

    The curious thing is simple-green works like the originals.

    ColdForged

    (@coldforged)

    Ownership doesn’t matter but permissions does… subtle but important. As long as your web server process has read and execute permission on the folders and at least read permission on the files it will work.

    ColdForged

    (@coldforged)

    ls -l * so that we can see the files within the folders.

    Thread Starter tarpon

    (@tarpon)

    [root@fishes default_allsidebar]# ls -l
    total 168
    -rw-r–r– 1 root root 181 Feb 23 23:59 404.php
    -rw-r–r– 1 root root 2512 Feb 23 23:59 archive.php
    -rw-r–r– 1 root root 410 Feb 28 15:00 archives.php
    -rw-r–r– 1 root root 3935 Feb 23 23:59 comments.php
    -rw-r–r– 1 root root 5367 Feb 23 23:59 comments-popup.php
    -rw-r–r– 1 root root 20683 Mar 14 11:30 default_allsidebar.zip
    -rw-r–r– 1 root root 602 Feb 24 00:00 footer.php
    -rw-r–r– 1 root root 3117 Feb 28 14:44 header.php
    drwxr-xr-x 2 root root 4096 Mar 14 11:31 images
    -rw-r–r– 1 root root 1396 Feb 24 20:56 index.php
    -rw-r–r– 1 root root 234 Feb 28 15:00 links.php
    -rw-r–r– 1 root root 592 Feb 24 00:00 page.php
    -rw-r–r– 1 root root 245 Feb 24 00:00 searchform.php
    -rw-r–r– 1 root root 1497 Mar 5 18:34 search.php
    -rw-r–r– 1 root root 3335 Feb 28 15:12 sidebar.php
    -rw-r–r– 1 root root 2735 Feb 28 14:46 single.php
    -rw-r–r– 1 root root 9688 Feb 28 15:06 style.css

    Here is just one folder — They all have r priveldeges

    Thread Starter tarpon

    (@tarpon)

    I changed things added wx permissions to all files, still no go, deleted the directories and re-added the files, no go.

    Anyone else want to take a try to help me out. I am at a loss as to why the theAmese don’t initialize.

    vkaryl

    (@vkaryl)

    See the post “Only Benevolence” – Jabbok has the same problem (only with a different theme that works)…. it’s very puzzling.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘WP 1.5 install themes does not work’ is closed to new replies.