Upgrade Problem (ERROR STORAGE FAILURE)

rkoftan

Joined: 2005-08-15
Posts: 34
Posted: Sat, 2005-08-20 14:48

When I accessed my gallery this AM, I got the prompt to perform an automatic upgrade. Interesting behavior. Anyway, I stepped thru the first few steps and the process failed on step 4 (Upgrade Core).

Any help would be appreciated...

----

Gallery URL: http://gallery.koftan.net
Gallery version: 2.0 RC 1
Webserver (with version): Apache 2.0
Datatabase (with version): MySQL Ver 12.22 Distrib 4.0.21, for Win95/Win98 (i32)
PHP version : 5.0.5
phpinfo URL : n/a (see attachment)
Graphics Toolkit(s): ImageMagic
Operating system: Windows 2003 Enterprise
Web browser/version: IE6
G1 version (for migration bugs): ?
Firewall/Proxy: Microsoft ISA 2004 on Windows 2003 Enterprise

Stack Trace
Error (ERROR_STORAGE_FAILURE)
in E:\Web_Data\koftan_net\gallery\modules\core\classes\GalleryStorage\DatabaseStorage.class at line 1166 (MySqlDatabaseStorage::error)
in E:\Web_Data\koftan_net\gallery\modules\core\classes\GalleryStorage.class at line 245 (MySqlDatabaseStorage::search)
in E:\Web_Data\koftan_net\gallery\modules\core\classes\Gallery.class at line 223 (GalleryStorage::search)
in E:\Web_Data\koftan_net\gallery\modules\core\CoreModuleExtras.inc at line 471 (Gallery::search)
in E:\Web_Data\koftan_net\gallery\modules\core\module.inc at line 515 (CoreModule::upgrade)
in E:\Web_Data\koftan_net\gallery\modules\core\classes\GalleryModule.class at line 158 (CoreModule::upgrade)
in E:\Web_Data\koftan_net\gallery\upgrade\steps\UpgradeCoreModuleStep.class at line 79 (CoreModule::installOrUpgrade)
in E:\Web_Data\koftan_net\gallery\upgrade\index.php at line 177 (UpgradeCoreModuleStep::processRequest)

