WordPress.org

Forums

[resolved] can't log onto site - all I see is pluggable.php text (15 posts)

  1. thefoolmonty
    Member
    Posted 1 year ago #

    As it says go to my site: http://www.thefoolmonty.co.uk and all I can see is the code/text of the pluggable.php file.

    I had been seeing this error: Warning: Cannot modify header information - headers already sent by (output started at

    which mentioned the functions.php and pluggable.php and following some advice here I added ?> to the very end of the pluggable resaved it by ftp and now I see this?

    Addendum: at the very bottom of the page there is this error message now:

    Fatal error: Call to undefined function wp_get_current_user() in /websites/123reg/LinuxPackage98/th/ef/oo/thefoolmonty.co.uk/public_html/bllog/wp-includes/class-wp.php on line 448

    Help?

  2. Pioneer Valley Web Design
    Member
    Posted 1 year ago #

    The issue is probably not with pluggable.php but with functions.php...to fix, first upload an unedited version of pluggable.php and then also an unedited version of functions.php...if using a child theme, just rename functions.php to old-functions.php.

    If that does not work (site does not load, cannot login), perform a manual update by uploading (from a fresh download of wp3.5.1) only the two folders /wp-admin/ and /wp-includes/ - remove existing folders first, do not overwrite but replace only these two.

  3. esmi
    Forum Moderator
    Posted 1 year ago #

  4. thefoolmonty
    Member
    Posted 1 year ago #

    Thank you Esmi.

    Just to clarify. I use the theme Weaver II. Do I need to change the functions and plugable files in that or the main WP install?

  5. thefoolmonty
    Member
    Posted 1 year ago #

    Okay so I have just uploaded fresh files as per part 1 of your answer and cannot log in:

    Fatal error: Cannot redeclare win_is_writable() (previously declared in /websites/123reg/LinuxPackage98/th/ef/oo/thefoolmonty.co.uk/public_html/bllog/wp-includes/functions.php:1448) in /websites/123reg/LinuxPackage98/th/ef/oo/thefoolmonty.co.uk/public_html/bllog/wp-admin/includes/misc.php on line 554

    that is the error message I get. Should I now go onto the manual update?

  6. thefoolmonty
    Member
    Posted 1 year ago #

    Help:

    I"ve just done as per above "If that does not work (site does not load, cannot login), perform a manual update by uploading (from a fresh download of wp3.5.1) only the two folders /wp-admin/ and /wp-includes/ - remove existing folders first, do not overwrite but replace only these two."

    and now when I try to log on I get:

    Fatal error: Call to a member function register_handler() on a non-object in /websites/123reg/LinuxPackage98/th/ef/oo/thefoolmonty.co.uk/public_html/bllog/wp-includes/media.php on line 953

  7. Pioneer Valley Web Design
    Member
    Posted 1 year ago #

    Rename the plugins folder to old-plugins, rename each theme folder (in wp-content/themes) to old-theme_folder_name, upload a fresh unedited default theme...try again...

  8. Pioneer Valley Web Design
    Member
    Posted 1 year ago #

    also check bllog vs blog (is that an error)?

  9. thefoolmonty
    Member
    Posted 1 year ago #

    Thanks for suggestions.

    I've tried looking and I don't actually have a path named blog

    It appears that the access my dashboard command is trying to look for a non existent blog post on the bog part of my site.

    Below is the response from my host, what do you make of it? Sounds like an excuse to charge me money..

    Thank you for contacting 123-reg on the 5th June 2013.

    Upon further investigation your WordPress is not supported due to files being replaced. Only option would be to have a rollback, however this will come with a fee.

    Please update this ticket to confirm the rollback.

    If we can be of any further help with regard to this or any other matter, please do not hesitate to contact us.

  10. esmi
    Forum Moderator
    Posted 1 year ago #

    Upon further investigation your WordPress is not supported due to files being replaced.

    What files? And who replaced them?

  11. thefoolmonty
    Member
    Posted 1 year ago #

    I replaced wp-admin and wp-inlcudes as per recommendations above.

  12. esmi
    Forum Moderator
    Posted 1 year ago #

    That shouldn't have caused an error. They're just fresh copies of core files. You are sure that you are using WordPress 3.5.1? And you did delete the old copies of files & folder before uploading the new ones?

  13. thefoolmonty
    Member
    Posted 1 year ago #

    well now I think they may be from the version before 3.5.1 but only because I tried the files from a 3.5.1 install and they didn't work at all.

    When I switched them to the current versions I got access to the site as a visitor but no backend access?

    Yes I deleted old copies of the files/folders before install.

  14. thefoolmonty
    Member
    Posted 1 year ago #

    Aah okay perhaps the wp-admin file hadn't copied over after all. Now I've done that this is what I have.

    Access to my dashboard but at the top of the page this error is still showing?

    Warning: Cannot modify header information - headers already sent by (output started at /websites/123reg/LinuxPackage98/th/ef/oo/thefoolmonty.co.uk/public_html/bllog/wp-config.php:89) in /websites/123reg/LinuxPackage98/th/ef/oo/thefoolmonty.co.uk/public_html/bllog/wp-includes/option.php on line 563

    Warning: Cannot modify header information - headers already sent by (output started at /websites/123reg/LinuxPackage98/th/ef/oo/thefoolmonty.co.uk/public_html/bllog/wp-config.php:89) in /websites/123reg/LinuxPackage98/th/ef/oo/thefoolmonty.co.uk/public_html/bllog/wp-includes/option.php on line 564

    So it's almost all back to normal as far as I can see, it's just this error now (which only shows on the dashboard, so not such a huge problem as my clients don't see it?

    Thank you for all your help.

  15. esmi
    Forum Moderator
    Posted 1 year ago #

    think they may be from the version before 3.5.1 but only because I tried the files from a 3.5.1 install and they didn't work at all.

    It is essential that you use the correct version. What version of WordPress were you running?

Topic Closed

This topic has been closed to new replies.

About this Topic