• Resolved pnaj

    (@pnaj)


    Hi,

    Just updated to 3.0.4 and my theme is now broken.

    I have a child theme of Twenty Ten 1.1. Nothing seems to have changed with either child or parent theme but, on the themes admin page the description of the problem says “The parent theme is missing. Please install the “twentyten Version: 1.1″ parent theme.”

    Would really appreciate some help as to what sort of thing could have happened.

    Just to re-iterate, all the files are still there.

    Cheers,
    Paul.

    ** Added … strange it’s only the admin that’s showing problems … thankfully the front end hasn’t been affected.

Viewing 14 replies - 1 through 14 (of 14 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Is the folder wp-content/themes/twentyten there?

    Thread Starter pnaj

    (@pnaj)

    Hi Ipstenu,

    Yes – both parent and child folders.

    P

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    What’s the header of your style.css for your child theme?

    Like this, right?

    /*
    Theme Name: Child of 2010
    Theme URI: https://Ipstenu.org
    Description: This is a child theme of Twenty Ten (2010), the 'new' default WordPress Theme.
    Version: 1.0
    Tags: fixed width, widgets, valid CSS, valid XHTML, SEO, SEO friendly, adsense, custom header, three columns, clean,  right sidebar, blue,white, photoblogging, widget ready, simple, gravatars
    Author: Ipstenu
    Author URI: https://ipstenu.org/
    Template: twentyten
    */

    If the front end isn’t affected, then the parent theme must still be present. I’m also a little confused by the “Please install the “twentyten Version: 1.1″ parent theme” message. From what I recall, the missing theme message doesn’t normally state a specific version number.

    What’s in the comment block of your child theme’s style.css file?

    Thread Starter pnaj

    (@pnaj)

    Hi again,

    Something seems to have happened to the files themselves. It’s like the line-breaks are being read differently than before or have been converted (somehow).

    Anyway, re-laid out the header in style.css (in same order as above) – replacing all line-breaks and it now works! Thanks to both of you – your comments got me right to the problem – however it was caused!!

    P

    Glad you found the cause but that’s still pretty weird! Is it possible that this happened a while ago and you simply missed the theme error message at the bottom of the Themes page? I know I’ve missed them before on a local install.

    Thread Starter pnaj

    (@pnaj)

    Hi Esmi,

    Well that’s possible. I only noticed the problem because I was creating a new page and the Page attributes didn’t display the ‘Template’ dropdown (after having just updated to 3.0.4). Chasing around, I then noticed the theme error message.

    I last created a new page about a week ago – so yes – possible. Can’t think what haappened though.

    Thanks again. P.

    Had you uploaded a fresh copy of the theme recently? Was any work carried out on the server that you are aware of?

    Thread Starter pnaj

    (@pnaj)

    No to both of those, but one possibility is that I use the netbeans IDE which syncs with the server … I updated that a few days ago.
    I noticed that some files, not all, had extra linebreaks added!

    So, for example …

    Description: Child theme for the Twenty Ten theme
    Version: 1.0
    Author: pnaj

    … became …

    Description: Child theme for the Twenty Ten theme

    Version: 1.0

    Author: pnaj

    Oh – that’s interesting… My guess is that it’s a file format issue. Pretty sure I’ve seen a similar effect when uploading files saved in ANSI format to a *nix server.

    Thread Starter pnaj

    (@pnaj)

    Must be something like that that … a light went on when you mentioned that the error message wouldn’t normally mention the version. Will try and work out why it happened!

    Aah the joys of the web!

    P.

    Got to say again, esmi (and ipstenu), I really appreciate your help and thoughts.

    No problem. It’s interesting to be able to track some of these rarer problems down to their root cause.

    Thread Starter pnaj

    (@pnaj)

    Yup, definitely the editor. I’ve just edited the style.css file in a different program, re-saved it and other admin issues were fixed.

    Glad it’s not wp, or wp update.

    Will be disconnecting netbeans for a while!!

    P

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    It’s not the double lines.

    I THINK it’s netbeans IDE and how it’s handling line breaks. I have a memory of using that to sync java files and having a nightmare of a night when it ate the line breaks for lunch and nothing worked.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Update to 3.0.4 – Parent theme missing’ is closed to new replies.