Form Tools
Server Migration - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: Installation (https://forums.formtools.org/forumdisplay.php?fid=4)
+--- Thread: Server Migration (/showthread.php?tid=748)



Server Migration - therelaxer - Jun 18th, 2010

Hello,

We are using the latest version of Form Tools, and would like to migrate the install to another server with a different hostname. What is the best way to do this? I changed the root url in the /global/config.php to match the new hostname, but it didnt work. I kept getting redirect errors. I then went and looked at the database (which I also moved), it seems that the settings are stored in there as well. If I change the base url in the database, will it work well enough so I can go to the settings page and change the rest of the information?

Thanks.


RE: Server Migration - Ben - Jun 18th, 2010

Hi therelaxer,

Hmmm... I'd have thought changing the URL and folder in the config.php would have been sufficient, since that's what's used to log in. Odd!

Since it didn't work, I'd just try changing all URLs you spot in the settings table of the database, and using trial and error to test logging in.

Does the login page show up properly at least?

- Ben


RE: Server Migration - therelaxer - Jun 21st, 2010

(Jun 18th, 2010, 7:17 PM)Ben Wrote: Does the login page show up properly at least?

- Ben

Actually, no. All I get is a redirect error "Firefox has detected that the server is redirecting the request for this address in a way that will never complete." and IE will just sit there trying to load the page forever. Maybe when I copied the /formtools directory from the other server I corrupted it somehow?

I am going to check to make sure that the user account for the database is fine on the new server... If that does not work, then I will try moving everything over again today.

Thanks


RE: Server Migration - Ben - Jun 22nd, 2010

Cool, okay. Good luck with it & let me know if you still have trouble.

- Ben