The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
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