• Resolved ninamacdonald

    (@ninamacdonald)


    After renaming the plugins directory, I now get a message that says I must enable cookies. Well they are enabled. Before I renamed the plugins directory, it just gave a blank error message.
    ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.

    This is just 1 of about 35 sites on the same Centos server at liquid web that I can no longer log into.

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Moderator t-p

    (@t-p)

    This error is generated in wp-login.php , it happens if server is unable to set cookies, this can happen due to several reasons, one of the common issue is: output being sent before setting up of cookies.

    Try:
    – deactivating ALL plugins. If you don’t have access to your Dashboard’s Plugins page, try manually resetting your plugins (no Dashboard access required). Here is another tutorial: https://www.wpbeginner.com/plugins/how-to-deactivate-all-plugins-when-not-able-to-access-wp-admin/ – If that resolves the issue, reactivate each one individually until you find the cause. Also remember to deactivate any plugins in the mu-plugins folder (if you have created such folder). The easiest way is to rename that folder to mu-plugins-old.
    – switching to the default (twenty Nineteen) theme. If you don’t have access to your Dashboard’s Appearance page, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), navigate to /wp-content/themes/ and rename the directory of your currently active theme. Alternately, you can remove other themes except the default theme (Twenty Nineteen, etc.). That will force your site to use it.
    MANUALLY updating. Download WordPress again and unzip it, and use that to copy up. Access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), and delete then replace your copies of everything on the server EXCEPT the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings. (NOTE: do not delete the?wp-content?directory or your?wp-config.php?file). Please read the Manual Update directions first.

    If the above trouble shooting steps do not help, then check error logs or, try Enabling debugging and post the results.

    After renaming the plugins directory

    May I ask why did you do that?

    This is just 1 of about 35 sites on the same Centos server at liquid web that I can no longer log into.

    You cannot login into the 35 sites? Can you check the error log and post a pastebin of the any error that happens when you try to login?

    Thread Starter ninamacdonald

    (@ninamacdonald)

    I renamed the plugins directory because it is one of the first things wordpress tells you to do.

    There are no errors for today in any of the error_logs I looked at after trying to log in.

    Moderator t-p

    (@t-p)

    Have you attempted all other troubleshooting steps I suggested in my previous reply?

    Thread Starter ninamacdonald

    (@ninamacdonald)

    Yes, I have done all those things. None of it helps with log in. It still complains about cookies. Leaving only twentynineteen, generates a blank page for the blog, https://www.wright-macdonald.com/blog/. I turned on DEBUG in wp-config.php and I turned on PHP errors in php.ini, and I am seeing no errors anywhere. Not on the screen or in the error_log

    Moderator t-p

    (@t-p)

    Make sure your server/web host is not filtering out the cookies that WordPress uses to handle logins. Contact your hosting provider.

    • This reply was modified 5 years, 5 months ago by t-p.
    Thread Starter ninamacdonald

    (@ninamacdonald)

    Sorry; I don’t understand what to ask them. Something like did you just yesterday start filtering cookies? Where would they be doing that?

    Thread Starter ninamacdonald

    (@ninamacdonald)

    I finally found that I now have to put https:// in front of all the login pages to get them to work. A few of my sites on my IWP dashboard already had the https instead of http so that is why a few of them worked.

    Moderator t-p

    (@t-p)

    Glad its sorted ??

    MKDan

    (@mkdan)

    This is how I fix the issue. This may or may not work for you.

    I do face this issue sometimes. But it is easy to fix.

    Instead of visiting /wp-admin/, try to visit /wp-admin/widgets.php

    If the problem still persists, click the “lock” icon on the chrome browser > cookies > check whether anything blocked under the “blocked” tab.

    You can check the below video.
    https://www.youtube.com/watch?v=9XTa2dqQFt8

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘After 5.2.2 can no longer log in’ is closed to new replies.