• So I was trying to help a friend with their WordPress site. For the longest time, the site would work, but the login page would just be a blank white page. I finally got access to the servers to grab the error logs and was trying to use that to troubleshoot and fix thing.

    What originally seem to be the issue was that the kses.php was corrupted. I tried to reload a clean version and now nothing works at all.

    My latest error log entry is:

      [14-Mar-2016 21:59:03 UTC] PHP Fatal error: require() [function.require]: Failed opening required ‘/home/tamlam/public_html/wp-includes/formatting.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/tamlam/public_html/wp-settings.php on line 114

    The one from before is:

      [27-Feb-2016 00:22:29 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/tamlam/public_html/wp-includes/kses.php:1) in /home/tamlam/public_html/wp-includes/class-IXR.php on line 543
      [27-Feb-2016 00:22:29 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/tamlam/public_html/wp-includes/kses.php:1) in /home/tamlam/public_html/wp-includes/class-IXR.php on line 545

    Any help would be greatly appreciated. Thanks, very much, in advance!

Viewing 10 replies - 1 through 10 (of 10 total)
  • Did you reload all of WordPress, or just the kses.php file?

    Does this file exist: ‘/home/tamlam/public_html/wp-includes/formatting.php’?

    I would suggest just replacing all of WordPress (making sure that you set it up with the right file permissions as instructed by your hosting provider) to make sure that all the missing or corrupted files are fixed up.

    Thread Starter bhong13

    (@bhong13)

    Thanks for the quick reply.

    No, only the kses.php and I just re-uploaded the formatting.php file.

    I wasn’t involved with the creation of the website and was helping out to fix and update content so I’m a totally WordPress newbie and was hoping to avoid having to replace all the files.

    Well, if replacing these two files lets you log in, then you should be good to go. Did it work?

    Thread Starter bhong13

    (@bhong13)

    Unfortunately, it didn’t …

    I wish it did.

    Hmm, that’s unfortunate. are you seeing the same types of errors (e.g. missing files?)

    Do you know if your friend has any sort of backup from when it was working?

    Thread Starter bhong13

    (@bhong13)

    Unfortunately no back up. It was designed for them and the designer doesn’t have a back up copy anywhere.

    I’m getting this error now:

      [14-Mar-2016 23:48:57 UTC] PHP Fatal error: Cannot redeclare wp_richedit_pre() (previously declared in /home/tamlam/public_html/wp-includes/formatting.php:2993) in /home/tamlam/public_html/wp-includes/deprecated.php on line 3608

    When trying to replace the files are you sure replaced with the correct WP version?

    Also make sure that none of your theme files have any empty space at the bottom of the code (no extra line breaks)

    Thread Starter bhong13

    (@bhong13)

    I honestly know remember which version it is. I’m going by memory of what it was last updated, middle of last year and hoping it’s right.

    I’ve got it loading again, still can’t access the wp-admin page to log in though the content of the pages won’t load.

    I’ll try double checking the theme files later today. Thanks for the suggestion!

    If you haven’t replaced it, you can find out the WordPress version from the readme.html file.

    It’s important to have files that are the right version in there – otherwise you’ll get errors that are super-hard to debug.

    Thread Starter bhong13

    (@bhong13)

    Thanks a lot for the help and suggestions.

    So the good news is that the website loads again with content though I still can’t access the wp-admin page to load in to edit content. At least I’ve fixed up my mistakes.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Website won't load at all’ is closed to new replies.