• I just set up an install of wordpress on a virtual machine so that I could develop a theme for a friend of mine, but for some reason it won’t load any themes that I add. I had to set up this same thing a few months ago and didn’t have a problem, but since then I’ve gotten a new computer and need to do it again.

    The problem is that I load a theme into the themes directory, go into the admin, change the theme, and now nothing shows up on the home page. I know it’s loading index.php because I added some testing text, so I know that it’s loading. Somehow it doesn’t seem to be pulling in the theme. It has no problem loading the two default themes that come with it though. Even in the admin when I go to switch the theme and it pops up the preview window to show the new theme, the preview doesn’t show anything (but it does for the default themes).

    Any ideas what could cause this? I’m running on a windows xp virtual machine that has apache 2.2.11 and PHP 5.2.9-2 and MySQL 5.1 with WordPress 2.7.1

Viewing 6 replies - 1 through 6 (of 6 total)
  • You obviously are more advanced than I am, but I just had a similar problem, and it was solved by moving screenshot.png from the images file to the main folder of the theme.

    Would not worry about the previews. If when you activate a theme and you get nothing then you need to look if its in the directory with original name. If you change the directory name a few themes have hard-coded paths.

    Thread Starter jwynveen

    (@jwynveen)

    Screenshot.png is already in the root folder of the theme, so that isn’t the issue. This seems like more of a code issue or that I don’t have something configured right.

    Thread Starter jwynveen

    (@jwynveen)

    I should clarify, my issue isn’t with the preview. The problem is that the theme doesn’t load at all. The preview doesn’t either, but that’s a secondary issue. I’m sure it will be fixed when I get the theme loading fixed. So I’m looking how to get my themes loading because right now they aren’t.

    Since you stated in your first post editing a theme for someone have you:
    Checked for hard-coded paths?
    Also check the permissions of the theme directories

    Thread Starter jwynveen

    (@jwynveen)

    I know that there isn’t anything wrong with the theme itself because I had previously worked on in on another machine and my friend had installed it on his web site with no problem. I’d think there’s a configuration issue. I don’t think the permissions of the theme directory is an issue because the default themes in that directory work fine.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘New install won’t load added themes’ is closed to new replies.