WordPress.org

Ready to get started?Download WordPress

Forums

Broken Theme Issue (7 posts)

  1. intheburg
    Member
    Posted 2 years ago #

    Just started using wordpress and I'm running into a problem with themes. I created a child them from twentyeleven, but I misspelled the template name in the style file. I then got a broken theme message. I fixed the file and re-uploaded it, but I still got the broken theme message. I then deleted the child theme from the wordpress directory, but I've still got a broken theme message, even though the theme is no longer there. I tried renaming my child theme to something else and re-uploaded it, but the new version didn't show up on the manage theme page, though the broken theme message is still there. How can I get rid of the broken theme message and install a new one? Any suggestions?

  2. Andrei Olsen
    Member
    Posted 2 years ago #

    It seems to be a cache problem. Clear your browser's cache and check if you have some caching plugin running in WordPress.

  3. I created a child them from twentyeleven

    That's good.

    but I misspelled the template name in the style file

    ...

    How can I get rid of the broken theme message and install a new one?

    Not so good. What's the exact text of the error message? It'll help sort out which theme directory has the problem.

  4. intheburg
    Member
    Posted 2 years ago #

    Thanks for the suggestions. I cleared the browser cache, but I'm not sure about how to check the plugins. I'll look into that.

    The exact error message is:
    The parent theme is missing. Please install the "twentyeleleven" parent theme.

  5. Andrei Olsen
    Member
    Posted 2 years ago #

    Okay... did you by any chance modified/removed twentyeleven theme? How exactly did you create your child theme?

  6. intheburg
    Member
    Posted 2 years ago #

    I created created a new directory for the site which I placed in the themes directory, and created a style.css file:

    /*
    Theme Name: site
    Theme URI: http://site.com/
    Description: Child Theme for twentyeleven
    Author: intheburg
    Author URI: http://site.com/about
    Template: twentyeleven (this is what I misspelled originally)
    Version: 0.1
    */
    
    @import url("../twentyeleven/style.css");

    and I made a copy of the header php which I put in the new site directory. I made an edit to the new header file in an attempt to insert a logo.

    I don't recall making any other changes to the twentyeleven template.

  7. intheburg
    Member
    Posted 2 years ago #

    I got it fixed, though I'm not sure what was going on. I uninstalled wordpress and reinstalled it, overwriting the existing files, and the broken theme message was still there. I noticed the themes listed in my filezilla directory did not match up with my wordpress theme manager, so I figured there was a problem with filezilla. I reloaded my filezilla connection which fixed the problem. No idea why filezilla would look and act like it was uploading files and showing them in the directory, but not actually connecting to wordpress. Why wouldn't it give me an error message saying the connection was lost? Whatever.

Topic Closed

This topic has been closed to new replies.

About this Topic