Hi,
I am using a secure form and I am getting the non-secure items error. I have tried to follow the only post I could find to fix this error message but it hasn't worked for me.
How can I get rid of this message?
Thanks,
Stan
Partially Solved.
As far as mixing ssl and non-ssl forms I used this code in the head between the PHP tags:
if ( ($option == 'com_chronocontact' )
&&($_GET['chronoformname'] == 'myformnamehere' )
&& ( strpos("x".$mosConfig_live_site,"http://" ) )
&& ( $_SERVER["SERVER_PORT"] != "443" ) ) {
$mosConfig_live_site2 = str_replace("http://", "https://",
$mosConfig_live_site);
mosRedirect($mosConfig_live_site2.'/index.php' .'?'.$_SERVER['QUERY_STRING']);
} elseif ( ( $option != 'com_chronocontact' )
&& ( $_SERVER["SERVER_PORT"] == "443" ) ) {
$mosConfig_live_site2 = str_replace("https://", "http://",
$mosConfig_live_site);
mosRedirect($mosConfig_live_site2.'/index.php' .'?'.$_SERVER['QUERY_STRING']);
}
IE 6 and 7 still has secure and non-secure issues. Firefox of course doesn't.
Stan
OK I finally got it.
I have flash and in the code there is this line:
codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
but it normally doesn't have the "s" in the http. I added that and it looks like we are good.
Stan
Hi stanhook,
Glad you fixed it, I'm late here, but thanks also for posting the full steps!🙂
Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.