This is a SAMPLE (for 1.6), and it is accurate for recent releases ).
9 simple steps to upgrade PhpWebGallery.
Download the most recent PhpWebGallery release here
Note : Don’t download RC (Release Candidate), except for testing.
With your FTP client, save if they exist (some are optional):
Didn’t Wiki write ( except ./galleries/ )?
In all cases:
Warning Don’t forget ./include/mysql.inc.php (one empty is distributed, if you leave an empty file you are going to install and not upgrading).
e.g. : http://votredomaine/phpwebgallery/upgrade.php.
You will obtain:
If you have something different, ask the forum!!!
Add the Upgrade mode line :
Your file will look as this:
<?php $cfgBase = 'DBase'; $cfgUser = 'BD User'; $cfgPassword = 'DB password'; $cfgHote = 'local host name'; $prefixeTable = 'phpwebgallery_'; define('PHPWG_INSTALLED', true); define('PHPWG_IN_UPGRADE', true); ?>
Upload the file and refresh upgrade.php page in your browser.
This is an upgrade from 1.5.x. Clic on Upgrade from release 1.5.0 to x.x.x.
For security reasons remove install.php, upgrade.php and the ./install/ directory.
Upgrade to 1.7 remove temporary all existing history. It’s quite easy to rebuild it because all has been saved in history_backup table. To get your previous history data, install ImportStat plugin.
Run once and remove it.