The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (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.27 (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.27 (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.27 (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.27 (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.27 (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.27 (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.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
migrate installation - 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: migrate installation (/showthread.php?tid=556)



migrate installation - brunbrun - Mar 7th, 2010

Is it possible to migrate an installation from one domain or server to another? Thanks.


RE: migrate installation - Ben - Mar 7th, 2010

Hi brunbrun,

Sure - but it's not especially pretty.

Here's what you'll need to do (I should pad this out and make this into a tutorial...!)

1. Copy all files from your Form Tools folder over to your new server.
2. Update your /global/config.php file on the new server to store the new MySQL database values, $g_root_url and $g_root_dir values,
3. Export your Form Tools database tables over (phpMyAdmin is handy for this) to a database on the new server.
4. Again, via a tool like phpMyAdmin, edit the ft_settings table (the ft_ prefix may be different for your installation) and browse the contents of that table for URLs linking to the old server. Update each one to link to the new site.

At that point, if all went well you'll be able to log in on your new server's Form Tools installation. Speaking from experience, at that point you'll probably want to edit the logout URLs for the admin and client accounts. They may still link to the old server.

- Ben


RE: migrate installation - brunbrun - Mar 7th, 2010

Thanks! That worked. I was in such a hurry I was trying every shortcut I could think of instead of going back to the basics. Thanks for this. (I'll be sure to donate.)

(Mar 7th, 2010, 7:35 PM)Ben Wrote: Hi brunbrun,

Sure - but it's not especially pretty.

Here's what you'll need to do (I should pad this out and make this into a tutorial...!)

1. Copy all files from your Form Tools folder over to your new server.
2. Update your /global/config.php file on the new server to store the new MySQL database values, $g_root_url and $g_root_dir values,
3. Export your Form Tools database tables over (phpMyAdmin is handy for this) to a database on the new server.
4. Again, via a tool like phpMyAdmin, edit the ft_settings table (the ft_ prefix may be different for your installation) and browse the contents of that table for URLs linking to the old server. Update each one to link to the new site.

At that point, if all went well you'll be able to log in on your new server's Form Tools installation. Speaking from experience, at that point you'll probably want to edit the logout URLs for the admin and client accounts. They may still link to the old server.

- Ben