Forums

Secure and Non-Secure Items (SOLVED)

stanhook 26 Nov, 2008
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
stanhook 26 Nov, 2008
Found out the problem.

I had one link in my template page hard coded to http://www..... I changed it to <?php echo $this->baseurl ?> and my issue was solved.

Stan
stanhook 26 Nov, 2008
I thought is was fixed but IE6 and 7 are giving me issues. No matter what I do IE still tries to pull one of my forms using https eventhough I have it turned off in the menu and I use a absolute path of http://www...

Now what??

Stan
stanhook 26 Nov, 2008
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
stanhook 26 Nov, 2008
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
Max_admin 26 Nov, 2008
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.
This topic is locked and no more replies can be posted.