• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Help with restoring site

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Help with restoring site

This topic is: not resolved

Tagged: functions.php, server error

  • This topic has 3 replies, 2 voices, and was last updated 10 years, 1 month ago by Bettina.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • January 10, 2013 at 2:42 pm #11037
    Bettina
    Member

    [I just posted this but it wouldn't show, if this is now a duplicate please ignore, sorry, still not seeing the initial post]

    Ok so I made a change in the functions.php as per a github (this one, the first one) on this site  and now it's broken 🙁

    Server error
    The website encountered an error while retrieving http://brooksideadmin.co.za/wp/wp-admin/theme-editor.php?file=functions.php&theme=balance&scrollto=1620&updated=true. It may be down for maintenance or configured incorrectly.

    Here are some suggestions:

    Reload this webpage later.

    HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.

    Help!

    I have ftp access, tried to find it in the functions.php but don't. Well not true, did find a functions.php but it doesn't contain that code bit that I added (how's that possible?). Tried to find that file in that error message but wouldn't know what to do with it.

    Tried restore backup from managewp but that won't work either. I'm unfortunately not experienced enough to go further on my own. Please anyone who can guide me through getting this back properly again?

    I'm sure I could just go in an change some or other file via ftp but I don't know which. Sigh. I'm off to bed now (late night here...) so if I don't reply immediately that's why. Please, please someone help me.

    January 10, 2013 at 2:43 pm #11036
    Bettina
    Member

    Ok so I made a change in the functions.php as per a github (this one, the first one) on this site  and now it's broken 🙁

    Server error
    The website encountered an error while retrieving http://brooksideadmin.co.za/wp/wp-admin/theme-editor.php?file=functions.php&theme=balance&scrollto=1620&updated=true. It may be down for maintenance or configured incorrectly.

    Here are some suggestions:

    Reload this webpage later.

    HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.

    Help!

    I have ftp access, tried to find it in the functions.php but don't. Well not true, did find a functions.php but it doesn't contain that code bit that I added (how's that possible?). Tried to find that file in that error message but wouldn't know what to do with it.

    Tried restore backup from managewp but that won't work either. I'm unfortunately not experienced enough to go further on my own. Please anyone who can guide me through getting this back properly again?

    I'm sure I could just go in an change some or other file via ftp but I don't know which. Sigh. I'm off to bed now (late night here...) so if I don't reply immediately that's why. Please, please someone help me.

    January 10, 2013 at 3:14 pm #11043
    Bill Murray
    Member

    First, any PHP error, even a small typo, can break your site. Typos can happen to the best of us. Before attempting any modification, have a known-working backup of your functions.php. This is in your child theme folder, NOT the Genesis folder. I always recommend that if you make a modification, you add a comment before it that you always use (such as your initials), the date, and what you were trying to accomplish. To find the modification, just use your initials (and if your initials are a sequence found in the code, pick something else).

    To get back to where you were, you can a) rename your broken functions.php to functions.txt (this will preserve any mods that you made) and then b) copy the functions.php from your original download.


    Web: https://wpperform.com or Twitter: @wpperform

    We do managed WordPress hosting.

    January 10, 2013 at 3:19 pm #11045
    Bettina
    Member

    Hi Bill,

    thank you SO much! Problem solved.

    I do always add comments before I do anything so that's not the problem. But I now realise I looked in the wrong functions.php .... anyway, found it, changed it and done.

    Now I just need that exclude going again though. Will see if I can get help from that author. It was recommended by Nick himself so surely this should work.

    Thanks again, really appreciate it.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble