WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Cookies are blocked or not supported by your browser (2 posts)

  1. Livsy
    Member
    Posted 8 months ago #

    Hi. I am using WordPress + BuddyPress. When users try to log into the site they get this error: "Cookies are blocked or not supported by your browser". I read about this problem here but that solutions had no effect in my case. Can someone help me with this problem? My site - http://sgamers.ru/

  2. Livsy
    Member
    Posted 8 months ago #

    Solution from niosus: Comment out lines 744-746 in wp-login.php . It should look like this:

    //	if ( isset($_POST['testcookie']) && empty($_COOKIE[TEST_COOKIE]) )
    //		$user = new WP_Error('test_cookie', __("<strong>ERROR</strong>: Cookies are blocked or not supported by your browser. You must <a href='http://www.google.com/cookies.html'>enable cookies</a> to use WordPress."));
    //	else
    		$user = wp_signon('', $secure_cookie);

Reply

You must log in to post.

About this Topic