chronoforms 5.0.16 and SSL

ernst@volny.cz 24 Mar, 2018
i have chronoforms 5.0.16 and joomla 3.8.6.
I switched to SSL on my site, but there was a problem.
Chronovorms calls submit as HTTP and not HTTPS.
See report from console:
Mixed Content: The page at 'https://aquion.cz/index.php/poptavkovy-formula' was loaded over a secure connection, but contains a form which targets an insecure endpoint 'http://aquion.cz/index.php/poptavkovy-formula?chronoform=poptavka&event=submit'. This endpoint should be made available over a secure connection.Therefore, the values you enter are not transferred even in the email.
Therefore captcha does not work

The demo of the form is the same.
Can you direct me in the right direction?
I did not find a solution in the forum.
GreyHead 25 Mar, 2018
HI Ernst,

Please check the Livesite setting in the site configuration file. ChronoForms does not set http/https unless you have it set in the in the form HTML (Render form) action.

Bob
ernst@volny.cz 25 Mar, 2018
I searched the forum and tried some solutions but it did not help.
The live site in configuration.php is empty and the uri.php file is correct
GreyHead 25 Mar, 2018
Hi Ernst,

You have it set somewhere on your site - please try clearing the site cache and also check the menu item you are using to load the form.

Bob
ernst@volny.cz 25 Mar, 2018
I tried it all, and other PCs and other browsers.
I can send you a backup of the form, but it also behaves in the demo forms that have been enclosed.

I can not find where and why HTTPS calls HTTP.

I'm sick of it because it does not seem to me.

Write HTTPS directly into the code?
Any hosting settings?
GreyHead 26 Mar, 2018
Hi Ernst,

I have no idea what settings you have on your site. As I said before ChronoForms does not set either http or https.

By all means PM me the site URL, the form name, and a SuperAdmin login and I'll take a quick look.

Bob
ernst@volny.cz 26 Mar, 2018

I sent, thank you
form name "poptavka" - last form
GreyHead 26 Mar, 2018
Hi Ernst,

I can't see where the change is coming from. I have fixed it by adding the correct https url to the Action URL box in the form HTML (Render form) action.

Bob
ernst@volny.cz 26 Mar, 2018
Thank you for your help. 🙂
Why is url added here http://aquion.cz/index.php?option=com_chronoforms5&chronoform=poptavka&tmpl=component&event=submit do not know?

I will try to search for it, but this solution is enough for me.

what does /administrator/components/com_chronoforms5/chronoforms/actions/curl/curl.php?
GreyHead 26 Mar, 2018
Hi Ernst,

Sorry, my mistake, You can remove the &tmpl=component from the URL - I was using it to see the form without the template.

The curl.php file enables the cURL action.

Bob
ernst@volny.cz 26 Mar, 2018
I tried in htaccess to give a rule to force SSL
[pre]RewriteEngine on
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteCond %{HTTP_USER_AGENT} !(BlackBerry)[br]RewriteCond %{HTTP_USER_AGENT} !(Windows\sNT\s5\.[12])[br]RewriteCond %{HTTP_HOST} ^(www\.)?aquion.cz[br]RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}[/pre]
[br]For the ssl not to be forced only by joomla.[br]But it also did not affect this issue.
This topic is locked and no more replies can be posted.