Forums

SSL form

glennt 23 Sep, 2008
Hi,
I have installed an ssl cert on my site.
Standard .html file working in SSL.
I set some menu items in my Joomla 1.5 - to ssl - they work.

I set my Chrono Form menu to ssl. It keeps reverting to standard http://www. and not https://www.

I am using sh404SEF. I have set it to https as well.
I turned the SEF Off and flushed my cashe and it still goes to http://www and not staying on Https://www.

Any Ideas?

Joomla 1.5 latest and Stable Chroon form Ver 3

Thansk Glenn
glennt 23 Sep, 2008
Hi,
I did this:

<?php
if ( ($option == 'com_chronocontact' )
&&($_GET['chronoformname'] == 'myform' )
&& ( 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']);
}
?>

Replaced myform with my form name- put it in my <head>.

I created external links on my site with https - and it works. The component link to the form does not work in https - it says form does not exist.

Good work around.

Thansk Glenn
Max_admin 23 Sep, 2008
Hi Glenn,

So, I can't understand, did you fix it or not yet ? and if not whats the problem at the moment ?

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.