The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
FormTools URL change - 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: FormTools URL change (/showthread.php?tid=857) |
FormTools URL change - haydenbrown - Sep 22nd, 2010 Hi, I have been using FormTools for a couple of years on one of my clients websites, I access FormTools by going to the URL: http://www.clientname.co.uk/FormTools my client now wants to change the access to: http://www.clientname.com/FormTools Both the .co.uk and .com URLs actually point to the same directory but when i go to: http://www.clientname.com/FormTools and login I am directed back to: http://www.clientname.co.uk/FormTools (in fact back to the login page where i need to click login again). Do I need to re-install FormTools to get the new URL to work or is there something that I need to change in the settings? Thanks for any help Hayden RE: FormTools URL change - Ben - Sep 25th, 2010 Hi Hayden, This is one of those nagging things which always bugs me about Form Tools - but I haven't found a decent way to solve it yet. Whenever you move servers or change the domain name, you'll need to update a number of different places: - /global/config.php -> make sure the $g_root_dir and $g_root_url values have the new URL / folder path. - ALL Logout URLs settings for the accounts need to be updated. These are found on each of the Edit Client pages, and on the "Your Account" page. - File upload paths will also need to be updated, if you have any forms. For this one, personally, I go into phpMyAdmin and do a search for the old location. If you have a lot of overridden file upload folders, it can be a real pain tracking them down manually via the UI, so I just do a big search & replace. - You may want to delete the contents of your /themes/[theme]/cache folder (leaving only emptyfile.txt). Once or twice I've found that Smarty caches the old version of the template files which may or may not cause an invalid redirect. I think that's it... let me know if you still have trouble! Ben |