SSL BUG

leeburstroghm 22 Sep, 2009
well, What is going on.
I have a form that is called with https:
the page has a chronoform and it loads all sorts of stuff non securly

  <link rel="stylesheet" href="http://wealthyira.com/components/com_chronocontact/css/calendar2.css" type="text/css" />
            <link href="http://wealthyira.com/components/com_chronocontact/css/tooltip.css" rel="stylesheet" type="text/css" />
            <script type="text/javascript" src="http://wealthyira.com/components/com_chronocontact/js/calendar2.js"></script>
            <script src="http://wealthyira.com/components/com_chronocontact/js/livevalidation_standalone.js" type="text/javascript"></script>
            <link href="http://wealthyira.com/components/com_chronocontact/css/consolidated_common.css" rel="stylesheet" type="text/css" />
			<script src="http://wealthyira.com/components/com_chronocontact/js/customclasses.js" type="text/javascript"></script>


As well as the form action is http and not https. I hardcoded the form action as https.

how do we get all the from css and other assets https. this page also has a few errors js errors that seem to be chrono forms related errors!! in ie7 Firefox does not seem to puke on it

https://wealthyira.com/buy9617
https://wealthyira.com/privacy-policy has no errors and no chronoforms!!

please help!!!
leeburstroghm 22 Sep, 2009
If I turn validation off then the errors go away. but the unsecure items are all popping up.

Please help!
leeburstroghm 22 Sep, 2009
Ok, all the errors go away if the page is loaded without ssl
this is wierd
leeburstroghm 22 Sep, 2009
Well. wtf..

I ended up trying Force site to ssl

it did not work.

I changed my live site setting in the configuration.php to https://domain.com and now everything is ssl but it works..

then it messes up other areas of the site.
freaking what ever man!
nml375 23 Sep, 2009
Hi,
The cause for this is the very same source as in your other thread regarding the action URI. Unfortunately, I'm still not sure what is going on here - other than JURI::Base() seems to return the incorrect protocol specifier.

One thought though...
Could you check your configuration.php file for any 'live_site' directives, and if found post it's value?

Furthermore, could you create some temporary debugging data in your form (or some other form), something like below in the form code should do the trick:
<?
 echo '_SERVER: <pre>';
 print_r($_SERVER);
 echo '</pre><br>';
 $config =& JFactory::getConfig();
 echo 'live_site: ' . $config->getValue('config.live_site');
?>

Then post the output of that?

/Fredrik
leeburstroghm 23 Sep, 2009
I did say that in my configuration.php the livesite directive is http://wealthyira.com

there is no output, the onsubmit is not working.

There is a whole slew of problems it would appear.

this is a functional form. the contact form and it had no problems.
the onsubmit is not running..

I am getting very very frustrated.

the run order is 3 2 1. The other form which has the authorize.net plugin running, gives my a "your not authorized to access this url" so I dont know what to do now.
nml375 23 Sep, 2009
Sorry, must have overlooked that.
Unfortunately, the live_site directive is what is causing you all this problem, as it overrides the behaviour of JURI::Base() and the likes. Does your site really require that setting, as most J!1.5 installations actually perform better without it?

The code I linked was to be added to the form code, not on submit code.

/Fredrik
leeburstroghm 23 Sep, 2009
This was setup with the installation.

um I was not aware of that. could it be that if I take it out, and leav blank that everything will work. that would be FREAKING AWESOME

WHAHOOO No errors, live site, what the hell. I did not put it there. the install did. so there we go!
joomla does not need it. ? i'll be darned😀 🤣

ITS FIXED. holy crappers!

THANKS THANKS THANKS!
You ROCK!
This topic is locked and no more replies can be posted.