There is a new full manual available for Chronoforms6 in the downloads page, follow us on twitter for the latest news and updates: https://twitter.com/chronoengine

https lost in form action

contact@informatiqueprog.net , September 13 at 16:44
Answered
c
contact@informatiqueprog.net

Hy,

I have installed on a fresh install Joomla 3.7.5, the chronoforms 6.0.9

I have installed the "Basic contact form", save, create, the menu entry.
When i call the page "https://www.domain.fr/rendez-vous"
All seems good, but if you check the HTML's code of the form tag, URL action is HTTP

				<form action="http://www.domain.fr/rendez-vous?chronoform=Contact&amp;event=submit" method="post" name="display-section1" id="display-section1" data-id="display-section1" class="ui form G2-form" data-valloc="inline" enctype="multipart/form-data" data-dtask="send/self" data-result="replace/self" data-subanimation="1">


Thanks

c
contact@informatiqueprog.net

any ideas to resolve this ?

c
contact@informatiqueprog.net

I finally found why, I'm behind a HTTPS proxy.

To resolve this, you need to change on

cegcore2\libs\url.php

line 32
REPLACE
				if((!empty($_SERVER['HTTPS']) AND $_SERVER['HTTPS'] !== 'off') OR $_SERVER['SERVER_PORT'] == 443){
				

BY
				if((!empty($_SERVER['HTTPS']) AND $_SERVER['HTTPS'] !== 'off')
         OR $_SERVER['SERVER_PORT'] == 443
         OR (!empty($_SERVER['HTTP_X_FORWARDED_PROTO']) AND $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https')
         OR (!empty($_SERVER['HTTP_X_FORWARDED_SSL']) AND $_SERVER['HTTP_X_FORWARDED_SSL'] == 'on')){

Powered by ChronoForums - ChronoEngine.com

ChronoForms Book

The ChronoForms Book, written for ChronoForms v3 contains 350 pages of invaluable ChronoForms How-tos hints and tips.

Note: many of the ideas can be used in ChronoForms v4 but the admin interface is very different and code examples may need to be modified.

Members Login

 

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for
goods and services provided by ChronoEngine.com