WordPress.org

Ready to get started?Download WordPress

Forums

Upgraded to 2.2 caused errors with Subtle theme (7 posts)

  1. Z_Everson
    Member
    Posted 7 years ago #

    I use the Subtle theme and just upgraded my site to WordPress 2.2. Big mistake: I should have checked with the theme's developer (Frazier Media) first. Now my home page is giving me these errors:

    Warning: main(/home/zachever/public_html/margaretandzach/wp-content/themes/gluedideas_subtle/styles/) [function.main]: failed to open stream: Success in /home/zachever/public_html/margaretandzach/wp-content/themes/gluedideas_subtle/header.php on line 28

    Warning: main() [function.include]: Failed opening '/home/zachever/public_html/margaretandzach/wp-content/themes/gluedideas_subtle/styles/' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/zachever/public_html/margaretandzach/wp-content/themes/gluedideas_subtle/header.php on line 28

    Fatal error: Call to undefined function: getheadercss() in /home/zachever/public_html/margaretandzach/wp-content/themes/gluedideas_subtle/header.php on line 29

    I made a backup of the site before I upgraded, but installing that version did not fix the problem (I had the rep at my hosting company help with the install too). My site reverted to 2.1.3 (that backend interface works fine), but it still won't load.

    Any idea how I can fix this problem?

  2. moshu
    Member
    Posted 7 years ago #

    Why don't you switch to another theme? (at least temporarily)

  3. Z_Everson
    Member
    Posted 7 years ago #

    Good idea. I followed your suggestion, but had a few other problems (namely pictures didn't load).

  4. moshu
    Member
    Posted 7 years ago #

    A non-custom theme is still better than staring at the error message :)

  5. Z_Everson
    Member
    Posted 7 years ago #

    True. I'm messing around with the code now though (not that I have an inkling about what I'm doing). I reckon if there's a time for my site to be down, it might as well be at 2:16 a.m. If I can't fix it (likely), I'll follow your advice.

    Thanks!

  6. Z_Everson
    Member
    Posted 7 years ago #

    Argh. I activated the WordPress Default 1.6 theme, but the pictures in my posts that I host on my own site aren't there. A new theme shouldn't have any affect on them, should it? I manually typed in the URL for an image too--no luck.

    Anyway, I'm not sure if this info matters, but the two lines of code the error message refers to are

    include_once($sStyleFolder . 'generator.php');
    	$sStyleCSS = getHeaderCSS($sStyleFolder);
  7. Z_Everson
    Member
    Posted 7 years ago #

    As all three of the error messages involved the header.php file, I replaced that file on my site with a fresh one I downloaded from the designer. Unfortunately I got the same error messages after I refreshed and cleared my cache.

Topic Closed

This topic has been closed to new replies.

About this Topic