Hi Graham, you could probably encapsulate your database-calls with <dtml-try> ... <dtml-except> <dtml-return maintenance_page> </dtml-try> HTH Tino Wildenhain Graham Chiu wrote:
Hi Tino,
Best way is to mirror your database before doing any changes on the tables. Then you can switch your zope with a session to the copy of the database. join session, change all database-connections (or only the one you are using) and commit the session. Nobody will notice anything during this.
HTH Tino Wildenhain
I am thinking of upgrading the server software which would mean shutting Interbase down for a couple of hours. Just wish Zope had a way to redirect within the standard error message.
Eg. if 404 error - redirect to maintenance page.
But I don't think that works.
--- Graham Chiu http://www.compkarori.co.nz/x.php?/Shopping http://www.compkarori.com/dynamo -- The HomeBuilt Dynamo http://www.compkarori.com/dbase -- The dBase Bulletin
______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 In article <38E8E6B0.D44B8DE@wildenhain.de>, Tino Wildenhain <tino@wildenhain.de> writes
Hi Graham,
you could probably encapsulate your database-calls with <dtml-try> ... <dtml-except> <dtml-return maintenance_page> </dtml-try>
Hi Tino, I did try this initially but couldn't get it to work. Dunno if it's because I was doing this within the standard_html_header.. - ------- Regards, Graham Chiu gchiu<at>compkarori.co.nz http://www.compkarori.com/dynamo - The Homebuilt Dynamo http://www.compkarori.com/dbase - The dBase bulletin -----BEGIN PGP SIGNATURE----- Version: PGPsdk version 1.7.1 iQA/AwUBOOiyPrTRdIWzaLpMEQKdCACgha3oGAZpCmmfWJuAhjEZJWKLT4gAoJtf W0sAYlfIlhEUS+RxyfwN+mYU =7Xgx -----END PGP SIGNATURE-----
participants (2)
-
Graham Chiu -
Tino Wildenhain