PDA

View Full Version : Problems Moving EE to New Server


Macksphotography
30th of December 2004 (Thu), 09:49
I have run and installed the latest version of EE on the new server and that works great however when I try and restore the saved DB file from the old server I experience all sorts of problems.

I am unable to change FTP server settings and I don't get the passive tick box, the EE home FTP server selections can be filled in but when saved they disappear. I know the settings are correct as with a clean DB i can upload,resize etc etc its just when I restore a dump made through EE that this error occurs.

I have read the instructions here http://photography-on-the.net/forum/showthread.php?t=41046&highlight=moving+server and have a question about step7 is says : '7. upload images and change editor and ftp paths respectively - easiest is to keep same folder structure so you'd have to change only server name in editors.'

uploading images does this mean all 772 images on the old server need to be uploaded via UPLOAD TO DATABASE utility in EE or just put the images in the folders as before ??

Sorry these probably seem dumb ass questions but I have tried, tried and failed with the restoration of the existing DB .

Thanks in advance running out of time before I have to renew my old hosting contract and need this new DB up before cancelling

Pekka
30th of December 2004 (Thu), 11:25
I am unable to change FTP server settings and I don't get the passive tick box, the EE home FTP server selections can be filled in but when saved they disappear. I know the settings are correct as with a clean DB i can upload,resize etc etc its just when I restore a dump made through EE that this error occurs.

It may be that the new server has PHP 5 with ini setting

register_long_arrays = Off

which means EE 1.5 RC4 can not send form data. The fix is to change that to

register_long_arrays = On

in php.ini, which will make PHP compatible with PHP 4 form methods. For a complete fix, see http://photography-on-the.net/forum/showthread.php?t=51734

I try to put out PHP compatible EE as soon as possible. If you can't edit your php.ini or your server admin refuses to change it (which I doubt) PM me.

have a question about step7 is says : '7. upload images and change editor and ftp paths respectively - easiest is to keep same folder structure so you'd have to change only server name in editors.'

uploading images does this mean all 772 images on the old server need to be uploaded via UPLOAD TO DATABASE utility in EE or just put the images in the folders as before ??

Just use normal ftp to put the images (image folders) on new server. Then see that paths point to correct folders (if you have same folder structure on old and new then all you need to change is domain name and perhaps ftp paths). No need to use EE's upload tool again.

Macksphotography
30th of December 2004 (Thu), 16:22
Thanks Pekka I will try this out and let you know

Macksphotography
30th of December 2004 (Thu), 21:59
Thanks for your help in restoring my back-up DB to the new server everything seems to be working. I am waiting for the hosting service to reply to my queries regarding server speed I will keep you posted.

Thanks again for the hard work