• Resolved priscilla.l.thompson

    (@priscillalthompson)


    I think it’s 4.2, it keeps saying we should update to 4.2.1 anyway.

    But while trying to fix an overlapping sidebar/content problem, I found a possible fix in the forum.

    I added the following code to the css file:

    div#sidebar {
    width: 27% !important;
    margin-left: -27% !important;
    }

    #container .row-fluid .span8, .row-fluid .span8 {
    width: 70% !important;
    }

    There’ve been other people working on the site too, so it may not actually be the problem, but this is what I did right before the screens stopped loading. As far as I know it was the last change before it stopped working.

    And now the site won’t load, and the editor won’t load. All there is, is a blank screen. I don’t think this is something fixable from this end, would someone be able to access the site’s files to undo it?

    Thanks for your help, this is urgent.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter priscilla.l.thompson

    (@priscillalthompson)

    I’ve another possible cause of the problem. Another person who was working on it did the following:

    “I was seeing if the php was what was responsible for the header not being responsive, and I inserted <?php get_header(); ?> into one of the PHP files. It crashed the moment I hit submit. “

    Thanks for your help.

    Adding the css above would not have been a problem. Changing a WP core file (or theme file, in this case) would. That file needs to be restored to its original state.

    If you have a backup of that file, you’re going to need to replace the edited one on your hosting account server with the backup copy (or a fresh, unedited one if no backup is available). You can use an FTP client (like FileZilla), or your web-host’s cPanel or file manager to do this.

    The css change wouldn’t have caused the site to “disappear”. It sounds like you’re generating a 500 error, which would result in a white screen when you try to access the page. Get that new get_header() back out and chances are your site will come back up ?? If that doesn’t work, I’d try to take a look at your error logs, which you should have access to if you have a control panel like cPanel or Plesk. Good luck!

    Thread Starter priscilla.l.thompson

    (@priscillalthompson)

    Thanks, I’ll have to talk to the person who’s actually in charge of the site. I’ve just been using the web editor, I don’t actually have WordPress on my computer.

    It’s not actually my site either, we’re working on it as a school project for a nonprofit, so I don’t have any FTP information, so I’ve just got editing access. Hopefully he’ll know what information we need to access the site. I’m not sure whether he’ll know though. Hopefully he’ll at least know who the web-host is.

    Hopefully you’ve all learned the lesson now that you should NEVER edit PHP files through the web interface ?? You really should only be making changes to files on the web server by uploading them via FTP. I hope you were able to get the site back up and running today!

    Thread Starter priscilla.l.thompson

    (@priscillalthompson)

    We got into the FTP files and put the site back up and running. However now the following errors are appearing in all of our sidebars, and several of our plugins aren’t working.

    Notice: Undefined index: show_home in /home/digitalt/childrenslandalliance.com/public_html/wp-content/plugins/hierarchical-pages/hierpage.php on line 114

    Notice: Undefined index: 133 in /home/digitalt/childrenslandalliance.com/public_html/wp-content/plugins/hierarchical-pages/hierpage.php on line 114

    Notice: Undefined index: show_root in /home/digitalt/childrenslandalliance.com/public_html/wp-content/plugins/hierarchical-pages/hierpage.php on line 120

    Notice: Undefined offset: 133 in /home/digitalt/childrenslandalliance.com/public_html/wp-content/plugins/hierarchical-pages/hierpage.php on line 140

    Any ideas how to fix it? I have no experience with php (except the aforementioned disaster).

    Here’s the link to the site: https://www.childrenslandalliance.com/

    There may still be some error in the page that you repaired. Did it get edited, or was it replaced with a fresh copy? I recommend the latter, just to be sure. What file was it? If it was a theme file, you can try temporarily switching to a default WP theme (like Twenty Fifteen) to see if it clears up. If it does, you can re-install the problem theme (if it hasn’t been customized).

    Disabling the Hierarchical Pages plugin may also get rid of those warnings for the time being, but will change things in your site depending on how much the plugin is doing for its organization.

    Thread Starter priscilla.l.thompson

    (@priscillalthompson)

    Thanks for your help, it’s back online and we figured out what we needed to.

    Glad you got this worked out.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Locked Out of Site’ is closed to new replies.