SSL causes failure
-
If either “SSL_LOGIN” or “SSL_ADMIN” are defined true in wp_config then the votes of logged in users are not saved into the database and the display of hearts remains sensitive.
//define(‘FORCE_SSL_ADMIN’, true);
define(‘FORCE_SSL_LOGIN’, true);What happens is that $_COOKIE shows empty when spr_rate is entered. $current_user is also null.
I’ve been debugging this for several days, but I know nothing about the browser stuff. I used firebug to see the cookies in the browser but these never make it to the $_COOKIE array.
If I comment out both “SSL” defines in wp_conig then the plugin works. I now have “define(‘FORCE_SSL_LOGIN’, true); in wp_config.
PLease login to occupytacoma.org as “demo” with password “demo” and rate an “Article” (Articles are displayed as opposed to “posts” on the front page). There seems to be something amiss in the browser code that causes the cookies to not be presented by the AJAX request.
It seems to me that I had this problem a year ago and I was able to get around it by setting LOGIN and not setting ADMIN. But now either one seems to break the plugin.
- The topic ‘SSL causes failure’ is closed to new replies.