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
Posts: 32509
please open modules/core/module.inc and check the version in the file.
Posts: 11
It says
@version $Revision: 1.225.2.2 $ $Date: 2005/11/24 00:46:16 $
Posts: 32509
i meant:
what's this section in your module.inc?
Posts: 11
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');
Posts: 32509
looks good. i guess you just forgot to run the maintenance task again.
Posts: 11
Oops. I was applying the upgrade to the wrong directory.