Debug Output
getParameter permissions.file for core plugin
file_exists(E:\Web_Data\koftan_net\gallery2\g2data\cache\module/core/0/0/0.inc)
fopen(E:\Web_Data\koftan_net\gallery2\g2data\cache\module/core/0/0/0.inc,
rb, 0)
fread(Resource id #29, 4096)
fclose(Resource id #29)
[1124548217] can't guarantee 300 -- extending!
--------------------------------------------------------------------------------
(mysql): SHOW TABLES
--------------------------------------------------------------------------------

file_exists(E:\Web_Data\koftan_net\gallery2\g2data\versions.dat)
Unknown module version 0.8 in prepareConfigUpgrade()
is_writeable(E:\Web_Data\koftan_net\gallery/config.php)
GalleryModule::installOrUpgrade core module
In bootstrap mode (core module)
Configure store for core module
file_exists(E:\Web_Data\koftan_net\gallery\modules\core\classes\GalleryStorage/../../../../modules/core/classes/GalleryStorage/DatabaseStorage/schema/platform/mysql)
opendir(E:\Web_Data\koftan_net\gallery\modules\core\classes\GalleryStorage/../../../../modules/core/classes/GalleryStorage/DatabaseStorage/schema/platform/mysql)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
readdir(Resource id #50)
closedir(Resource id #50)
--------------------------------------------------------------------------------
(mysql): SHOW TABLES
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): SELECT g_name, g_major, g_minor FROM g2_Schema

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

Upgrade (or install) core module
Entering CoreModuleExras::upgrade
file_exists(E:\Web_Data\koftan_net\gallery2\g2data\versions.dat)
Current version not set
getParameter permissions.directory for core plugin
--------------------------------------------------------------------------------
(mysql):
SELECT
g2_PluginParameterMap.g_parameterName,
g2_PluginParameterMap.g_parameterValue
FROM
g2_PluginParameterMap
WHERE
g2_PluginParameterMap.g_pluginType = 'module'
AND
g2_PluginParameterMap.g_pluginId = 'core'
AND
g2_PluginParameterMap.g_itemId = 0

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

The current version is 0.8
Warning: Upgrading from version 0.8 (not supported)
--------------------------------------------------------------------------------
(mysql):
UPDATE
g2_PluginParameterMap
SET
g_parameterName = '_version'
WHERE
g2_PluginParameterMap.g_parameterName = 'version'
AND
g2_PluginParameterMap.g_pluginType = 'module'
AND
g2_PluginParameterMap.g_itemId = 0

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

--------------------------------------------------------------------------------
(mysql):
UPDATE
g2_PluginParameterMap
SET
g_parameterName = '_callbacks'
WHERE
g2_PluginParameterMap.g_parameterName = 'callbacks'
AND
g2_PluginParameterMap.g_pluginType = 'module'
AND
g2_PluginParameterMap.g_itemId = 0

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

setParameter misc.login for core plugin
--------------------------------------------------------------------------------
(mysql):
SELECT
g2_PluginParameterMap.g_parameterName,
g2_PluginParameterMap.g_parameterValue
FROM
g2_PluginParameterMap
WHERE
g2_PluginParameterMap.g_pluginType = 'module'
AND
g2_PluginParameterMap.g_pluginId = 'core'
AND
g2_PluginParameterMap.g_itemId = 0

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

--------------------------------------------------------------------------------
(mysql): UPDATE g2_PluginParameterMap SET g_parameterValue='both' WHERE
g_pluginType='module' AND g_pluginId='core' AND g_itemId=0 AND
g_parameterName='misc.login'
--------------------------------------------------------------------------------

Plugin parameter misc.login for core plugin set successfully
--------------------------------------------------------------------------------
(mysql):
UPDATE
g2_Item
SET
g_originationTimestamp = g_viewedSinceTimestamp

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

setParameter default.newAlbumsUseDefaults for core plugin
--------------------------------------------------------------------------------
(mysql):
SELECT
g2_PluginParameterMap.g_parameterName,
g2_PluginParameterMap.g_parameterValue
FROM
g2_PluginParameterMap
WHERE
g2_PluginParameterMap.g_pluginType = 'module'
AND
g2_PluginParameterMap.g_pluginId = 'core'
AND
g2_PluginParameterMap.g_itemId = 0

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

--------------------------------------------------------------------------------
(mysql): UPDATE g2_PluginParameterMap SET g_parameterValue='false' WHERE
g_pluginType='module' AND g_pluginId='core' AND g_itemId=0 AND
g_parameterName='default.newAlbumsUseDefaults'
--------------------------------------------------------------------------------

Plugin parameter default.newAlbumsUseDefaults for core plugin set
successfully
--------------------------------------------------------------------------------
(mysql): DELETE FROM g2_FactoryMap WHERE g_implModuleId='core'

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

file_exists(E:\Web_Data\koftan_net\gallery\modules\core\classes\helpers/../../../../modules/core/classes/GalleryEntity.class)
--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_FactoryMap (g_classType, g_className, g_implId,
g_implPath, g_implModuleId, g_hints, g_orderWeight) VALUES
('GalleryEntity','GalleryEntity','GalleryEntity','modules/core/classes/GalleryEntity.class','core','N;',4)

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

file_exists(E:\Web_Data\koftan_net\gallery\modules\core\classes\helpers/../../../../modules/core/classes/GalleryChildEntity.class)
--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_FactoryMap (g_classType, g_className, g_implId,
g_implPath, g_implModuleId, g_hints, g_orderWeight) VALUES
('GalleryEntity','GalleryChildEntity','GalleryChildEntity','modules/core/classes/GalleryChildEntity.class','core','N;',4)

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

file_exists(E:\Web_Data\koftan_net\gallery\modules\core\classes\helpers/../../../../modules/core/classes/GalleryAlbumItem.class)
--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_FactoryMap (g_classType, g_className, g_implId,
g_implPath, g_implModuleId, g_hints, g_orderWeight) VALUES
('GalleryEntity','GalleryAlbumItem','GalleryAlbumItem','modules/core/classes/GalleryAlbumItem.class','core','N;',4)

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

file_exists(E:\Web_Data\koftan_net\gallery\modules\core\classes\helpers/../../../../modules/core/classes/GalleryUser.class)
--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_FactoryMap (g_classType, g_className, g_implId,
g_implPath, g_implModuleId, g_hints, g_orderWeight) VALUES
('GalleryEntity','GalleryUser','GalleryUser','modules/core/classes/GalleryUser.class','core','N;',4)

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

file_exists(E:\Web_Data\koftan_net\gallery\modules\core\classes\helpers/../../../../modules/core/classes/GalleryGroup.class)
--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_FactoryMap (g_classType, g_className, g_implId,
g_implPath, g_implModuleId, g_hints, g_orderWeight) VALUES
('GalleryEntity','GalleryGroup','GalleryGroup','modules/core/classes/GalleryGroup.class','core','N;',4)

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

file_exists(E:\Web_Data\koftan_net\gallery\modules\core\classes\helpers/../../../../modules/core/classes/GalleryDerivative.class)
--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_FactoryMap (g_classType, g_className, g_implId,
g_implPath, g_implModuleId, g_hints, g_orderWeight) VALUES
('GalleryEntity','GalleryDerivative','GalleryDerivative','modules/core/classes/GalleryDerivative.class','core','N;',4)

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

file_exists(E:\Web_Data\koftan_net\gallery\modules\core\classes\helpers/../../../../modules/core/classes/GalleryDerivativeImage.class)
--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_FactoryMap (g_classType, g_className, g_implId,
g_implPath, g_implModuleId, g_hints, g_orderWeight) VALUES
('GalleryEntity','GalleryDerivativeImage','GalleryDerivativeImage','modules/core/classes/GalleryDerivativeImage.class','core','N;',4)

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

file_exists(E:\Web_Data\koftan_net\gallery\modules\core\classes\helpers/../../../../modules/core/classes/GalleryDerivativeImage.class)
--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_FactoryMap (g_classType, g_className, g_implId,
g_implPath, g_implModuleId, g_hints, g_orderWeight) VALUES
('GalleryDerivative','GalleryDerivativeImage','GalleryDerivativeImage','modules/core/classes/GalleryDerivativeImage.class','core','a:1:{i:0;s:1:\"*\";}',4)

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

file_exists(E:\Web_Data\koftan_net\gallery\modules\core\classes\helpers/../../../../modules/core/classes/GalleryMovieItem.class)
--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_FactoryMap (g_classType, g_className, g_implId,
g_implPath, g_implModuleId, g_hints, g_orderWeight) VALUES
('GalleryEntity','GalleryMovieItem','GalleryMovieItem','modules/core/classes/GalleryMovieItem.class','core','N;',4)

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

file_exists(E:\Web_Data\koftan_net\gallery\modules\core\classes\helpers/../../../../modules/core/classes/GalleryAnimationItem.class)
--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_FactoryMap (g_classType, g_className, g_implId,
g_implPath, g_implModuleId, g_hints, g_orderWeight) VALUES
('GalleryEntity','GalleryAnimationItem','GalleryAnimationItem','modules/core/classes/GalleryAnimationItem.class','core','N;',4)

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

file_exists(E:\Web_Data\koftan_net\gallery\modules\core\classes\helpers/../../../../modules/core/classes/GalleryPhotoItem.class)
--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_FactoryMap (g_classType, g_className, g_implId,
g_implPath, g_implModuleId, g_hints, g_orderWeight) VALUES
('GalleryEntity','GalleryPhotoItem','GalleryPhotoItem','modules/core/classes/GalleryPhotoItem.class','core','N;',4)

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

file_exists(E:\Web_Data\koftan_net\gallery\modules\core\classes\helpers/../../../../modules/core/classes/GalleryUnknownItem.class)
--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_FactoryMap (g_classType, g_className, g_implId,
g_implPath, g_implModuleId, g_hints, g_orderWeight) VALUES
('GalleryEntity','GalleryUnknownItem','GalleryUnknownItem','modules/core/classes/GalleryUnknownItem.class','core','N;',4)

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

file_exists(E:\Web_Data\koftan_net\gallery\modules\core\classes\helpers/../../../../modules/core/classes/GalleryPhotoItem.class)
--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_FactoryMap (g_classType, g_className, g_implId,
g_implPath, g_implModuleId, g_hints, g_orderWeight) VALUES
('GalleryItem','GalleryPhotoItem','GalleryPhotoItem','modules/core/classes/GalleryPhotoItem.class','core','a:1:{i:0;s:7:\"image/*\";}',4)

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

file_exists(E:\Web_Data\koftan_net\gallery\modules\core\classes\helpers/../../../../modules/core/classes/GalleryMovieItem.class)
--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_FactoryMap (g_classType, g_className, g_implId,
g_implPath, g_implModuleId, g_hints, g_orderWeight) VALUES
('GalleryItem','GalleryMovieItem','GalleryMovieItem','modules/core/classes/GalleryMovieItem.class','core','a:5:{i:0;s:15:\"video/x-msvideo\";i:1;s:15:\"video/quicktime\";i:2;s:10:\"video/mpeg\";i:3;s:14:\"video/x-ms-asf\";i:4;s:14:\"video/x-ms-wmv\";}',4)

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

file_exists(E:\Web_Data\koftan_net\gallery\modules\core\classes\helpers/../../../../modules/core/classes/GalleryAnimationItem.class)
--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_FactoryMap (g_classType, g_className, g_implId,
g_implPath, g_implModuleId, g_hints, g_orderWeight) VALUES
('GalleryItem','GalleryAnimationItem','GalleryAnimationItem','modules/core/classes/GalleryAnimationItem.class','core','a:2:{i:0;s:22:\"application/x-director\";i:1;s:29:\"application/x-shockwave-flash\";}',4)

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

file_exists(E:\Web_Data\koftan_net\gallery\modules\core\classes\helpers/../../../../modules/core/classes/GalleryUnknownItem.class)
--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_FactoryMap (g_classType, g_className, g_implId,
g_implPath, g_implModuleId, g_hints, g_orderWeight) VALUES
('GalleryItem','GalleryUnknownItem','GalleryUnknownItem','modules/core/classes/GalleryUnknownItem.class','core','a:1:{i:0;s:1:\"*\";}',4)

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

file_exists(E:\Web_Data\koftan_net\gallery\modules\core\classes\helpers/../../../../modules/core/classes/GalleryCoreSearch.class)
--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_FactoryMap (g_classType, g_className, g_implId,
g_implPath, g_implModuleId, g_hints, g_orderWeight) VALUES
('GallerySearchInterface_1_0','GalleryCoreSearch','GalleryCoreSearch','modules/core/classes/GalleryCoreSearch.class','core','N;',4)

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

file_exists(E:\Web_Data\koftan_net\gallery\modules\core\classes\helpers/../../../../modules/core/ItemEditItem.inc)
--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_FactoryMap (g_classType, g_className, g_implId,
g_implPath, g_implModuleId, g_hints, g_orderWeight) VALUES
('ItemEditPlugin','ItemEditItem','ItemEditItem','modules/core/ItemEditItem.inc','core','N;',4)

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

file_exists(E:\Web_Data\koftan_net\gallery\modules\core\classes\helpers/../../../../modules/core/ItemEditAnimation.inc)
--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_FactoryMap (g_classType, g_className, g_implId,
g_implPath, g_implModuleId, g_hints, g_orderWeight) VALUES
('ItemEditPlugin','ItemEditAnimation','ItemEditAnimation','modules/core/ItemEditAnimation.inc','core','N;',4)

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

file_exists(E:\Web_Data\koftan_net\gallery\modules\core\classes\helpers/../../../../modules/core/ItemEditMovie.inc)
--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_FactoryMap (g_classType, g_className, g_implId,
g_implPath, g_implModuleId, g_hints, g_orderWeight) VALUES
('ItemEditPlugin','ItemEditMovie','ItemEditMovie','modules/core/ItemEditMovie.inc','core','N;',4)

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

file_exists(E:\Web_Data\koftan_net\gallery\modules\core\classes\helpers/../../../../modules/core/ItemEditAlbum.inc)
--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_FactoryMap (g_classType, g_className, g_implId,
g_implPath, g_implModuleId, g_hints, g_orderWeight) VALUES
('ItemEditPlugin','ItemEditAlbum','ItemEditAlbum','modules/core/ItemEditAlbum.inc','core','N;',4)

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

file_exists(E:\Web_Data\koftan_net\gallery\modules\core\classes\helpers/../../../../modules/core/ItemEditTheme.inc)
--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_FactoryMap (g_classType, g_className, g_implId,
g_implPath, g_implModuleId, g_hints, g_orderWeight) VALUES
('ItemEditPlugin','ItemEditTheme','ItemEditTheme','modules/core/ItemEditTheme.inc','core','N;',4)

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

file_exists(E:\Web_Data\koftan_net\gallery\modules\core\classes\helpers/../../../../modules/core/ItemEditPhoto.inc)
--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_FactoryMap (g_classType, g_className, g_implId,
g_implPath, g_implModuleId, g_hints, g_orderWeight) VALUES
('ItemEditPlugin','ItemEditPhoto','ItemEditPhoto','modules/core/ItemEditPhoto.inc','core','N;',4)

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

file_exists(E:\Web_Data\koftan_net\gallery\modules\core\classes\helpers/../../../../modules/core/ItemEditRotateAndScalePhoto.inc)
--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_FactoryMap (g_classType, g_className, g_implId,
g_implPath, g_implModuleId, g_hints, g_orderWeight) VALUES
('ItemEditPlugin','ItemEditRotateAndScalePhoto','ItemEditRotateAndScalePhoto','modules/core/ItemEditRotateAndScalePhoto.inc','core','N;',4)

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

file_exists(E:\Web_Data\koftan_net\gallery\modules\core\classes\helpers/../../../../modules/core/ItemEditPhotoThumbnail.inc)
--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_FactoryMap (g_classType, g_className, g_implId,
g_implPath, g_implModuleId, g_hints, g_orderWeight) VALUES
('ItemEditPlugin','ItemEditPhotoThumbnail','ItemEditPhotoThumbnail','modules/core/ItemEditPhotoThumbnail.inc','core','N;',4)

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

file_exists(E:\Web_Data\koftan_net\gallery\modules\core\classes\helpers/../../../../modules/core/ItemAddFromBrowser.inc)
--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_FactoryMap (g_classType, g_className, g_implId,
g_implPath, g_implModuleId, g_hints, g_orderWeight) VALUES
('ItemAddPlugin','ItemAddFromBrowser','ItemAddFromBrowser','modules/core/ItemAddFromBrowser.inc','core','N;',4)

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

file_exists(E:\Web_Data\koftan_net\gallery\modules\core\classes\helpers/../../../../modules/core/ItemAddFromServer.inc)
--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_FactoryMap (g_classType, g_className, g_implId,
g_implPath, g_implModuleId, g_hints, g_orderWeight) VALUES
('ItemAddPlugin','ItemAddFromServer','ItemAddFromServer','modules/core/ItemAddFromServer.inc','core','N;',4)

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

file_exists(E:\Web_Data\koftan_net\gallery\modules\core\classes\helpers/../../../../modules/core/ItemAddFromWeb.inc)
--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_FactoryMap (g_classType, g_className, g_implId,
g_implPath, g_implModuleId, g_hints, g_orderWeight) VALUES
('ItemAddPlugin','ItemAddFromWeb','ItemAddFromWeb','modules/core/ItemAddFromWeb.inc','core','N;',4)

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

file_exists(E:\Web_Data\koftan_net\gallery\modules\core\classes\helpers/../../../../modules/core/CreateThumbnailOption.inc)
--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_FactoryMap (g_classType, g_className, g_implId,
g_implPath, g_implModuleId, g_hints, g_orderWeight) VALUES
('ItemAddOption','CreateThumbnailOption','CreateThumbnailOption','modules/core/CreateThumbnailOption.inc','core','N;',4)

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

file_exists(E:\Web_Data\koftan_net\gallery\modules\core\classes\helpers/../../../../modules/core/classes/OptimizeDatabaseTask.class)
--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_FactoryMap (g_classType, g_className, g_implId,
g_implPath, g_implModuleId, g_hints, g_orderWeight) VALUES
('MaintenanceTask','OptimizeDatabaseTask','OptimizeDatabaseTask','modules/core/classes/OptimizeDatabaseTask.class','core','N;',4)

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

file_exists(E:\Web_Data\koftan_net\gallery\modules\core\classes\helpers/../../../../modules/core/classes/FlushTemplatesTask.class)
--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_FactoryMap (g_classType, g_className, g_implId,
g_implPath, g_implModuleId, g_hints, g_orderWeight) VALUES
('MaintenanceTask','FlushTemplatesTask','FlushTemplatesTask','modules/core/classes/FlushTemplatesTask.class','core','N;',4)

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

file_exists(E:\Web_Data\koftan_net\gallery\modules\core\classes\helpers/../../../../modules/core/classes/FlushDatabaseCacheTask.class)
--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_FactoryMap (g_classType, g_className, g_implId,
g_implPath, g_implModuleId, g_hints, g_orderWeight) VALUES
('MaintenanceTask','FlushDatabaseCacheTask','FlushDatabaseCacheTask','modules/core/classes/FlushDatabaseCacheTask.class','core','N;',4)

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

file_exists(E:\Web_Data\koftan_net\gallery\modules\core\classes\helpers/../../../../modules/core/classes/BuildDerivativesTask.class)
--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_FactoryMap (g_classType, g_className, g_implId,
g_implPath, g_implModuleId, g_hints, g_orderWeight) VALUES
('MaintenanceTask','BuildDerivativesTask','BuildDerivativesTask','modules/core/classes/BuildDerivativesTask.class','core','N;',4)

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

file_exists(E:\Web_Data\koftan_net\gallery\modules\core\classes\helpers/../../../../modules/core/classes/ResetViewCountsTask.class)
--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_FactoryMap (g_classType, g_className, g_implId,
g_implPath, g_implModuleId, g_hints, g_orderWeight) VALUES
('MaintenanceTask','ResetViewCountsTask','ResetViewCountsTask','modules/core/classes/ResetViewCountsTask.class','core','N;',4)

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

file_exists(E:\Web_Data\koftan_net\gallery\modules\core\classes\helpers/../../../../modules/core/classes/SystemInfoTask.class)
--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_FactoryMap (g_classType, g_className, g_implId,
g_implPath, g_implModuleId, g_hints, g_orderWeight) VALUES
('MaintenanceTask','SystemInfoTask','SystemInfoTask','modules/core/classes/SystemInfoTask.class','core','N;',4)

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

file_exists(E:\Web_Data\koftan_net\gallery\modules\core\classes\helpers/../../../../modules/core/classes/SetOriginationTimestampTask.class)
--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_FactoryMap (g_classType, g_className, g_implId,
g_implPath, g_implModuleId, g_hints, g_orderWeight) VALUES
('MaintenanceTask','SetOriginationTimestampTask','SetOriginationTimestampTask','modules/core/classes/SetOriginationTimestampTask.class','core','N;',4)

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

--------------------------------------------------------------------------------
(mysql): UPDATE g2_FactoryMap SET g_orderWeight = 5
--------------------------------------------------------------------------------

setParameter lock.system for core plugin
--------------------------------------------------------------------------------
(mysql):
SELECT
g2_PluginParameterMap.g_parameterName,
g2_PluginParameterMap.g_parameterValue
FROM
g2_PluginParameterMap
WHERE
g2_PluginParameterMap.g_pluginType = 'module'
AND
g2_PluginParameterMap.g_pluginId = 'core'
AND
g2_PluginParameterMap.g_itemId = 0

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

--------------------------------------------------------------------------------
(mysql): UPDATE g2_PluginParameterMap SET g_parameterValue='flock' WHERE
g_pluginType='module' AND g_pluginId='core' AND g_itemId=0 AND
g_parameterName='lock.system'
--------------------------------------------------------------------------------

Plugin parameter lock.system for core plugin set successfully
--------------------------------------------------------------------------------
(mysql): DELETE FROM g2_PluginParameterMap WHERE g_pluginType='modules'
AND g_pluginId='core' AND g_itemId=0 AND
g_parameterName='misc.useShortUrls'
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): DELETE FROM g2_MimeTypeMap
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('z','application/x-compress',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('ai','application/postscript',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('aif','audio/x-aiff',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('aifc','audio/x-aiff',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('aiff','audio/x-aiff',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('asc','text/plain',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('au','audio/basic',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('avi','video/x-msvideo',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('bcpio','application/x-bcpio',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('bin','application/octet-stream',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('bmp','image/bmp',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('cdf','application/x-netcdf',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('class','application/octet-stream',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('cpio','application/x-cpio',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('cpt','application/mac-compactpro',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('csh','application/x-csh',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('css','text/css',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('dcr','application/x-director',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('dir','application/x-director',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('djv','image/vnd.djvu',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('djvu','image/vnd.djvu',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('dll','application/octet-stream',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('dms','application/octet-stream',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('doc','application/msword',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('dvi','application/x-dvi',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('dxr','application/x-director',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('eps','application/postscript',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('etx','text/x-setext',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('exe','application/octet-stream',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('ez','application/andrew-inset',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('gif','image/gif',1)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('gtar','application/x-gtar',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('gz','application/x-gzip',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('hdf','application/x-hdf',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('hqx','application/mac-binhex40',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('htm','text/html',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('html','text/html',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('ice','x-conference/x-cooltalk',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('ief','image/ief',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('iges','model/iges',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('igs','model/iges',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('jpe','image/jpeg',1)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('jpeg','image/jpeg',1)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('jpg','image/jpeg',1)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('js','application/x-javascript',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('kar','audio/midi',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('latex','application/x-latex',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('lha','application/octet-stream',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('lzh','application/octet-stream',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('m3u','audio/x-mpegurl',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('man','application/x-troff-man',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('me','application/x-troff-me',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('mesh','model/mesh',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('mid','audio/midi',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('midi','audio/midi',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('mif','application/vnd.mif',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('mov','video/quicktime',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('movie','video/x-sgi-movie',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('mp2','audio/mpeg',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('mp3','audio/mpeg',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('mpe','video/mpeg',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('mpeg','video/mpeg',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('mpg','video/mpeg',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('mpga','audio/mpeg',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('ms','application/x-troff-ms',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('msh','model/mesh',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('mxu','video/vnd.mpegurl',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('nc','application/x-netcdf',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('oda','application/oda',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('pbm','image/x-portable-bitmap',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('pdb','chemical/x-pdb',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('pdf','application/pdf',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('pgm','image/x-portable-graymap',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('pgn','application/x-chess-pgn',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('png','image/png',1)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('pnm','image/x-portable-anymap',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('ppm','image/x-portable-pixmap',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('ppt','application/vnd.ms-powerpoint',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('ps','application/postscript',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('qt','video/quicktime',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('ra','audio/x-realaudio',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('ram','audio/x-pn-realaudio',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('ras','image/x-cmu-raster',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('rgb','image/x-rgb',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('rm','audio/x-pn-realaudio',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('roff','application/x-troff',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('rpm','audio/x-pn-realaudio-plugin',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('rtf','text/rtf',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('rtx','text/richtext',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('sgm','text/sgml',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('sgml','text/sgml',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('sh','application/x-sh',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('shar','application/x-shar',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('silo','model/mesh',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('sit','application/x-stuffit',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('skd','application/x-koan',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('skm','application/x-koan',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('skp','application/x-koan',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('skt','application/x-koan',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('smi','application/smil',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('smil','application/smil',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('snd','audio/basic',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('so','application/octet-stream',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('spl','application/x-futuresplash',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('src','application/x-wais-source',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('sv4cpio','application/x-sv4cpio',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('sv4crc','application/x-sv4crc',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('svg','image/svg+xml',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('swf','application/x-shockwave-flash',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('t','application/x-troff',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('tar','application/x-tar',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('tcl','application/x-tcl',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('tex','application/x-tex',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('texi','application/x-texinfo',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('texinfo','application/x-texinfo',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('tif','image/tiff',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('tiff','image/tiff',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('tr','application/x-troff',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('tsv','text/tab-separated-values',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('txt','text/plain',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('ustar','application/x-ustar',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('vcd','application/x-cdlink',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('vrml','model/vrml',0)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_MimeTypeMap (g_extension, g_mimeType, g_viewable)
VALUES ('vsd','application/vnd.visio',0)
--------

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2005-08-20 15:36

the upgrader doesn't just start randomly. it starts if you've just replaced the gallery2 folder with a new version.

and your debug output seems to be incomplete.

 
rkoftan

Joined: 2005-08-15
Posts: 34
Posted: Sat, 2005-08-20 15:43

You're right - sorry. I made some changes to the file paths; I swapped the names for the old and new gallery and didn't change DNS in the Apache config.

Please delete this thread.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sat, 2005-08-20 16:02

Just go back to your fist post, Edit and prefix the subject with [SOLVED]