Posts: 3
Threads: 2
Joined: Feb 2010
Reputation:
0
Is it possible to migrate an installation from one domain or server to another? Thanks.
Posts: 2,456
Threads: 39
Joined: Dec 2008
Reputation:
6
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