Not seeing the Updater page after patching to 2.02?

cifrancgx

Joined: 2004-08-11
Posts: 11
Posted: Sun, 2005-12-04 13:52

Hello,

I am upgrading my Gallery version 2.01 to 2.02. I use Dreamhost for my web hosting. I am using the "Apply a Patch" method.

I uploaded the files to my server and copied them to the directory and ran the patch command for both...

$ patch -p0 < patch-core.txt
patching file MANIFEST
patching file install/steps/InstallCoreModuleStep.class
patching file modules/core/CoreModuleExtras.inc
patching file modules/core/ItemAddFromWeb.inc
patching file modules/core/MANIFEST
patching file modules/core/module.inc
patching file modules/core/classes/GalleryPhpVm.class
patching file upgrade/steps/CleanCacheStep.class

$ patch -p0 < patch-zipcart.txt
patching file modules/zipcart/Download.inc
patching file modules/zipcart/MANIFEST
patching file modules/zipcart/module.inc
patching file modules/zipcart/classes/ZipCartPlugin.class

That seemed to work fine (I think??), but when I went to my gallery page on the web it didn't take me to the upgrader like the instructions said it would. I may have been logged in as Admin in my gallery when I did the patching and I wonder if that might be the issue?

UPDATE:

I manually went to the updater page and went through that and it seemed to work fine, but when I check the version number on the System Maintenance page it still says 2.01

Thanks,

George


Gallery version = 2.0.1 core 1.0.0.1
PHP version = 4.3.10 cgi
Webserver = Apache/1.3.33 (Unix) DAV/1.0.3 mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a PHP/4.3.10 mod_ssl/2.8.22 OpenSSL/0.9.7e
Database = mysql 4.1.14-Debian_5-log
Toolkits = ArchiveUpload, Exif, ImageMagick, NetPBM, Thumbnail, Gd
Operating system = Linux ganymede 2.4.29-grsec+w+fhs6b+gr0501+nfs+a32+++p4+sata+c4+gr2b-v6.189 #1 SMP Mon Feb 7 13:23:30 PST 2005 i686
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-12-04 18:58

please open modules/core/module.inc and check the version in the file.

 
cifrancgx

Joined: 2004-08-11
Posts: 11
Posted: Sun, 2005-12-04 23:36

It says

@version $Revision: 1.225.2.2 $ $Date: 2005/11/24 00:46:16 $

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-12-04 23:56

i meant:

    function CoreModule() {
	global $gallery;

	$this->setId('core');
	$this->setName($gallery->i18n('Core'));
	$this->setGalleryVersion('2.0.2+');

	/* Don't forget to update CoreModuleExtras::upgrade and _prepareConfigUpgrade too! */
	$this->setVersion('1.0.10');

what's this section in your module.inc?

 
cifrancgx

Joined: 2004-08-11
Posts: 11
Posted: Mon, 2005-12-05 00:36

Mine is...

function CoreModule() {
global $gallery;

$this->setId('core');
$this->setName($gallery->i18n('Core'));
$this->setGalleryVersion('2.0.2');

/* Don't forget to update CoreModuleExtras::upgrade and _prepareConfigUp
grade too! */
$this->setVersion('1.0.0.2');

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-12-05 01:28

looks good. i guess you just forgot to run the maintenance task again. :)

 
cifrancgx

Joined: 2004-08-11
Posts: 11
Posted: Tue, 2005-12-06 00:05

Oops. I was applying the upgrade to the wrong directory.