Upgrading from Gallery 2.0 beta-1 (Dark Fibre) to Gallery 2.0.2

jastram

Joined: 2005-03-02
Posts: 1
Posted: Sun, 2005-12-11 12:30

G2 URL (optional): n/a
G2 version: 2.0.2
G1 URL (optional): n/a
G1 version: Gallery 2.0 beta-1 (Dark Fibre)
G1 character set: latin-1
PHP memory limit: n/a
--
PHP version (e.g. 4.3.11): 4.3.10
PHPInfo Link (see FAQ): http://jastram.dyndns.org/sitebar/info.php
Webserver (e.g. Apache 1.3.33): 2.0.52
Database (e.g. MySql 4.0.11): MySql 4.1.9
Activated toolkits (e.g. NetPbm, GD): n/a
Operating system (e.g. Linux): Linux LFS
Browser (e.g. Firefox 1.0): Firefox 1.0.7
[/size]

Hello,

I have a properly working Gallery 2.0 beta-1 installation, and I would like to upgrade it to 2.0.2. Not even the first upgrade page renders (URL on the local network is http://bergedorf/gallery2/upgrade/). Instead I get the following error message (rendered by the browser):

Warning: requireonce(/var/www/htdocs/gallery2/modules/core/classes/../../..//var/www/htdocs/gallery2/modules/core/classes/GalleryCoreApi.class on line 2505

Fatal error: requireonce(): Failed opening required '/var/www/htdocs/gallery2/modules/core/classes/../../../<?php $data = unserialize('a:30:{s:21:"permissions.directory";s:3:"755";s:16:"permissions.file";s:3:"644";s:22:"uploadLocalServer.dirs";s:4:"/tmp";s:19:"exec.expectedStatus";s:1:"0";s:15:"default.orderBy";s:11:"orderWeight";s:22:"default.orderDirection";s:1:"1";s:14:"default.layout";s:6:"matrix";s:13:"default.theme";s:6:"matrix";s:16:"default.language";s:5:"en_US";s:28:"default.newAlbumsUseDefaults";s:5:"false";s:17:"language.selector";s:4:"none";s:16:"session.lifetime";s:9:"788400000";s:25:"session.inactivityTimeout";s:7:"1209600";s:11:"misc.markup";s:6:"bbcode";s:17:"misc.useShortUrls";s:4:"true";s:10:"misc.logi in /var/www/htdocs/gallery2/modules/core/classes/GalleryCoreApi.class on line 2505

I tried installing by extracting the 2.0.2 over the existing files; I also tried a fresh install and copied over the working config.php. Both approaches generated this error.

Any ideas? Thanks a lot!

- Michael

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-12-11 16:04

1. first: delete your cache with yourgalleryUrl/lib/support/ -> cache (not sure if we introduced that after 2.0.2, if so, get the latest nightly snapshot)
2. delete your browser cookie cache

3. else: download again the full 2.0.2 package and overwrite your existing files.