• I have had this problem for several weeks now, searching the web with no success. When I try to login to my website, website.com/wp-login.php, an error comes up saying, ERROR: Cookies are blocked due to unexpected output. For help, please see this documentation or try the support forums.

    I turned debug on in wp-config and I get the message:
    Warning: fopen(/dev/urandom) [function.fopen]: failed to open stream: Operation not supported in /website/wp-includes/random_compat/random_bytes_dev_urandom.php on line 57

    After that, there are a few headers already sent errors, but the output is started from random_bytes_dev_urandom.php

    I’m very frustrated over this problem so if anybody can help me, please reply to this forum, it would be much appreciated!

Viewing 1 replies (of 1 total)
  • Thread Starter hg1722

    (@hg1722)

    EDIT:

    Somehow got back in by adding a debug log to the wp-config file.
    if ( WP_DEBUG ) {
    define( ‘WP_DEBUG_LOG’, true );
    define( ‘WP_DEBUG_DISPLAY’, false );
    @ini_set( ‘display_errors’, 0 );
    }

Viewing 1 replies (of 1 total)
  • The topic ‘Cannot Login – failed to open stream’ is closed to new replies.