Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: DT Register and RSForm SSL

DT Register and RSForm SSL 14 years 4 months ago #8983

  • tofaute
  • tofaute's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Hi,
i allready read the sticky Post "setting up with ssl". the dtregister plugin is installed and works fine. But in addition i have rsform with payment details. It should also use port443. When i enable the dtregister plugin it works for dtregister, but forces the rsform to http. I tried to convert the Virtumart code from the sticky port to rsform. Disabling the ssl plugin when doing so, it results in the error, "..your site contain secure and unsecure content..." when calling the dtregister component. rsform is than fine. Where am i wrong.


<?php

// toggle in and out of SSL
// check the URL for modules that need SSL

if ((strpos($_SERVER["REQUEST_URI"], "com_rsform") > 0) || (strpos($_SERVER["REQUEST_URI"], "com_dtregister") > 0)

|| (strpos($_SERVER["REQUEST_URI"], "com_dtdonate") > 0 )|| $_REQUEST=='com_dtdonate' ||

$_REQUEST=='com_dtregister' || $_REQUEST=='com_rsform')
{
// only rewrite the URL once, if you are not in https: mode
if ($_SERVER == 80)
{
if($_SERVER=='POST'){
}else{
header( 'Location: [url=https://']https://'[/url] . $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]);
}
}
}
// check to see if https: is not required
if ((strpos($_SERVER["REQUEST_URI"], "com_rsform") === false) && (strpos($_SERVER["REQUEST_URI"], "com_dtregister")

=== false) && (strpos($_SERVER["REQUEST_URI"], "com_dtdonate") === false) && $_REQUEST!='com_dtdonate' &&

$_REQUEST!='com_dtregister' && $_REQUEST!='com_rsform')
{
// only rewrite the URL once, if you are already in https: mode
if ($_SERVER == 443)
{
if($_SERVER=='POST'){
}else{
header( 'Location: [url=http://']http://'[/url] . $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]);
}
}
}
?>


Regards Jan

Please Log in or Create an account to join the conversation.

DT Register and RSForm SSL 14 years 4 months ago #8984

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
Hello. I see your license expired a number of months ago, so you must not be using the latest DT Register. Also, technically, you are not eligible for support without an active license. Please purchase a new license, then update DT Register (component, module, plugins) to the latest builds.

You are on the right track in disabling the plugin then using the code added to your template. The secure/insecure warning is an IE only irritation, but wouldn't be coming from DT Register... unless you have a much older version in place maybe.

When this is all done, if you can't get it sorted, submit a ticket. Thanks.

Please Log in or Create an account to join the conversation.

DT Register and RSForm SSL 14 years 4 months ago #8988

  • tofaute
  • tofaute's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
ok,
you are right. Got a license for a client some month ago. Project stuck a while but now we proceed to go live. Got a new license today. No Problem. Good Dev work is worth spending twice..

During bug hunt, i recognice (http watch firefox) that the google maps thing is calling with http instead of https. I can imagine, that may cause the error.
Can you provide a suitable solution?

Even in Firefox, the certificate is incorrect. But only in the list page. When calling "register now" everything is fine.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.154 seconds