duplicate server port in form (bug)

htavares 01 Mar, 2014
I have installed and set up a form in a test environment that uses the :8888 port, but when I submit it the form tries to submit to mysite:8888:8888

As you can see, the port is duplicated in error.

I noticed that in the validation message in the administration the same happens: "Your ChronoForms installation on mysite:8888:8888 is NOT validated."
htavares 01 Mar, 2014
I found a quick fix on the core:

I edited the /libraries/cegcore/libs/url.php
on line 34, I commented the case where the port is not :80:

if ($_SERVER['SERVER_PORT'] != '80'){
			//$dURL .= ':'.$_SERVER['SERVER_PORT'];
		}


This is temporary, I suppose you may get this sorted in the next version?
This topic is locked and no more replies can be posted.