Forums

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

  1. redgecko
    Member
    Posted 6 months 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 1 month ago #

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

Reply

You must log in to post.

About this Topic