• Resolved thisislebanon

    (@thisislebanon)


    Whenever I have it activated, I receive this error at login: “ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.”

    I have tried disabling all of the firewall features, but the plugin just being activated seems to be causing the problem. Any hints or solutions?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author nintechnet

    (@nintechnet)

    This error message comes from WordPress. Maybe you have an error or another plugin that sends HTTP headers earlier than expected. Do you have another security plugin installed and dealing with the login process?

    Can you try to temporarily enable PHP error and WP debug log?

    WP debug log: Open your wp-config.php script and search for:
    define( 'WP_DEBUG', false );
    Replace it with:
    define( 'WP_DEBUG', true );

    -PHP error log: Open you PHP INI (php.ini or .user.ini) and add these lines to it:

    log_errors = On
    error_log = /full/path/to/error_log
    error_reporting = E_ALL | E_STRICT
    display_errors = On
    

    Replace /full/path/to/error_log with the full path to the log where PHP should write errors.

    • This reply was modified 7 years, 9 months ago by nintechnet.
    Thread Starter thisislebanon

    (@thisislebanon)

    Nothing showing up in either the wordpress debug.log or the apache logs except for (IPs are randomized):
    2017/05/28 08:49:59 [error] 1971#1971: *3562 open() "public_html/stssys.htm" failed (2: No such file or directory), client: 11.11.11.11, server: wordpress, request: "GET /stssys.htm HTTP/1.0", host: "11.11.11.11"

    Does that have anything to do with it?

    Thread Starter thisislebanon

    (@thisislebanon)

    Thanks, both my apache logs and wordpress logs (debug.log) are working, but nothing is showing up as a login error, except possibly:
    2017/05/28 08:49:59 [error] 1971#1971: *3562 open() "**/public_html/stssys.htm" failed (2: No such file or directory), client: 187.**.**.**, server: wordpress-**, request: "GET /stssys.htm HTTP/1.0", host: "45.**.**.**"

    Do you know what my next step might be in debugging it?

    Plugin Author nintechnet

    (@nintechnet)

    Do you have any other plugins dealing with the login process?

    Thread Starter thisislebanon

    (@thisislebanon)

    Ahh, I had the hide the backend activated from another plugin. I removed that an it worked.

    Thanks for the support.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘After Install Cannot Login Because of Cookie Error’ is closed to new replies.