• HELP. I tried to activate Masigasig theme and now the blog is “lost” and this is the message below. What do I do?

    Warning: require(/home/sharisax/public_html/wp-content/themes/masigasig-black/functions/option.php) [function.require]: failed to open stream: No such file or directory in /home/sharisax/public_html/wp-content/themes/masigasig-black/masigasig-black/functions.php on line 18

Viewing 15 replies - 1 through 15 (of 16 total)
  • Looks like your theme is not complete.

    Apparently a file called [themedir]/functions/option.php is referenced by functions.php, but cannot be found. Do you have the option to upload your theme again?

    Apart from that: are you able to reach your admin page directly, by pointing your browser to http://your.web.site/wp-admin?

    Peter

    Thread Starter sharisax

    (@sharisax)

    No, it cannot be found. Do I do something like FTP my host?

    That would be perfect, however I do understand that this is not always supported by hosting providers.

    What tools does your hosting provider offer? MySQL administration?

    Peter

    Thread Starter sharisax

    (@sharisax)

    I’m on the phone with Hostgator. There is something about MySQL on my control panel

    Assuming you do:

    the name of the template is held in two variables in the wp_options table (where ‘wp’ is the default table prefix, it’s possible you changed that), called ‘template’ and ‘stylesheet’.

    The SQL command would be:

    UPDATE wp_options SET option_value='default' WHERE option_name='template' OR option_name='stylesheet';

    That will reset your site to the default theme.

    Peter

    Thread Starter sharisax

    (@sharisax)

    The Hostgator people cannot seem to do anything πŸ™

    There is something about MySQL on my control panel

    What are your options here?

    Peter

    Thread Starter sharisax

    (@sharisax)

    Databases
    Wizard
    phpMyAdmin
    Remote MySQL

    phpMyAdmin is the one you need!

    That’ll give you the option to change entries in your tables.

    Peter

    Thread Starter sharisax

    (@sharisax)

    What exactly do I do?

    Thread Starter sharisax

    (@sharisax)

    It gives me an option to DOWNLOAD something in phpMyAdmin
    Should I download this?

    I’m a bit in a time squeeze now (since I have to leave for work, but will be back online in 45 minutes), but I’ll describe the procedure

    If you start phpMyAdmin, you’ll be presented the databases on the left hand side (probably just one, otherwise choose your database). Then the left sidebar will show your tables. If left default, all start with wp_.

    At that point the main view will have several tabs, choose SQL and enter the command I gave above (still assuming wp_ is your table prefix).

    Another option is to click the wp_options table (left side), and then ‘Browse’ in the main pane.

    Browse for ‘template’ and ‘stylesheet’, and edit the option_value to show ‘default’.

    Peter

    Thread Starter sharisax

    (@sharisax)

    Peter, I can follow some ot this but I’m not certain what it was you said “above” that I should enter into SQL box.

    If you have left for work, I’ll wait. Thanks,
    Shari

    This one:

    UPDATE wp_options SET option_value=’default’ WHERE option_name=’template’ OR option_name=’stylesheet’;

    Peter

    Thread Starter sharisax

    (@sharisax)

    FOR SOME REASON, THIS WAS NOT SENT TO YOU

    I PUT IT UP LAST NIGHT

    Peter, HOSTGATOR took care of it:

    Hello,
    The issue is that your theme files were not in the right place.
    They were all inside of /wp-content/themes/masigasig-black/masigasig-black, when
    they should have been in /wp-content/themes/masigasig-black.

    I have moved them to the proper location, and the error changed to a problem
    with the flickrss plugin. After disabling this plugin, the wp-admin page now
    loads.
    The WordPress main page, however, is loading blank. This appears to be a
    problem with your theme; however. Please contact your theme author, and/or
    WordPress for support on this issue. If they can point to something server-side,
    we will be more than happy to investigate further, but at this time, we are not
    seeing any errors being thrown. You do; however, have access to wp-admin, so
    you can enable another theme, in the interim.
    Have a wonderful day!
    Eric Scalf
    Linux Systems Administrator

    THANKS FOR YOUR HELP!

Viewing 15 replies - 1 through 15 (of 16 total)

The topic ‘lost blog when tried to change theme’ is closed to new replies.