Friday, 19 March 2010
Home | Gunther | mamgoo | Search & Rescue
Upgrading Gunther

Upgrading Gunther

Upgrading from version 0.1


Relocating page data

In this early version of Gunther, the user specified where page data would be stored by editing the file config.php and setting the PHP variable $base_page_dir. The page data stored in this location needs to be moved into the now fixed Gunther directory structure. If GUNTHER_HOME is the directory in which Gunther is installed (the directory in which view.php lies), then the old page data should be moved into the directory: GUNTHER_HOME/data/pages.

You should ensure that GUNTHER_HOME/data and GUNTHER_HOME/pages and all the page data files are readable and writable by the webserver (chmod 777 for directories and chmod 666 for files).

Relocating uploads

Most version 0.1 installations will be storing uploads in GUNTHER_HOME/uploads. In later versions of Gunther, uploads for pages are stored in GUNTHER_HOME/uploads/pages/ and uploads for templates are stored in GUNTHER_HOME/uploads/templates/. You therefore need to rename your old uploads directory to 'pages', create a new directory called 'uploads' next to it (in GUNTHER_HOME) and move the directory pages into the directory uploads.

As usual, you should ensure that both directories (uploads and uploads/pages are writable and readable by everyone).
  Last modified: Sat, 5 June 2004 (08:51:14 PM)