Gallery 升级到3.0.4

ZephyrXT 发布于 阅读:28

http://gallery.menalto.com/ (3.0.4只支持在Linux系统下运行)

wget http://nchc.dl.sourceforge.net/project/gallery/gallery3/3.0.4/gallery-3.0.4.zip

1.On the maintenance page click on "Turn on maintenance mode" to prevent user from accessing the gallery while you are upgrading

开启维护模式

  1. Move the var folder from your old folder to the new one. Permissions and ownership on this directory must be maintained. The webserver (Apache/PHP) must be able to write to it after you move it.
  2. Copy any custom or downloaded Themes from your old folder to the new one.
  3. Copy any downloaded Modules from your old folder to the new one.
  4. Rename the old folder (e.g. from "gallery3" to "gallery3_old")
  5. Rename the new folder to the name you had for your old folder (e.g. from "gallery3_new" to "gallery3")
  6. Browse to your Gallery 3 installation and add "/upgrader" at the end of the URL (e.g. http://www.example.com/gallery3/index.php/upgrader)
  7. Follow the instructions on the upgrader page.
  8. Browse to your current installation and go to "Login -> Admin -> Maintenance"
  9. On the maintenance page click on "Turn off maintenance mode" to allow access to your installation again.

Upgrading Gallery 3

Upgrading is really easy! Unpack the new version, move the var/ directory of the old version to the new version's folder and then either browse to: http://your-site.com/gallery3/index.php/upgrader or at a shell prompt: php index.php upgrade

For more detailed upgrade instructions, please refer to the Gallery 3 User Guide