FORUMS


The Form Tools forums are no longer active, but the old posts have been archived here. Please see the Help page on how to get help / report issues.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
migrate installation
#1
Is it possible to migrate an installation from one domain or server to another? Thanks.
Reply
#2
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
Reply
#3
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)