Error (ERROR_PLATFORM_FAILURE)

Miguelmateos

Joined: 2008-05-13
Posts: 13
Posted: Sun, 2008-10-19 05:06

I moved my server over to another server same operating systme same usernames same everything a complete copy of my old server blogs and everything work without a problem but for some reason gallery is not working here is the url and errors please help

http://www.rebeldefotos.info/rbd/wpg2

I am getting the following errors

Error
Error (ERROR_PLATFORM_FAILURE) :
in modules/core/classes/GalleryTemplate.class at line 251 (GalleryCoreApi::error)
in modules/core/classes/GalleryTemplate.class at line 180 (GalleryTemplate::_initCompiledTemplateDir)
in main.php at line 486 (GalleryTemplate::fetch)
in main.php at line 94
in modules/core/classes/GalleryEmbed.class at line 179
in /home/admin2/domains/rebeldefotos.info/public_html/rbd/wp-content/plugins/wpg2/wpg2template.inc at line 82 (GalleryEmbed::handleRequest)
in ??? at line 0
in /home/admin2/domains/rebeldefotos.info/public_html/rbd/wp-includes/plugin.php at line 311
in /home/admin2/domains/rebeldefotos.info/public_html/rbd/wp-includes/template-loader.php at line 7
in /home/admin2/domains/rebeldefotos.info/public_html/rbd/wp-blog-header.php at line 20
in /home/admin2/domains/rebeldefotos.info/public_html/rbd/index.php at line 4

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sun, 2008-10-19 05:45

Not exactly the same then ;)
FAQ: How can I move my gallery installation from one server to another?

Check to make sure the paths are exactly the same and double check permissions on g2data
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Miguelmateos

Joined: 2008-05-13
Posts: 13
Posted: Sun, 2008-10-19 08:25

ok I started a reinstall to test that everythings ok the version I have is 2.2 anyways so far made it to step 5 database setup and this is the problem I am having

Gallery tables already exist in this database! But there is no 'versions.dat' file in your G2 storage directory which we interpret as a broken state of G2. Either create a versions.dat file with the correct format if you think your G2 should still work or select a clean install, which will erase all data in the database and in the storage directory.

so what would I put in this file or where can I find this file to download I can no longer get it off my old host since that server has been down about 15 days now so now what can I do please help

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sun, 2008-10-19 16:20

To recreate the versions.dat file we need to know the exact version of Gallery you had installed on the old server when the database was last working. Is it really 2.2, or is 2.2.2 or 2.2.4 or 2.2.6 or something else?

We also need the version of the core module, I'd look in your database for that info as I don't know if you have a newer version of the Gallery program files installed on this new server than on your old server. Log into phpMyAdmin and that info is stored in the g2_PluginParameterMap table.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Miguelmateos

Joined: 2008-05-13
Posts: 13
Posted: Sun, 2008-10-19 20:40

Here is the dump out of phpmyadmin from g2_PluginParameterMap table

-- phpMyAdmin SQL Dump
-- version 2.11.9.2
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Oct 19, 2008 at 03:33 PM
-- Server version: 5.0.67
-- PHP Version: 5.2.6

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";

--
-- Database: `admin2_gallery2`
--

-- --------------------------------------------------------

--
-- Table structure for table `g2_PluginParameterMap`
--

