Support » Theme: Zenon Lite » Theme crashed after update

  • I just updated zenon lite theme on http://www.stongoministorage.com and when I did I now get this error:

    Warning: require_once(/home/schoelkopf/stongoministorage.com/wp-content/themes/sto-n-go/admin/options-framework.php) [function.require-once]: failed to open stream: No such file or directory in /home/schoelkopf/stongoministorage.com/wp-content/themes/zenon-lite/functions.php on line 420

    Fatal error: require_once() [function.require]: Failed opening required ‘/home/schoelkopf/stongoministorage.com/wp-content/themes/sto-n-go/admin/options-framework.php’ (include_path=’.:/usr/local/lib/php:/usr/local/php5/lib/pear’) in /home/schoelkopf/stongoministorage.com/wp-content/themes/zenon-lite/functions.php on line 420

    Please help soon.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Looks like you got a bad upgrade. Try re-uploading a fresh, unpacked, copy of the your theme’s folder to wp-content/themes using FTP or whatever file management application your host provides.

    Thread Starter earrame

    (@earrame)

    Thank you for responding so quickly. I did like you suggested and it didn’t seem to work. It seems like it has something to do with the child theme. I had an issue when I was setting up the site. Here is the transcript of that fix, perhaps it will help. I tried commenting out line 66 again but it did not fix it.

    Hi, I am working on stongoministorage.com and have created a child theme to add a custom style sheet. When I do a live preview of the child theme, I get this message:

    Warning: require_once(/home/schoelkopf/stongoministorage.com/wp-content/themes/sto-n-go/admin/options-framework.php) [function.require-once]: failed to open stream: No such file or directory in /home/schoelkopf/stongoministorage.com/wp-content/themes/zenon-lite/functions.php on line 420

    Fatal error: require_once() [function.require]: Failed opening required ‘/home/schoelkopf/stongoministorage.com/wp-content/themes/sto-n-go/admin/options-framework.php’ (include_path=’.:/usr/local/lib/php:/usr/local/php5/lib/pear’) in /home/schoelkopf/stongoministorage.com/wp-content/themes/zenon-lite/functions.php on line 420

    If I activate the child theme, I get the same message but I cant do anything until I comment out line 420. Then the admin area will come back up and I can switch back. Can you tell me what is going on?
    Reply

    Towfiq I.
    on June 19, 2012 at 6:36 pm

    Make this changes:

    in functions.php

    This section should test the child theme are for the admin folder and if exists set path to child, else set to template. Temp fix below:

    Find this:

    if ( STYLESHEETPATH == TEMPLATEPATH ) {

    change to

    if ( STYLESHEETPATH != TEMPLATEPATH ) {

    —-
    in options.php

    Find this:

    $imagepath = get_stylesheet_directory_uri() . ‘/admin/images/’;

    change to

    $imagepath = OPTIONS_FRAMEWORK_DIRECTORY . ‘images/’;

    Found another bug. now I am getting this error in the Zenon theme options:
    Warning: Division by zero in /home/schoelkopf/stongoministorage.com/wp-content/themes/zenon-lite/options.php on line 66
    Seems to be another result of setting up a child theme. Please help.
    Reply

    Towfiq I.
    on June 20, 2012 at 9:40 pm

    make sure you did not install the plugin “Options Framework”

    And like I mentioned before, try this:

    Make these changes:

    in functions.php

    This section should test the child theme are for the admin folder and if exists set path to child, else set to template. Temp fix below:

    Find this:

    if ( STYLESHEETPATH == TEMPLATEPATH ) {

    change to

    if ( STYLESHEETPATH != TEMPLATEPATH ) {

    —-
    in options.php

    Find this:

    $imagepath = get_stylesheet_directory_uri() . ‘/admin/images/’;

    change to

    $imagepath = OPTIONS_FRAMEWORK_DIRECTORY . ‘images/’;
    Jason Earrame
    on June 20, 2012 at 9:46 pm

    I have made those changes. I tried to post that before with a thank you, but it didn’t show up here. I do not have Options Framework plugin.
    Towfiq I.
    on June 20, 2012 at 9:50 pm

    do you wish to add the options framework to your child theme? if not, you can try commenting out line number 66 of options.php file.
    Jason Earrame
    on June 20, 2012 at 9:56 pm

    Thank you, that worked. I don’t believe I will need that plugin. will these changes be a problem if the theme is updated in the future?
    Towfiq I.
    on June 20, 2012 at 10:01 pm

    Could be a problem, yeah. but you can again comment out that line.

    Moderator t-p

    (@t-p)

    To rule out any theme specific issue: Try switching to the unedited default theme (twenty eleven) for a moment using the WP dashboard. If you don’t have access to your admin area, you can switch to the default theme by renaming your current theme’s folder in wp-content/themes via FTP or SFTP or whatever file management application your host provides.

    Thread Starter earrame

    (@earrame)

    Twenty eleven works. now how do I get zenon lite with the child theme back?

    Moderator t-p

    (@t-p)

    Twenty eleven works.

    This means your zenon lite theme is broken or not compatible with 3.4

    get zenon lite with the child theme back?

    – find out where its broken and fix it.
    – upload fresh copy of the them (backup first). Make sure the theme is compatible with 3.4

    Thread Starter earrame

    (@earrame)

    Thank you. it seems to be something in the child theme. could you take a look at to see if there is anything in the style sheet that could be causing it? it is short and I don’t see what is wrong.

    /*
    Theme Name: sto-n-go
    Theme URI: http://stongoministorage.com/
    Description: Child theme for the Zenon Lite theme
    Author: Jason Earrame
    Author URI: http://seawingdesigns.com/
    Template: zenon-lite
    Version: 0.1.0
    */
    @import url(“../zenon-lite/style.css”);
    /*sto-n-go theme items
    */
    body{
    background:#bababa;
    }
    #phone{
    color: #930018;
    font-family: “arial black”;
    font-size: 38px;
    left: 34%;
    position: relative;
    top: -30px;
    }

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Theme crashed after update’ is closed to new replies.