PriMoThemes — now s2Member® (official notice)
This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™
<?php
if(isset($_GET["s2-ssl"]))
$_SERVER["HTTPS"] = "on";
<?php
if(isset($_GET["s2-ssl"]))
$_SERVER["HTTPS"] = "on";
I understand. But nothing prevents your /wp-config.php file from setting the proper environment variable when it detects ?s2-ssl in the URL. That's why this works. This is what Network Solutions *should* be doing, but they aren't, so we just have to force WordPress to do it instead of relying on the server to handle it automatically.I don’t think you understood my SSL problem. I can’t use the “force SSL” option because the customers hosting company is Network Solutions.
<?php
if(isset($_GET["s2-ssl"]))
$_SERVER["HTTPS"] = "on";
<?php
add_action('ws_plugin__s2member_config_hooks_loaded', 'https_plugin_dir_url');
function https_plugin_dir_url() {
if (isset($_GET['s2-ssl']))
$GLOBALS['WS_PLUGIN__']['s2member']['c']['dir_url'] = strtr($GLOBALS['WS_PLUGIN__']['s2member']['c']['dir_url'], array('http:' => 'https:'));
}
?>
<?php
if(isset($_GET["s2-ssl"]))
$_SERVER["HTTPS"] = "on";
vonralls wrote:I have added the above code to my wp-config file, and I have added the s2member_force_ssl custom field set to yes on the page. I still get the redirection issue. In Safari, I can watch it go back and forth between http: and https: until it dies with the redirect error.
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
vonralls wrote:I will try to make a list. http://www.sms-midsouth.org
Click "membership" then click "Register Now" under one of the packages to see the problem.
Ah, thanks for reporting this. I'll add this plugin to our list here: viewtopic.php?f=36&t=6309vonralls wrote:I believe the problem is the Espresso Event plugin. There is an SSL switch in that plugin, and when it is turned off, SSL works for the rest of the site. When it's on, it breaks SSL for the rest of the site.
No, I'm sorry. There has been no communication on this issue that I'm aware of.dvpro wrote:This is still a problem with Event Espresso 3.1. Has anyone at EE responded?
Users browsing this forum: Bing [Bot] and 1 guest