WordPress.org

Forums

[resolved] Error messages appearing at tops of all pages (19 posts)

  1. jeffbaas
    Member
    Posted 4 years ago #

    A client site of mine currently is displaying the following error codes at the top of each page of the site.

    Deprecated: Assigning the return value of new by reference is deprecated in /home/complete/public_html/wp-settings.php on line 520

    Deprecated: Assigning the return value of new by reference is deprecated in /home/complete/public_html/wp-settings.php on line 535

    Deprecated: Assigning the return value of new by reference is deprecated in /home/complete/public_html/wp-settings.php on line 542

    Deprecated: Assigning the return value of new by reference is deprecated in /home/complete/public_html/wp-settings.php on line 578

    Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/complete/public_html/wp-settings.php on line 18

    Warning: Cannot modify header information - headers already sent by (output started at /home/complete/public_html/wp-settings.php:520) in /home/complete/public_html/wp-login.php on line 255

    Warning: Cannot modify header information - headers already sent by (output started at /home/complete/public_html/wp-settings.php:520) in /home/complete/public_html/wp-login.php on line 267

    The url is http://www.completehomehealthservices.com. I'm not sure what version of WordPress I was using there, but neither I nor my client have logged in or done anything else behind the scenes with the site for months. The version I am using is WordPress 2.7.1. The problem suddenly appeared, to the best of my knowledge, over the weekend.

    I've already gone into the wp-settings file and cleared out a return after the '?>' ending code, but the problem still persists.

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    Have you tried:

    - deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    - switching to the Twenty Ten theme to rule out any theme-specific problems.

    - resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

  3. jeffbaas
    Member
    Posted 4 years ago #

    Currently, I can access the plugins only by ftp. When I try to log in, I get only a full screen of additional errors. Is there a way I can deactivate the plugins from outside the admin dashboard?

  4. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    yes, by ftp.

    Rename the plugins folder in wp-content to something else and make a new empty plugin folder

  5. jeffbaas
    Member
    Posted 4 years ago #

    Thanks! And my apologies to esmi for responding before reading through the link esmi posted, which contained that information, too. I tried doing that and got the same screen of additional errors:

    Warning: Cannot modify header information - headers already sent by (output started at /home/complete/public_html/wp-settings.php:520) in /home/complete/public_html/wp-login.php on line 255

    Warning: Cannot modify header information - headers already sent by (output started at /home/complete/public_html/wp-settings.php:520) in /home/complete/public_html/wp-login.php on line 267

    Warning: Cannot modify header information - headers already sent by (output started at /home/complete/public_html/wp-settings.php:520) in /home/complete/public_html/wp-includes/pluggable.php on line 649

    Warning: Cannot modify header information - headers already sent by (output started at /home/complete/public_html/wp-settings.php:520) in /home/complete/public_html/wp-includes/pluggable.php on line 650

    Warning: Cannot modify header information - headers already sent by (output started at /home/complete/public_html/wp-settings.php:520) in /home/complete/public_html/wp-includes/pluggable.php on line 651

    Warning: Cannot modify header information - headers already sent by (output started at /home/complete/public_html/wp-settings.php:520) in /home/complete/public_html/wp-includes/pluggable.php on line 850

    I'll search and see if I can find anything on those error messages.

  6. esmi
    Forum Moderator
    Posted 4 years ago #

  7. jeffbaas
    Member
    Posted 4 years ago #

    I followed all advice on here and continued to have the same problem. I decided to upgrade the installation from within Fantastico. That got the site working again briefly. I'll mark this thread resolved and start a new one whose subject more accurately reflects the problem that developed next.

  8. simontrevenna
    Member
    Posted 4 years ago #

    I have been having similar problems with my site:

    http://www.pioneerecology.com

    I often can only see the following message:

    Fatal error: Maximum execution time of 30 seconds exceeded inD:\Hosting\7454082\html\wp-includes\class-http.php on line 38

    This stops me from seeing any of the webpages or accessing the admin page. Other days it works fine and I can't see any real pattern or solution.

    Is there a solution?

  9. jeffbaas
    Member
    Posted 4 years ago #

    After getting the site working briefly, I lost it completely. I started to receive a white screen of death and took advice on another thread to upload a fresh download of WordPress. I then got this error message:

    Warning: require_once(/home/complete/public_html/wp-load.php) [function.require-once]: failed to open stream: No such file or directory in /home/complete/public_html/wp-blog-header.php on line 12

    Fatal error: require_once() [function.require]: Failed opening required '/home/complete/public_html/wp-load.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/complete/public_html/wp-blog-header.php on line 12

    I downloaded a copy of all files from my old installation before I uploaded the fresh download, so I could re-upload any individual files that had been present. The question is, which ones would get me back to a fully functioning installation?

  10. esmi
    Forum Moderator
    Posted 4 years ago #

    Try re-uploading all files & folders - except the wp-content folder - from a fresh download of your version of WordPress.

  11. jeffbaas
    Member
    Posted 4 years ago #

    I re-uploaded the files and folders except the wp-content folder. I now get a list of the files in my root directory when I navigate to the home page of the blog and the error messages I listed above when I navigate to any other page.

    I'm also finding that when I navigate to the site, a number of files (including the wp-load.php file mentioned in the error message) spontaneously disappear. I have re-uploaded the missing files numerous times only to find them disappear again as soon as I load the page in any of my browsers.

    I am working with my hosting provider's support on this disappearing file problem. I thought I should mention it here, too, in case this is a problem that might be related to something in WordPress that I installed wrong.

    I much appreciate the help.

  12. esmi
    Forum Moderator
    Posted 4 years ago #

    I doubt that's a WordPress issue.

  13. jeffbaas
    Member
    Posted 4 years ago #

    My hosting provider identified the problem as being that I uploaded the files unzipped, directory by directory. He advised me to upload the zipped file to my server and then unzip it there.

    That has given me a complete set of files of Version 3.1.2 on my server. The problem now is that that whole set of files is now one level down from where they are supposed to be.

    In unzipping the files, an additional directory named /wordpress/ was created in my public_html directory. Do I need to move all the files and directories up one level manually via cpanel? Or is there some way I can accomplish this more efficiently, without the risk of messing up content that is supposed to appear on the site? Thanks again for the help.

  14. esmi
    Forum Moderator
    Posted 4 years ago #

    Where did you originally install WordPress on your domain.

  15. jeffbaas
    Member
    Posted 4 years ago #

    I originally installed it in public_html.

  16. jeffbaas
    Member
    Posted 4 years ago #

    I have now moved all of the root files for the installation into public_html and renamed the old wp-admin, wp-content, and wp-includes as wp-admin-old, etc.

    I then copied the wp-admin and other two directories from the fresh upload into public_html. I also copied all of my content-related files from wp-content-old into the appropriate places in the new wp-content directory.

    The result is that I can now log in. I can also access all of the pages from the site through the dashboard. They show up perfectly well in the editing function.

    When I navigate to the site through my browser (or click the View option for any of them through the dashboard), though, I get a pure white screen. Nothing on it. No source code, either.

    What have I missed in getting this site working again?

  17. esmi
    Forum Moderator
    Posted 4 years ago #

    What theme is currently active? Have you tried switching to Twenty Ten?

  18. jeffbaas
    Member
    Posted 4 years ago #

    Yep. A broken theme was my final hurdle. The site now works fine.

  19. esmi
    Forum Moderator
    Posted 4 years ago #

    Excellent! :-)

Topic Closed

This topic has been closed to new replies.

About this Topic