WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Admin SSL] Redirect bug (3 posts)

  1. redgecko
    Member
    Posted 4 years ago #

    I'm using Admin SSL 1.4.1 with WordPress 2.7.1.
    With non-standard authentication plugin and my private SSL environment, the redirection and the account information become strange.
    The PHP log says:

    PHP Notice: Use of undefined constant COOKIE_PATH - assumed 'COOKIE_PATH' in /path/to/wordpress/wp-content/plugins/admin-ssl-secure-admin/includes/cookies.php on line 31

    I try to fix this bug with the following patch:

    --- cookies.php.orig	2009-02-17 20:37:14.000000000 +0900
    +++ cookies.php	2009-05-03 17:23:40.000000000 +0900
    @@ -28,7 +28,7 @@
     			$url = parse_url($shared_url);
     			return(rtrim($url["path"],"/")."/");
     		}
    -		else return(COOKIE_PATH);
    +		else return(ADMIN_COOKIE_PATH);
     	}
    
     //
  2. jlheidecker
    Member
    Posted 4 years ago #

    Did you get it to work? i'm on 2.8.4 and am getting the same errors.

  3. Ingenius Dastard
    Member
    Posted 4 years ago #

    Yeah, forget this plugin. This is the 2nd time I tried to use it (once a couple months back) but no improvement. It should be deleted.

Topic Closed

This topic has been closed to new replies.

About this Topic