Upgrading from DOMA 2 to DOMA 3

Follow these instructions to upgrade your DOMA from version 2.something to version 3.

  1. Make a backup of your current installation, just in case.
    1. Copy all files and subfolders in the folder where DOMA is installed on the server, from now on called the DOMA root folder. These files include the php scripts and the map images.
    2. Create a database dump script using phpMyAdmin or a similar tool.
    If you are not sure how to do these things, you may skip this step since there is virtually no risk that anything will be broken.
  2. Copy all files in the DOMA 3.0.2 zip file to the DOMA root folder. If prompted, replace existing files. Do not rename config_original.php to config.php as stated in the installing-from-scratch instructions.
  3. In your web browser, go to http://www.yourdomain.com/yoursubfolder/_add_geocoding.php (replace www.yourdomain.com/yoursubfolder with your server's actual web address). This will add geocoding features to the existing maps in the database. Follow the instructions on the page.
  4. This step is necessary only if you want to change the default settings added in version 3. Open the config_original.php file in the DOMA root folder in a text editor. Copy all lines from // *********************************************************************************************************
    // SETTINGS ADDED IN DOMA 3.0
    // *********************************************************************************************************
    until the end of the file. Then open config.php in another text editor and paste the copied text from config_original.php to the end of the file. Make sure that there is only one php ending tag (?>) at the end of the file after you have pasted the text. Save the config.php file in utf-8 encoding. If you edit the file on your local computer, remember to copy it to the server.

The upgrade is now finished!