Zen Cart Logo
Forums / Installing on a Windows Server / Upgrading your dB on Windows Servers - Important

Upgrading your dB on Windows Servers - Important

Locked

Views: 3,211

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
4 Sep 2006, 1:30 PM
#1
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Upgrading your dB on Windows Servers - Important

I recommend that if you are upgrading your database on a windows server you ensure that your config files (admin/includes/configure.php and includes/configure.php) are set to READ-ONLY (as they should be inb normal use anyway).

You can safely ignore the warning message that comes up during the upgrade/install process. The upgrade process doesn't require access to these files. But if you give it you risk your config settings being lost.

This is a PHP v windows problem.

4 Sep 2006, 1:56 PM
#3
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Upgrading your dB on Windows Servers - Important

What an honest chap :yes:

4 Sep 2006, 2:03 PM
#5
patski avatar

patski

Zen Follower

Join Date:
Nov 2004
Location:
Deal, Kent, UK
Posts:
325
Plugin Contributions:
0

Re: Upgrading your dB on Windows Servers - Important

kuroi - for information I'm pretty sure mine were set to read-only and still got wiped...

4 Sep 2006, 2:12 PM
#6
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Upgrading your dB on Windows Servers - Important

patski:

kuroi - for information I'm pretty sure mine were set to read-only and still got wiped...I've not seen that. I've upgraded two windows dBs this morning with configs set to read-only without problem (plus one controlled test case with them readable - ouch). If there are circumstances where even read-only files can be wiped out, that makes it even more critical that people download or apply Dr Byte's fix.

4 Sep 2006, 2:30 PM
#7
patski avatar

patski

Zen Follower

Join Date:
Nov 2004
Location:
Deal, Kent, UK
Posts:
325
Plugin Contributions:
0

Re: Upgrading your dB on Windows Servers - Important

Kuroi - based on what you say then willing to accept they might not have been read only :shocking: - this is the first time I've tried a Windows installation. Funny though that if they weren't then the error message saying they were writeable didn't appear?

Is that normal?

4 Sep 2006, 2:34 PM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Upgrading your dB on Windows Servers - Important

Patski,
There was a bug in the code.

Grab the updated ZIP, and all will be fine...

4 Sep 2006, 2:41 PM
#9
patski avatar

patski

Zen Follower

Join Date:
Nov 2004
Location:
Deal, Kent, UK
Posts:
325
Plugin Contributions:
0

Re: Upgrading your dB on Windows Servers - Important

Hi Dr B I've done that - sorry I seem to be posting in two threads now. I applied the fix you mentioned and did a fresh reinstall and all okay except for telling me I need a db upgrade - version details supplied there. Does the new zip contain anything else?

And can you confirm whether a Windows installation will tell you if the config files aren't read-only? I've just tested and there is no message even with them not read-only. This may have been the case in 1.3.02 as well.

4 Sep 2006, 7:26 PM
#10
patski avatar

patski

Zen Follower

Join Date:
Nov 2004
Location:
Deal, Kent, UK
Posts:
325
Plugin Contributions:
0

Re: Upgrading your dB on Windows Servers - Important

patski:

And can you confirm whether a Windows installation will tell you if the config files aren't read-only? I've just tested and there is no message even with them not read-only. This may have been the case in 1.3.02 as well.

Dr B I know it's been a busy day - just in case you missed this...

By the way the upgrade on a Linux server naturally caused no problems at all!

4 Sep 2006, 7:29 PM
#11
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Upgrading your dB on Windows Servers - Important

Thanks much for the update ... always helpful to know ... :smile: