The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
forms and ssl question - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5) +--- Thread: forms and ssl question (/showthread.php?tid=2007) |
forms and ssl question - monkuboy - May 9th, 2012 Hi, I'm new here and forgive me (1) if this has been answered elsewhere; I did a search and found some information but not enough, and (2) I am relatively new at this so I am not very technical. I would like to enable visitors to my site to send a form via a secured connection. I have an SSL certificate from GeoTrust that covers the domain and the www. subdomain. I verified that it is working. I have Form Tools V 2.0.5 that is installed in a subdomain (formtools.mysite.com). It is offered by my web host and was automatically installed by them into the subdomain. The installation was successful. I am able to process forms and that works fine when NOT using a secure mode. I tried setting up a new form when in secure mode (I put the code that my web host said to use in an .htaccess file in the root directory of my site). When I went through the Form Tools set up and entered the URL's for the form page and thank you page, it displayed correctly (it showed https in the URL bar) and so I accepted them. Then Form Tools instructed me to fill out the form completely and submit it. When I did that, I received an error message saying nothing had been received. When I removed the .htaccess file and thus changed back to a non-secure transmission, I was able to set up the form with no problem. So it seems that the secure setting is preventing the form from being received for processing by Form Tools. I did some help searching and found something that said I need to add this setting in the global PHP config file: $g_db_ssl = true which I tried to do but it doesn't allow me to make changes to the file. Also, in another thread in this forum it was also said to specify that the $g_root_url line in the config file contains "https" protocol instead of "http" but again, I am unable to edit the file as I get an error message saying it is read only, or else I don't have access. I do not believe that the Form Tools subdomain is covered under the SSL certificate, however. When I enter the Form Tools login page address using https, I get an error message (in Firefox) saying they can't verify that this is a secure connection and warning me against proceeding. Also, I set up the forms using the direct/simple method and not the API method. After reading the differences, I don't think I need the benefits of API plus I don't know PHP. The form in a non-secure mode worked just fine using the simple method. Anyway, I tried to present all the details of this situation so that someone might be able to point me in the right direction. How do I use the forms in a secure mode? And also, what if I want to just use certain forms submitted securely and others not? Thank you anyone who is able to help.. Sorry to be so wordy... something else I thought about - with respect to the "https" - since the subdomain where Form Tools is installed doesn't seem to be covered by the SSL certificate, would it make a difference if Form Tools was instead installed to a subfolder in the root directory of my site instead - like http://www.mysite.com/FormTools/ ? When my web host installed Form Tools (it was one of a list of applications they have for building a site), the choice was either put it into the root directory or into a subdirectory but not into a separate folder. Would I need to uninstall Form Tools and then download the installation files from the Form Tools site and install it that way? Would that then allow me to edit the config files if need be? I tried and can't change the permissions right now on the version installed by my web host. Thanks! RE: forms and ssl question - michatmaster7 - May 9th, 2012 Adding my name here, as I may have an answer, I just don't have time to type it all out right now. Suffice it to say that I use FormTools in a secure environment. Click my profile and peruse through some of my posts. If you don't find the answer you're looking for, reply to this thread so i remember to provide one for you RE: forms and ssl question - kmielcz - May 9th, 2012 For sub-domains to be secure at the same time as your main domain you need a Wildcard SSL Certificate installed instead of a standard one. So first verify which one you have then find out more here And yes it will make a difference if you put it into subfolder of your root. If you have already working ssl on this domain: http://www.mysite.com then if you install formtools like this: http://www.mysite.com/FormTools/ it all should be working fine. If it doesn't then you need to look into configuration of formtools, not the server or ssl installation. RE: forms and ssl question - monkuboy - May 9th, 2012 Well thank you both for your replies. I think I have it solved now, and didn't have to mess with any config files. I figured out how to get the Form Tools file within the main domain instead of in a subdomain, and then changed the "http" in the address for the Form Action parameter to "https" and everything seems to be working now. I hope.. |