CREATE TABLE `g2_PluginParameterMap` (
`g_pluginType` varchar(32) NOT NULL,
`g_pluginId` varchar(32) NOT NULL,
`g_itemId` int(11) NOT NULL,
`g_parameterName` varchar(128) NOT NULL,
`g_parameterValue` text NOT NULL,
UNIQUE KEY `g_pluginType` (`g_pluginType`,`g_pluginId`,`g_itemId`,`g_parameterName`),
KEY `g2_PluginParameterMap_80596` (`g_pluginType`),
KEY `g2_PluginParameterMap_12808` (`g_pluginType`,`g_pluginId`,`g_itemId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `g2_PluginParameterMap`
--

INSERT INTO `g2_PluginParameterMap` VALUES('module', 'archiveupload', 0, 'removeMeta', '1');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'archiveupload', 0, 'unzipPath', '/usr/bin/unzip');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'archiveupload', 0, '_callbacks', 'getSiteAdminViews');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'archiveupload', 0, '_requiredCoreApi', '7,4');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'archiveupload', 0, '_requiredModuleApi', '3,0');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'archiveupload', 0, '_version', '1.0.6');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'colorpack', 0, '_callbacks', '');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'colorpack', 0, '_requiredCoreApi', '7,10');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'colorpack', 0, '_requiredModuleApi', '3,0');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'colorpack', 0, '_version', '1.0.5');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'comment', 0, 'comments.latest', '1');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'comment', 0, 'comments.show', '10');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'comment', 0, 'validation.level', 'HIGH');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'comment', 0, '_callbacks', 'registerEventListeners|getItemLinks|getItemSummaries|getSiteAdminViews|getItemAdminViews');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'comment', 0, '_requiredCoreApi', '7,5');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'comment', 0, '_requiredModuleApi', '3,0');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'comment', 0, '_version', '1.1.3.2');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'core', 0, 'acceleration', 'a:2:{s:5:"guest";a:2:{s:4:"type";s:7:"partial";s:10:"expiration";i:900;}s:4:"user";a:2:{s:4:"type";s:7:"partial";s:10:"expiration";i:900;}}');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'core', 0, 'cookie.domain', '');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'core', 0, 'cookie.path', '');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'core', 0, 'core.repositories', 'a:1:{s:8:"released";i:1;}');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'core', 0, 'default.language', 'es_MX');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'core', 0, 'default.newAlbumsUseDefaults', 'false');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'core', 0, 'default.orderBy', 'creationTimestamp');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'core', 0, 'default.orderDirection', 'desc');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'core', 0, 'default.theme', 'matrix');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'core', 0, 'exec.beNice', '0');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'core', 0, 'exec.expectedStatus', '0');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'core', 0, 'format.date', '%x');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'core', 0, 'format.datetime', '%c');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'core', 0, 'format.time', '%X');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'core', 0, 'id.accessListCompacterLock', '1');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'core', 0, 'id.adminGroup', '3');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'core', 0, 'id.allUserGroup', '2');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'core', 0, 'id.anonymousUser', '5');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'core', 0, 'id.everybodyGroup', '4');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'core', 0, 'id.rootAlbum', '7');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'core', 0, 'language.useBrowserPref', '1');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'core', 0, 'lock.system', 'flock');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'core', 0, 'misc.markup', 'bbcode');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'core', 0, 'permissions.directory', '755');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'core', 0, 'permissions.file', '644');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'core', 0, 'repository.updateTime', '0');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'core', 0, 'session.inactivityTimeout', '604800');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'core', 0, 'session.lifetime', '1814400');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'core', 0, 'smtp.from', '');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'core', 0, 'smtp.host', '');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'core', 0, 'smtp.password', '');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'core', 0, 'smtp.username', '');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'core', 0, 'validation.level', 'MEDIUM');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'core', 0, '_callbacks', 'registerEventListeners|getItemLinks|getSystemLinks|getSiteAdminViews|getUserAdminViews|getItemAdminViews');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'core', 0, '_requiredCoreApi', '7,18');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'core', 0, '_requiredModuleApi', '3,4');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'core', 0, '_version', '1.2.0.6');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'exif', 0, 'addOption', '4');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'exif', 0, '_callbacks', 'getSiteAdminViews');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'exif', 0, '_requiredCoreApi', '7,10');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'exif', 0, '_requiredModuleApi', '3,0');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'exif', 0, '_version', '1.1.0');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'ffmpeg', 0, 'path', '');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'ffmpeg', 0, 'useWatermark', '0');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'ffmpeg', 0, '_callbacks', 'getSiteAdminViews');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'ffmpeg', 0, '_requiredCoreApi', '7,4');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'ffmpeg', 0, '_requiredModuleApi', '3,0');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'ffmpeg', 0, '_version', '1.0.7');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'gd', 0, 'jpegQuality', '75');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'gd', 0, '_callbacks', 'getSiteAdminViews');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'gd', 0, '_requiredCoreApi', '7,4');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'gd', 0, '_requiredModuleApi', '3,0');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'gd', 0, '_version', '1.1.1');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'icons', 0, 'iconpack', 'silk');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'icons', 0, '_callbacks', 'getSiteAdminViews');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'icons', 0, '_requiredCoreApi', '7,4');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'icons', 0, '_requiredModuleApi', '3,0');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'icons', 0, '_version', '1.1.2');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'imageblock', 0, 'albumFrame', '');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'imageblock', 0, 'itemFrame', '');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'imageblock', 0, 'show', 'heading|title|date|views');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'imageblock', 0, '_callbacks', 'registerEventListeners|getSiteAdminViews');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'imageblock', 0, '_requiredCoreApi', '7,10');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'imageblock', 0, '_requiredModuleApi', '3,0');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'imageblock', 0, '_version', '1.1.0');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'imageframe', 0, '_callbacks', '');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'imageframe', 0, '_requiredCoreApi', '7,4');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'imageframe', 0, '_requiredModuleApi', '3,2');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'imageframe', 0, '_version', '1.0.5');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'imagemagick', 0, 'binary', '');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'imagemagick', 0, 'cmykSupport', 'off');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'imagemagick', 0, 'compositeCmd', 'composite');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'imagemagick', 0, 'jpegQuality', '80');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'imagemagick', 0, 'path', '/usr/local/bin/');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'imagemagick', 0, 'removeMetaDataSwitch', '-strip');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'imagemagick', 0, 'versionOk', '1');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'imagemagick', 0, '_callbacks', 'getSiteAdminViews');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'imagemagick', 0, '_requiredCoreApi', '7,4');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'imagemagick', 0, '_requiredModuleApi', '3,0');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'imagemagick', 0, '_version', '1.1.1');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'keyalbum', 0, 'description', '');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'keyalbum', 0, 'orderBy', '');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'keyalbum', 0, 'orderDirection', '');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'keyalbum', 0, 'split', ';,');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'keyalbum', 0, 'summaryLinks', 'all');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'keyalbum', 0, 'themeId', '');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'keyalbum', 0, 'themeSettingsId', '10');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'keyalbum', 0, '_callbacks', 'getSiteAdminViews|getItemSummaries');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'keyalbum', 0, '_requiredCoreApi', '7,10');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'keyalbum', 0, '_requiredModuleApi', '3,2');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'keyalbum', 0, '_version', '1.0.0.2');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'multilang', 0, 'languages', 'en_US|en_GB|es_ES|es_MX|es_AR');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'multilang', 0, '_callbacks', 'getSiteAdminViews|registerEventListeners');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'multilang', 0, '_requiredCoreApi', '7,10');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'multilang', 0, '_requiredModuleApi', '3,0');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'multilang', 0, '_version', '1.0.7');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'rating', 0, 'allowAlbumRating', '1');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'rating', 0, 'description', '');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'rating', 0, 'minLimit', '2');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'rating', 0, 'orderBy', 'RatingSortOrder');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'rating', 0, 'orderDirection', 'desc');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'rating', 0, 'themeId', '');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'rating', 0, 'themeSettingsId', '12');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'rating', 0, '_callbacks', 'getSiteAdminViews|getItemSummaries|registerEventListeners');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'rating', 0, '_requiredCoreApi', '7,10');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'rating', 0, '_requiredModuleApi', '3,3');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'rating', 0, '_version', '1.0.8');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'rearrange', 0, '_callbacks', 'getItemLinks|getItemAdminViews');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'rearrange', 0, '_requiredCoreApi', '7,4');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'rearrange', 0, '_requiredModuleApi', '3,0');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'rearrange', 0, '_version', '1.0.5');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'rewrite', 0, 'accessList', 'a:0:{}');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'rewrite', 0, 'activeRules', 'a:5:{s:7:"comment";a:2:{i:0;a:1:{s:7:"pattern";s:19:"c/add/%itemId%.html";}i:1;a:1:{s:7:"pattern";s:20:"c/view/%itemId%.html";}}s:8:"keyalbum";a:1:{i:0;a:1:{s:7:"pattern";s:13:"key/%keyword%";}}s:6:"rating";a:1:{i:0;a:1:{s:7:"pattern";s:14:"rating/%limit%";}}s:7:"rewrite";a:3:{i:0;a:1:{s:7:"pattern";s:8:"v/%path%";}i:1;a:1:{s:7:"pattern";s:36:"d/%itemId%-%serialNumber%/%fileName%";}i:5;a:0:{}}s:9:"slideshow";a:1:{i:0;a:1:{s:7:"pattern";s:23:"v/%path%/slideshow.html";}}}');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'rewrite', 0, 'allowEmptyReferer', '0');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'rewrite', 0, 'isapirewrite.embeddedLocation', '');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'rewrite', 0, 'isapirewrite.forced', '0');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'rewrite', 0, 'isapirewrite.galleryLocation', '');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'rewrite', 0, 'isapirewrite.httpdini', '');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'rewrite', 0, 'modrewrite.embeddedHtaccess', '/home/admin2/domains/rebeldefotos.info/public_html/rbd');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'rewrite', 0, 'modrewrite.embeddedLocation', '/rbd/');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'rewrite', 0, 'modrewrite.galleryLocation', '/g2/');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'rewrite', 0, 'modrewrite.status', 'a:1:{s:11:"needOptions";b:0;}');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'rewrite', 0, 'parserId', 'modrewrite');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'rewrite', 0, 'pathinfo.forced', '0');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'rewrite', 0, 'pathinfo.parser', 'a:0:{}');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'rewrite', 0, 'shortUrls', 'a:7:{i:0;a:2:{s:5:"match";a:1:{s:4:"view";s:18:"comment.AddComment";}s:7:"pattern";s:19:"c/add/%itemId%.html";}i:1;a:2:{s:5:"match";a:1:{s:4:"view";s:23:"comment.ShowAllComments";}s:7:"pattern";s:20:"c/view/%itemId%.html";}i:2;a:2:{s:5:"match";a:1:{s:4:"view";s:21:"keyalbum.KeywordAlbum";}s:7:"pattern";s:13:"key/%keyword%";}i:3;a:2:{s:5:"match";a:1:{s:4:"view";s:18:"rating.RatingAlbum";}s:7:"pattern";s:14:"rating/%limit%";}i:4;a:4:{s:5:"match";a:1:{s:4:"view";s:13:"core.ShowItem";}s:7:"pattern";s:8:"v/%path%";s:9:"functions";a:3:{s:4:"path";a:3:{i:0;s:7:"rewrite";i:1;s:19:"RewriteSimpleHelper";i:2;s:9:"parsePath";}s:4:"page";a:3:{i:0;s:7:"rewrite";i:1;s:19:"RewriteSimpleHelper";i:2;s:9:"parsePage";}s:8:"language";a:3:{i:0;s:7:"rewrite";i:1;s:19:"RewriteSimpleHelper";i:2;s:13:"parseLanguage";}}s:6:"onLoad";a:3:{i:0;s:7:"rewrite";i:1;s:19:"RewriteSimpleHelper";i:2;s:18:"loadItemIdFromPath";}}i:5;a:3:{s:5:"match";a:1:{s:4:"view";s:17:"core.DownloadItem";}s:7:"pattern";s:36:"d/%itemId%-%serialNumber%/%fileName%";s:9:"functions";a:2:{s:12:"serialNumber";a:3:{i:0;s:7:"rewrite";i:1;s:19:"RewriteSimpleHelper";i:2;s:17:"parseSerialNumber";}s:8:"fileName";a:3:{i:0;s:7:"rewrite";i:1;s:19:"RewriteSimpleHelper";i:2;s:13:"parseFileName";}}}i:6;a:4:{s:5:"match";a:1:{s:4:"view";s:19:"slideshow.Slideshow";}s:7:"pattern";s:23:"v/%path%/slideshow.html";s:9:"functions";a:1:{s:4:"path";a:3:{i:0;s:7:"rewrite";i:1;s:19:"RewriteSimpleHelper";i:2;s:9:"parsePath";}}s:6:"onLoad";a:3:{i:0;s:7:"rewrite";i:1;s:19:"RewriteSimpleHelper";i:2;s:18:"loadItemIdFromPath";}}}');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'rewrite', 0, '_callbacks', 'getSiteAdminViews|registerEventListeners');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'rewrite', 0, '_requiredCoreApi', '7,5');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'rewrite', 0, '_requiredModuleApi', '3,5');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'rewrite', 0, '_version', '1.1.13.3');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'search', 0, '_callbacks', '');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'search', 0, '_requiredCoreApi', '7,4');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'search', 0, '_requiredModuleApi', '3,0');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'search', 0, '_version', '1.0.5');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'shutterfly', 0, '_callbacks', 'getItemLinks');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'shutterfly', 0, '_requiredCoreApi', '7,12');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'shutterfly', 0, '_requiredModuleApi', '3,3');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'shutterfly', 0, '_version', '1.0.7.2');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'sitemap', 0, '_callbacks', 'getSiteAdminViews');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'sitemap', 0, '_requiredCoreApi', '7,5');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'sitemap', 0, '_requiredModuleApi', '3,0');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'sitemap', 0, '_version', '1.0.3');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'slideshow', 0, '_callbacks', 'getItemLinks');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'slideshow', 0, '_requiredCoreApi', '7,4');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'slideshow', 0, '_requiredModuleApi', '3,4');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'slideshow', 0, '_version', '1.0.5.1');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'watermark', 0, 'allowUserWatermarks', '0');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'watermark', 0, 'defaultWatermarkId', '25');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'watermark', 0, 'forceDefaultWatermark', '1');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'watermark', 0, 'hotlinkWatermarkId', '');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'watermark', 0, '_callbacks', 'registerEventListeners|getSiteAdminViews|getUserAdminViews');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'watermark', 0, '_requiredCoreApi', '7,4');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'watermark', 0, '_requiredModuleApi', '3,5');
INSERT INTO `g2_PluginParameterMap` VALUES('module', 'watermark', 0, '_version', '1.1.0');
INSERT INTO `g2_PluginParameterMap` VALUES('theme', 'matrix', 0, 'albumBlocks', 'a:3:{i:0;a:2:{i:0;s:20:"comment.ViewComments";i:1;a:1:{s:4:"show";s:2:"10";}}i:1;a:2:{i:0;s:13:"rating.Rating";i:1;a:0:{}}i:2;a:2:{i:0;s:18:"comment.AddComment";i:1;a:0:{}}}');
INSERT INTO `g2_PluginParameterMap` VALUES('theme', 'matrix', 0, 'albumFrame', 'filmedges');
INSERT INTO `g2_PluginParameterMap` VALUES('theme', 'matrix', 0, 'colorpack', 'bluebottle');
INSERT INTO `g2_PluginParameterMap` VALUES('theme', 'matrix', 0, 'columns', '3');
INSERT INTO `g2_PluginParameterMap` VALUES('theme', 'matrix', 0, 'dynamicLinks', 'browse');
INSERT INTO `g2_PluginParameterMap` VALUES('theme', 'matrix', 0, 'itemFrame', 'flicking');
INSERT INTO `g2_PluginParameterMap` VALUES('theme', 'matrix', 0, 'photoBlocks', 'a:6:{i:0;a:2:{i:0;s:21:"keyalbum.KeywordLinks";i:1;a:0:{}}i:1;a:2:{i:0;s:13:"exif.ExifInfo";i:1;a:0:{}}i:2;a:2:{i:0;s:20:"comment.ViewComments";i:1;a:1:{s:4:"show";s:2:"10";}}i:3;a:2:{i:0;s:13:"rating.Rating";i:1;a:0:{}}i:4;a:2:{i:0;s:21:"core.LanguageSelector";i:1;a:0:{}}i:5;a:2:{i:0;s:18:"comment.AddComment";i:1;a:0:{}}}');
INSERT INTO `g2_PluginParameterMap` VALUES('theme', 'matrix', 0, 'photoFrame', 'polaroids');
INSERT INTO `g2_PluginParameterMap` VALUES('theme', 'matrix', 0, 'rows', '3');
INSERT INTO `g2_PluginParameterMap` VALUES('theme', 'matrix', 0, 'showAlbumOwner', '0');
INSERT INTO `g2_PluginParameterMap` VALUES('theme', 'matrix', 0, 'showImageOwner', '0');
INSERT INTO `g2_PluginParameterMap` VALUES('theme', 'matrix', 0, 'showMicroThumbs', '0');
INSERT INTO `g2_PluginParameterMap` VALUES('theme', 'matrix', 0, 'sidebarBlocks', 'a:6:{i:0;a:2:{i:0;s:21:"core.LanguageSelector";i:1;a:0:{}}i:1;a:2:{i:0;s:18:"search.SearchBlock";i:1;a:1:{s:16:"showAdvancedLink";b:1;}}i:2;a:2:{i:0;s:13:"core.PeerList";i:1;a:0:{}}i:3;a:2:{i:0;s:21:"imageblock.ImageBlock";i:1;a:0:{}}i:4;a:2:{i:0;s:14:"core.ItemLinks";i:1;a:1:{s:11:"useDropdown";b:0;}}i:5;a:2:{i:0;s:15:"core.LoginBlock";i:1;a:0:{}}}');
INSERT INTO `g2_PluginParameterMap` VALUES('theme', 'matrix', 0, '_requiredCoreApi', '7,10');
INSERT INTO `g2_PluginParameterMap` VALUES('theme', 'matrix', 0, '_requiredThemeApi', '2,4');
INSERT INTO `g2_PluginParameterMap` VALUES('theme', 'matrix', 0, '_version', '1.1.4');

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sun, 2008-10-19 22:10

First make sure you have a backup of everything, database, g2data, gallery program files.

Create a versions.dat with the following information in your g2data directory and try the upgrade.

1.2.0.6
Gallery-2.2.4

http://codex.gallery2.org/Gallery2:How_To_Restore_From_Backup#Restoring_Gallery_2_from_a_full_backup
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here