The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
Moving from http to https (SSL) - 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: Moving from http to https (SSL) (/showthread.php?tid=4796) |
Moving from http to https (SSL) - LetsFly - Nov 20th, 2014 Hello, For the most part, everything just worked after switching over to SSL. However, I get an error when I try to download files due to the original configuration of the site url was http://mydomain.com. I went into the config file (/formtools/global/config.php) and edited this line to add https://www...: // main program paths - no trailing slashes! $g_root_url = "https://www.mydomain.com"; The problem is, in my automatic emails, the URL to my uploaded files still has the format http://mydomain.com. I'm using: <a href="{$FILEURL_datafile}">{$FILENAME_datafile}</a> What do I need to edit in order to have my site use https://www.mydomain.com? Thanks in advance for the help, LetsFly RE: Moving from http to https (SSL) - Joe - Dec 9th, 2014 Hi there, You'll need to update the URL for the file upload under Admin > Settings > Files Cheers, Joe |