Forums / Cotonti / Bugs / Archive / Fix: DB table name change gives errors

GHengeveld
#6255 2009-02-02 19:01
Something I did with my local installation is replace every instance of 'sed' with 'cot', including all functions, database table names and comments/copyright. I've tested a bit and it seems to work just fine. Here's what I did:

- Make a backup of your Cotonti files
- In Dreamweaver, setup a 'website' with your cotonti directory as base dir
- Without opening any file, hit CTRL-F to open the search dialog (you may have to select a file in the File dialog, just dont open it)
- Select 'Entire Current Local Site' in the 'Find in' dropdown menu

- Find: sed_
- Replace: cot_
- Options: Match case ON, the rest OFF
- Replace all (will take a while as it modifies all your Cotonti files)

- Find: _sed
- Replace all: _cot

- Find: SED_
- Replace all: COT_

- Find: _SED
- Replace all: _COT

- Find: Seditio
- Replace all: Cotonti

- Find: Copyright Neocrome
- Replace all: Copyright Cotonti Team

- Find: http://www.neocrome.net
- Replace all: http://www.cotonti.com