PDA

View Full Version : Migrating to new web server


thuree
16th of June 2004 (Wed), 09:58
Hej

I have 1.3 installed on an old webserver, and am planning to deploy a new web server with 1.5 installed upon it.

What I wanted to do is to do a fresh installment of 1.5 on the new server and copy the pictures across, as well as load the dump from the old system.
To faciliate this I upgraded the old system to 1.5 (which worked fine) and dumped the sql database to disk.
Then I moved this dump accross.

The import worked great, but as soon as it was finished I got these error messages...


Notice: Undefined index: ee_featuredlist in /var/www/bt/EE_RC4/fetchsettings.php on line 180

Notice: Undefined index: ee_commentedlist in /var/www/bt/EE_RC4/fetchsettings.php on line 182

Notice: Undefined index: ee_ratedlist in /var/www/bt/EE_RC4/fetchsettings.php on line 184

Notice: Undefined index: ee_mogrify_path in /var/www/bt/EE_RC4/fetchsettings.php on line 188

Do any one have a clue what I did wrong.
Or is it simply to late here, and I did something stupid...

Thanks in advance

/Bengt

p.s.
I am also manually deleting all pictures with to low counter value, and am hoping that 1.5 will figure out that the pictures are gone and make the necessary adjustments to the database :) I think this should work anyway.

Pekka
19th of June 2004 (Sat), 16:17
Looks like all the files were not really replaced.

thuree
19th of June 2004 (Sat), 19:38
Hmmm

We are talking two completly different servers here. :)

One which I upgraded to EE5 which worked fine.

Another one which I did a clean installation, which also worked fine.
But when I imported the database to this new server, this is when the problem occurred.

For the moment, I am considering scatching the old data (which would be a bit of a pity though)

/Bengt

Pekka
20th of June 2004 (Sun), 04:37
Hmmm

We are talking two completly different servers here. :)

One which I upgraded to EE5 which worked fine.

Another one which I did a clean installation, which also worked fine.
But when I imported the database to this new server, this is when the problem occurred.

For the moment, I am considering scatching the old data (which would be a bit of a pity though)

/Bengt

You did not restore an older database to newer EE, did you?

Ok, possibility one:
The new server must have in php.ini error level "all" which should not be there in production server. That is why it shows notices from PHP (which are basically information that e.g. a certain variable or array does not exist). I have most of the notices suppressed in code, but some may have remained.

Add

error_reporting(0);

in the beginning of fetchsettings.php (into first empty line).


Possibility two:

Go to misc settings editor and save: do you get any error messages? Check also that you can save setting "Path to Imagemagick's 'convert' program is" in "graphics modules" editor. If you can't or you get some error messages and the settings you change do not stay put then the problem is in settings table in database and call me back.

thuree
20th of June 2004 (Sun), 06:26
Hej Pekka,
Thanks for a prompt reply.

Well, since I anyway decided to cleanout a number of old photos, as well as have a better strategy as far as photo directories goes I started from scratch.

Now the main problem I have is the fact I can not move pictures between two exhibitions, but this is in another thread.

/bengt