I'm having trouble upgrading from a previous version of Gallery2 to the latest 2.1.2-full.
When I get to the fourth stage of upgrading modules I get this error.
Quote:
Upgrade Other Modules
Stack Trace:
Error (ERROR_PLUGIN_VERSION_MISMATCH) : incompatible theme matrix
* in modules/core/classes/GalleryTheme.class at line 519 (GalleryStatus::error)
* in upgrade/steps/UpgradeOtherModulesStep.class at line 102 (GalleryTheme::installOrUpgrade)
* in upgrade/index.php at line 183 (UpgradeOtherModulesStep::processRequest)
Debug Output:
getParameter permissions.file for core plugin
file_exists(/home/fokus/public_html/gallery/g2data/cache/module/core/0/0/0.inc)
[1173012721] can't guarantee 300 -- extending!
(mysql): SHOW TABLES
Loading plugin matrix
Class not defined, trying to include it.
file_exists(/home/fokus/public_html/gallery/modules/core/classes/helpers/../../../../themes/matrix/theme.inc)
matrix plugin successfully instantiated
realpath(/home/fokus/public_html/gallery/modules/core/classes/../../..)
Binding text domain: themes_matrix ->
/home/fokus/public_html/gallery/themes/matrix/locale
GalleryTheme::installOrUpgrade matrix theme
realpath(/home/fokus/public_html/gallery/modules/core/classes/../../../)
I have no idea of what might be the problem as I'm not so much into technical details.
Does someone know what might be causing this error?
Gallery version: 2.1.2-Full
PHP version: 5.1.6
PHPInfo Link: http://www.fokusfelag.is/phpinfo.php
Webserver: Apache 1.3.37
Database: MySql 4.1.21-standard
Activated toolkits: Can't remember
Operating system: Linux
Browser: Firefox 2.0.0.2
Posts: 32509
your gallery still has the 2.0.2 files. you don't have 2.1.2 on your server.
--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage
Posts: 29
I tried to do upgrade before, and a lot of errors. Then I use another approach, I think the easy way to do like this:
1. move ur g2data to another directory to another place
2. install the new code
3. move back g2data
4. run installer ( select existing database )
It works and all set up, data, etc, are still there.
I guess g2 save all your pic, admin data, etc in g2data directory and desc, summary, comment, rating, etc in database.
valiant, any comments?
tt from CamerA2Z.com
---------------------
Gallery: 2.2 RC1
Linux Kernel 2.6.9-42.0.8
Apache: 1.3.37
PHP : 4.4.4
Database:mysql 5.0.27 Standard cPanel :10.9.0
Browser :IE 6.0
Posts: 32509
instead of step 4, copy back your old / existing config.php into your new gallery2 folder. then you'd have done the normal upgrade procedure.
--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage
Posts: 29
Valiant,
I purposely donot copy the old confid.php, as it will start to upgrade, and I stucked into the upgrade process last week, see thread below.
http://gallery.menalto.com/node/61357
not sure it is right or not. any way, it workd.
tt from CamerA2Z.com
---------------------
Gallery: 2.2 RC1
Linux Kernel 2.6.9-42.0.8
Apache: 1.3.37
PHP : 4.4.4
Database:mysql 5.0.27 Standard cPanel :10.9.0
Browser :IE 6.0
Posts: 2
Thanks valiant
That seemed to be the problem. Don't know why this happened but I'm guessing that unziping the gallery file directly on the server isn't such a good idea.
I uploaded all files through ftp and that seemed to do the trick.