An error occurred while upgrading Gallery Core Module

coax_k

Joined: 2007-08-06
Posts: 1
Posted: Mon, 2007-08-06 03:49


Gallery version (not just "2"): mid upgrade to 2.2 from 2.1
PHP version (e.g. 5.1.6): 5.2.2
PHPInfo Link (see FAQ): http://www.6n6.net/status/index.php?action=phpinfo
Webserver (e.g. Apache 1.3.33): apache
Database (e.g. MySql 5.0.32): 5.0.27
Activated toolkits (e.g. NetPbm, GD):
Operating system (e.g. Linux): CentOS 4
Browser (e.g. Firefox 2.0): 2.0.0.6

Hi All,

Ran a WHM/Cpanel/Fantastico upgrade of Gallery from 2.1 to 2.2 all went fine until at the Core Upgrade step:

"An error occurred while upgrading Gallery Core Module"

was received through the online updater page.

Stack trace etc, below. Any help is very much appreciated.

 Stack Trace:
Error (ERROR_STORAGE_FAILURE) : Error trying to run query: INSERT INTO g2_Schema ( g_name, g_major, g_minor ) VALUES('FailedLoginsMap', 1, 0)

    * in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 1723 (GalleryCoreApi::error)
    * in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 1312 (GalleryStorageExtras::_executeSql)
    * in modules/core/classes/GalleryStorage.class at line 740 (GalleryStorageExtras::configureStore)
    * in modules/core/classes/GalleryModule.class at line 146 (GalleryStorage::configureStore)
    * in upgrade/steps/UpgradeCoreModuleStep.class at line 85 (GalleryModule::installOrUpgrade)
    * in upgrade/index.php at line 185 (UpgradeCoreModuleStep::processRequest) 


Debug Output:

      file_exists(/home/global/public_html/gallery/g2data/versions.dat)
file(/home/global/public_html/gallery/g2data/versions.dat, )
is_writeable(/home/global/public_html/gallery/config.php)


--------------------------------------------------------
	Upgrade Core Module
--------------------------------------------------------




--------------------------------------------------------
System and Gallery information:
--------------------------------------------------------
    Gallery version:	2.2.1
    File integrity:	There are some old files
    SVN install:	No
    PHP version:	5.2.2 apache
    PHP memory limit:	32M
    PHP disable_functions:	
    PHP zend.ze1_compatibility_mode:	0
    Webserver:	Apache
    Database:	mysqlt 5.0.27-standard
    Operating system:	Linux tank.6n6.net 2.6.9-55.0.2.EL #1 Tue Jun 26
14:08:18 EDT 2007 i686
    Browser:	 Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.6)
Gecko/20070725 Firefox/2.0.0.6
--------------------------------------------------------



getParameter id.adminGroup for core plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    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   



(mysqlt): 
	SELECT
	  g2_UserGroupMap.g_userId,
	  g2_User.g_userName
	FROM
	  g2_UserGroupMap, g2_User
	WHERE
	  g2_UserGroupMap.g_groupId = 3
	  AND
	  g2_UserGroupMap.g_userId = g2_User.g_id
	
	ORDER BY
	  g2_User.g_userName
	 LIMIT 1   



(mysqlt): SELECT g_id, g_entityType FROM g2_Entity WHERE g_id IN (6)
  



(mysqlt): 
	    SELECT
	      g2_PluginMap.g_pluginId,
	      g2_PluginMap.g_active
	    FROM
	      g2_PluginMap
	    WHERE
	      g2_PluginMap.g_pluginType = 'module'
	       


opendir(/home/global/public_html/gallery/modules/)
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/watermark)
file_exists(/home/global/public_html/gallery/modules/watermark/module.inc)
getParameter _version for watermark plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'watermark'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for watermark plugin
getParameter _requiredCoreApi for watermark plugin
getParameter _requiredModuleApi for watermark plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/useralbum)
file_exists(/home/global/public_html/gallery/modules/useralbum/module.inc)
getParameter _version for useralbum plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'useralbum'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for useralbum plugin
getParameter _requiredCoreApi for useralbum plugin
getParameter _requiredModuleApi for useralbum plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/captcha)
file_exists(/home/global/public_html/gallery/modules/captcha/module.inc)
getParameter _version for captcha plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'captcha'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for captcha plugin
getParameter _requiredCoreApi for captcha plugin
getParameter _requiredModuleApi for captcha plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/ffmpeg)
file_exists(/home/global/public_html/gallery/modules/ffmpeg/module.inc)
getParameter _version for ffmpeg plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'ffmpeg'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for ffmpeg plugin
getParameter _requiredCoreApi for ffmpeg plugin
getParameter _requiredModuleApi for ffmpeg plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/zipcart)
file_exists(/home/global/public_html/gallery/modules/zipcart/module.inc)
getParameter _version for zipcart plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'zipcart'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for zipcart plugin
getParameter _requiredCoreApi for zipcart plugin
getParameter _requiredModuleApi for zipcart plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/search)
file_exists(/home/global/public_html/gallery/modules/search/module.inc)
getParameter _version for search plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'search'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for search plugin
getParameter _requiredCoreApi for search plugin
getParameter _requiredModuleApi for search plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/gd)
file_exists(/home/global/public_html/gallery/modules/gd/module.inc)
getParameter _version for gd plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'gd'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for gd plugin
getParameter _requiredCoreApi for gd plugin
getParameter _requiredModuleApi for gd plugin
readdir(Resource id #61)
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/rearrange)
file_exists(/home/global/public_html/gallery/modules/rearrange/module.inc)
getParameter _version for rearrange plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'rearrange'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for rearrange plugin
getParameter _requiredCoreApi for rearrange plugin
getParameter _requiredModuleApi for rearrange plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/newitems)
file_exists(/home/global/public_html/gallery/modules/newitems/module.inc)
getParameter _version for newitems plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'newitems'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for newitems plugin
getParameter _requiredCoreApi for newitems plugin
getParameter _requiredModuleApi for newitems plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/replica)
file_exists(/home/global/public_html/gallery/modules/replica/module.inc)
getParameter _version for replica plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'replica'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for replica plugin
getParameter _requiredCoreApi for replica plugin
getParameter _requiredModuleApi for replica plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/getid3)
file_exists(/home/global/public_html/gallery/modules/getid3/module.inc)
getParameter _version for getid3 plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'getid3'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for getid3 plugin
getParameter _requiredCoreApi for getid3 plugin
getParameter _requiredModuleApi for getid3 plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/register)
file_exists(/home/global/public_html/gallery/modules/register/module.inc)
getParameter _version for register plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'register'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for register plugin
getParameter _requiredCoreApi for register plugin
getParameter _requiredModuleApi for register plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/rating)
file_exists(/home/global/public_html/gallery/modules/rating/module.inc)
getParameter _version for rating plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'rating'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for rating plugin
getParameter _requiredCoreApi for rating plugin
getParameter _requiredModuleApi for rating plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/multiroot)
file_exists(/home/global/public_html/gallery/modules/multiroot/module.inc)
getParameter _version for multiroot plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'multiroot'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for multiroot plugin
getParameter _requiredCoreApi for multiroot plugin
getParameter _requiredModuleApi for multiroot plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/sitemap)
file_exists(/home/global/public_html/gallery/modules/sitemap/module.inc)
getParameter _version for sitemap plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'sitemap'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for sitemap plugin
getParameter _requiredCoreApi for sitemap plugin
getParameter _requiredModuleApi for sitemap plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/httpauth)
file_exists(/home/global/public_html/gallery/modules/httpauth/module.inc)
getParameter _version for httpauth plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'httpauth'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for httpauth plugin
getParameter _requiredCoreApi for httpauth plugin
getParameter _requiredModuleApi for httpauth plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/thumbpage)
file_exists(/home/global/public_html/gallery/modules/thumbpage/module.inc)
getParameter _version for thumbpage plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'thumbpage'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for thumbpage plugin
getParameter _requiredCoreApi for thumbpage plugin
getParameter _requiredModuleApi for thumbpage plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/members)
file_exists(/home/global/public_html/gallery/modules/members/module.inc)
getParameter _version for members plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'members'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for members plugin
getParameter _requiredCoreApi for members plugin
getParameter _requiredModuleApi for members plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/core)
file_exists(/home/global/public_html/gallery/modules/core/module.inc)
getParameter _version for core plugin
getParameter _callbacks for core plugin
getParameter _requiredCoreApi for core plugin
getParameter _requiredModuleApi for core plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/keyalbum)
file_exists(/home/global/public_html/gallery/modules/keyalbum/module.inc)
getParameter _version for keyalbum plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'keyalbum'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for keyalbum plugin
getParameter _requiredCoreApi for keyalbum plugin
getParameter _requiredModuleApi for keyalbum plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/cart)
file_exists(/home/global/public_html/gallery/modules/cart/module.inc)
getParameter _version for cart plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'cart'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for cart plugin
getParameter _requiredCoreApi for cart plugin
getParameter _requiredModuleApi for cart plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/imageframe)
file_exists(/home/global/public_html/gallery/modules/imageframe/module.inc)
getParameter _version for imageframe plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'imageframe'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for imageframe plugin
getParameter _requiredCoreApi for imageframe plugin
getParameter _requiredModuleApi for imageframe plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/fotokasten)
file_exists(/home/global/public_html/gallery/modules/fotokasten/module.inc)
getParameter _version for fotokasten plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'fotokasten'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for fotokasten plugin
getParameter _requiredCoreApi for fotokasten plugin
getParameter _requiredModuleApi for fotokasten plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/permalinks)
file_exists(/home/global/public_html/gallery/modules/permalinks/module.inc)
getParameter _version for permalinks plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'permalinks'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for permalinks plugin
getParameter _requiredCoreApi for permalinks plugin
getParameter _requiredModuleApi for permalinks plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/sizelimit)
file_exists(/home/global/public_html/gallery/modules/sizelimit/module.inc)
getParameter _version for sizelimit plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'sizelimit'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for sizelimit plugin
getParameter _requiredCoreApi for sizelimit plugin
getParameter _requiredModuleApi for sizelimit plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/squarethumb)
file_exists(/home/global/public_html/gallery/modules/squarethumb/module.inc)
getParameter _version for squarethumb plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'squarethumb'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for squarethumb plugin
getParameter _requiredCoreApi for squarethumb plugin
getParameter _requiredModuleApi for squarethumb plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/multilang)
file_exists(/home/global/public_html/gallery/modules/multilang/module.inc)
getParameter _version for multilang plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'multilang'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for multilang plugin
getParameter _requiredCoreApi for multilang plugin
getParameter _requiredModuleApi for multilang plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/picasa)
file_exists(/home/global/public_html/gallery/modules/picasa/module.inc)
getParameter _version for picasa plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'picasa'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for picasa plugin
getParameter _requiredCoreApi for picasa plugin
getParameter _requiredModuleApi for picasa plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/panorama)
file_exists(/home/global/public_html/gallery/modules/panorama/module.inc)
getParameter _version for panorama plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'panorama'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for panorama plugin
getParameter _requiredCoreApi for panorama plugin
getParameter _requiredModuleApi for panorama plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/mime)
file_exists(/home/global/public_html/gallery/modules/mime/module.inc)
getParameter _version for mime plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'mime'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for mime plugin
getParameter _requiredCoreApi for mime plugin
getParameter _requiredModuleApi for mime plugin
readdir(Resource id #61)
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/mp3audio)
file_exists(/home/global/public_html/gallery/modules/mp3audio/module.inc)
getParameter _version for mp3audio plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'mp3audio'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for mp3audio plugin
getParameter _requiredCoreApi for mp3audio plugin
getParameter _requiredModuleApi for mp3audio plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/migrate)
file_exists(/home/global/public_html/gallery/modules/migrate/module.inc)
getParameter _version for migrate plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'migrate'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for migrate plugin
getParameter _requiredCoreApi for migrate plugin
getParameter _requiredModuleApi for migrate plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/nokiaupload)
file_exists(/home/global/public_html/gallery/modules/nokiaupload/module.inc)
getParameter _version for nokiaupload plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'nokiaupload'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for nokiaupload plugin
getParameter _requiredCoreApi for nokiaupload plugin
getParameter _requiredModuleApi for nokiaupload plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/publishxp)
file_exists(/home/global/public_html/gallery/modules/publishxp/module.inc)
getParameter _version for publishxp plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'publishxp'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for publishxp plugin
getParameter _requiredCoreApi for publishxp plugin
getParameter _requiredModuleApi for publishxp plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/slideshow)
file_exists(/home/global/public_html/gallery/modules/slideshow/module.inc)
getParameter _version for slideshow plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'slideshow'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for slideshow plugin
getParameter _requiredCoreApi for slideshow plugin
getParameter _requiredModuleApi for slideshow plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/colorpack)
file_exists(/home/global/public_html/gallery/modules/colorpack/module.inc)
getParameter _version for colorpack plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'colorpack'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for colorpack plugin
getParameter _requiredCoreApi for colorpack plugin
getParameter _requiredModuleApi for colorpack plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/password)
file_exists(/home/global/public_html/gallery/modules/password/module.inc)
getParameter _version for password plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'password'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for password plugin
getParameter _requiredCoreApi for password plugin
getParameter _requiredModuleApi for password plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/imagemagick)
file_exists(/home/global/public_html/gallery/modules/imagemagick/module.inc)
getParameter _version for imagemagick plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'imagemagick'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for imagemagick plugin
getParameter _requiredCoreApi for imagemagick plugin
getParameter _requiredModuleApi for imagemagick plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/rss)
file_exists(/home/global/public_html/gallery/modules/rss/module.inc)
getParameter _version for rss plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'rss'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for rss plugin
getParameter _requiredCoreApi for rss plugin
getParameter _requiredModuleApi for rss plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/netpbm)
file_exists(/home/global/public_html/gallery/modules/netpbm/module.inc)
getParameter _version for netpbm plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'netpbm'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for netpbm plugin
getParameter _requiredCoreApi for netpbm plugin
getParameter _requiredModuleApi for netpbm plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/hidden)
file_exists(/home/global/public_html/gallery/modules/hidden/module.inc)
getParameter _version for hidden plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'hidden'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for hidden plugin
getParameter _requiredCoreApi for hidden plugin
getParameter _requiredModuleApi for hidden plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/slideshowapplet)
file_exists(/home/global/public_html/gallery/modules/slideshowapplet/module.inc)
getParameter _version for slideshowapplet plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'slideshowapplet'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for slideshowapplet plugin
getParameter _requiredCoreApi for slideshowapplet plugin
getParameter _requiredModuleApi for slideshowapplet plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/imageblock)
file_exists(/home/global/public_html/gallery/modules/imageblock/module.inc)
getParameter _version for imageblock plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'imageblock'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for imageblock plugin
getParameter _requiredCoreApi for imageblock plugin
getParameter _requiredModuleApi for imageblock plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/ecard)
file_exists(/home/global/public_html/gallery/modules/ecard/module.inc)
getParameter _version for ecard plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'ecard'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for ecard plugin
getParameter _requiredCoreApi for ecard plugin
getParameter _requiredModuleApi for ecard plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/exif)
file_exists(/home/global/public_html/gallery/modules/exif/module.inc)
getParameter _version for exif plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'exif'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for exif plugin
getParameter _requiredCoreApi for exif plugin
getParameter _requiredModuleApi for exif plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/photoaccess)
file_exists(/home/global/public_html/gallery/modules/photoaccess/module.inc)
getParameter _version for photoaccess plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'photoaccess'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for photoaccess plugin
getParameter _requiredCoreApi for photoaccess plugin
getParameter _requiredModuleApi for photoaccess plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/debug)
file_exists(/home/global/public_html/gallery/modules/debug/module.inc)
getParameter _version for debug plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'debug'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for debug plugin
getParameter _requiredCoreApi for debug plugin
getParameter _requiredModuleApi for debug plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/flashvideo)
file_exists(/home/global/public_html/gallery/modules/flashvideo/module.inc)
getParameter _version for flashvideo plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'flashvideo'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for flashvideo plugin
getParameter _requiredCoreApi for flashvideo plugin
getParameter _requiredModuleApi for flashvideo plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/dynamicalbum)
file_exists(/home/global/public_html/gallery/modules/dynamicalbum/module.inc)
getParameter _version for dynamicalbum plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'dynamicalbum'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for dynamicalbum plugin
getParameter _requiredCoreApi for dynamicalbum plugin
getParameter _requiredModuleApi for dynamicalbum plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/customfield)
file_exists(/home/global/public_html/gallery/modules/customfield/module.inc)
getParameter _version for customfield plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'customfield'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for customfield plugin
getParameter _requiredCoreApi for customfield plugin
getParameter _requiredModuleApi for customfield plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/remote)
file_exists(/home/global/public_html/gallery/modules/remote/module.inc)
getParameter _version for remote plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'remote'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for remote plugin
getParameter _requiredCoreApi for remote plugin
getParameter _requiredModuleApi for remote plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/webcam)
file_exists(/home/global/public_html/gallery/modules/webcam/module.inc)
getParameter _version for webcam plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'webcam'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for webcam plugin
getParameter _requiredCoreApi for webcam plugin
getParameter _requiredModuleApi for webcam plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/uploadapplet)
file_exists(/home/global/public_html/gallery/modules/uploadapplet/module.inc)
getParameter _version for uploadapplet plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'uploadapplet'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for uploadapplet plugin
getParameter _requiredCoreApi for uploadapplet plugin
getParameter _requiredModuleApi for uploadapplet plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/digibug)
file_exists(/home/global/public_html/gallery/modules/digibug/module.inc)
getParameter _version for digibug plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'digibug'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for digibug plugin
getParameter _requiredCoreApi for digibug plugin
getParameter _requiredModuleApi for digibug plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/archiveupload)
file_exists(/home/global/public_html/gallery/modules/archiveupload/module.inc)
getParameter _version for archiveupload plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'archiveupload'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for archiveupload plugin
getParameter _requiredCoreApi for archiveupload plugin
getParameter _requiredModuleApi for archiveupload plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/icons)
file_exists(/home/global/public_html/gallery/modules/icons/module.inc)
getParameter _version for icons plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'icons'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for icons plugin
getParameter _requiredCoreApi for icons plugin
getParameter _requiredModuleApi for icons plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/thumbnail)
file_exists(/home/global/public_html/gallery/modules/thumbnail/module.inc)
getParameter _version for thumbnail plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'thumbnail'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for thumbnail plugin
getParameter _requiredCoreApi for thumbnail plugin
getParameter _requiredModuleApi for thumbnail plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/albumselect)
file_exists(/home/global/public_html/gallery/modules/albumselect/module.inc)
getParameter _version for albumselect plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'albumselect'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for albumselect plugin
getParameter _requiredCoreApi for albumselect plugin
getParameter _requiredModuleApi for albumselect plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/dcraw)
file_exists(/home/global/public_html/gallery/modules/dcraw/module.inc)
getParameter _version for dcraw plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'dcraw'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for dcraw plugin
getParameter _requiredCoreApi for dcraw plugin
getParameter _requiredModuleApi for dcraw plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/shutterfly)
file_exists(/home/global/public_html/gallery/modules/shutterfly/module.inc)
getParameter _version for shutterfly plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'shutterfly'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for shutterfly plugin
getParameter _requiredCoreApi for shutterfly plugin
getParameter _requiredModuleApi for shutterfly plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/linkitem)
file_exists(/home/global/public_html/gallery/modules/linkitem/module.inc)
getParameter _version for linkitem plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'linkitem'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for linkitem plugin
getParameter _requiredCoreApi for linkitem plugin
getParameter _requiredModuleApi for linkitem plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/randomhighlight)
file_exists(/home/global/public_html/gallery/modules/randomhighlight/module.inc)
getParameter _version for randomhighlight plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'randomhighlight'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for randomhighlight plugin
getParameter _requiredCoreApi for randomhighlight plugin
getParameter _requiredModuleApi for randomhighlight plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/reupload)
file_exists(/home/global/public_html/gallery/modules/reupload/module.inc)
getParameter _version for reupload plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'reupload'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for reupload plugin
getParameter _requiredCoreApi for reupload plugin
getParameter _requiredModuleApi for reupload plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/itemadd)
file_exists(/home/global/public_html/gallery/modules/itemadd/module.inc)
getParameter _version for itemadd plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'itemadd'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for itemadd plugin
getParameter _requiredCoreApi for itemadd plugin
getParameter _requiredModuleApi for itemadd plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/quotas)
file_exists(/home/global/public_html/gallery/modules/quotas/module.inc)
getParameter _version for quotas plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'quotas'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for quotas plugin
getParameter _requiredCoreApi for quotas plugin
getParameter _requiredModuleApi for quotas plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/comment)
file_exists(/home/global/public_html/gallery/modules/comment/module.inc)
getParameter _version for comment plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'comment'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for comment plugin
getParameter _requiredCoreApi for comment plugin
getParameter _requiredModuleApi for comment plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/webdav)
file_exists(/home/global/public_html/gallery/modules/webdav/module.inc)
getParameter _version for webdav plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'webdav'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for webdav plugin
getParameter _requiredCoreApi for webdav plugin
getParameter _requiredModuleApi for webdav plugin
readdir(Resource id #61)
is_dir(/home/global/public_html/gallery/modules/rewrite)
file_exists(/home/global/public_html/gallery/modules/rewrite/module.inc)
getParameter _version for rewrite plugin

(mysqlt): 
	  SELECT
	    g2_PluginParameterMap.g_itemId,
	    g2_PluginParameterMap.g_parameterName,
	    g2_PluginParameterMap.g_parameterValue
	  FROM
	    g2_PluginParameterMap
	  WHERE
	    g2_PluginParameterMap.g_pluginType = 'module'
	    AND
	    g2_PluginParameterMap.g_pluginId = 'rewrite'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for rewrite plugin
getParameter _requiredCoreApi for rewrite plugin
getParameter _requiredModuleApi for rewrite plugin
readdir(Resource id #61)
closedir(Resource id #61)

(mysqlt): SELECT g2_User.g_userName, g2_User.g_fullName,
g2_User.g_hashedPassword, g2_User.g_email, g2_User.g_language,
g2_User.g_locked, g2_Entity.g_id, g2_Entity.g_creationTimestamp,
g2_Entity.g_isLinkable, g2_Entity.g_linkId,
g2_Entity.g_modificationTimestamp, g2_Entity.g_serialNumber,
g2_Entity.g_entityType, g2_Entity.g_onLoadHandlers FROM g2_User, g2_Entity
WHERE g2_User.g_id IN (6) AND g2_Entity.g_id=g2_User.g_id   


GalleryModule::installOrUpgrade core module
In bootstrap mode (core module)
Configure store for core module

(mysqlt): SET AUTOCOMMIT=0   


(mysqlt): BEGIN   


file_exists(/home/global/public_html/gallery/modules/core/classes/GalleryStorage/schema.tpl)
file(/home/global/public_html/gallery/modules/core/classes/GalleryStorage/schema.tpl,
)

(mysqlt): SHOW TABLES   



(mysqlt): SELECT g_name, g_major, g_minor FROM g2_Schema   



(mysqlt): CREATE TABLE g2_FailedLoginsMap(
 g_userName varchar(32) NOT NULL,
 g_count int(11) NOT NULL,
 g_lastAttempt int(11) NOT NULL,
 PRIMARY KEY(g_userName)
) ENGINE=InnoDB
/*!40100 DEFAULT CHARACTER SET utf8 */   


mysqlt error: [1062: Duplicate entry 'FailedLoginsMap' for key 1] in
EXECUTE("INSERT INTO g2_Schema (
 g_name,
 g_major,
 g_minor
) VALUES('FailedLoginsMap', 1, 0)")


(mysqlt): INSERT INTO g2_Schema (
 g_name,
 g_major,
 g_minor
) VALUES('FailedLoginsMap', 1, 0)   

1062: Duplicate entry 'FailedLoginsMap' for key 1

               ADOConnection._Execute(INSERT INTO g2_Schema (
 g_name,
 g_major,
 g_minor
) VALUES('FailedLoginsMap', 1, 0), false) % line  889, file: adodb.inc.php
            ADOConnection.Execute(INSERT INTO g2_Schema (
 g_name,
 g_major,
 g_minor
) VALUES('FailedLoginsMap', 1, 0)) %
line 1719, file: GalleryStorageExtras.class
         GalleryStorageExtras._executeSql(CREATE TABLE
DB_TABLE_PREFIXFailedLoginsMap(
 DB_COLUMN_PREFIXuserName varchar(32) NOT NULL,
 DB_COLUMN_PREFIXcount int(11) NOT ...)
% line 1312, file: GalleryStorageExtras.class
      GalleryStorageExtras.configureStore(core,
Array[0]) % line  740, file: GalleryStorage.class
   GalleryStorage.configureStore(core) % line  146, file: GalleryModule.class


realpath(/home/global/public_html/gallery/modules/core/classes/../../../)
realpath(/home/global/public_html/gallery/)
Error: Failed to configure the persistent store, this is the error stack
trace: Error (ERROR_STORAGE_FAILURE) : Error trying to run query: INSERT
INTO g2_Schema (
 g_name,
 g_major,
 g_minor
) VALUES('FailedLoginsMap', 1, 0) in
modules/core/classes/GalleryStorage/GalleryStorageExtras.class at
line 1723 (GalleryCoreApi::error) 
in modules/core/classes/GalleryStorage/GalleryStorageExtras.class
at line 1312 (GalleryStorageExtras::_executeSql) 
in modules/core/classes/GalleryStorage.class at line 740
(GalleryStorageExtras::configureStore) 
in modules/core/classes/GalleryModule.class at line 146
(GalleryStorage::configureStore) 
in upgrade/steps/UpgradeCoreModuleStep.class at line 85
(GalleryModule::installOrUpgrade) 
in upgrade/index.php at line 185
(UpgradeCoreModuleStep::processRequest) 

realpath(/home/global/public_html/gallery/modules/core/classes/../../../)
realpath(/home/global/public_html/gallery/)
      
 
aksiden

Joined: 2007-08-06
Posts: 1
Posted: Mon, 2007-08-06 07:28

Hi everyone,

ISP: FREE.FR
Gallery 2.2 (gallery-2.2.2-full.zip) + Patch (gallery2.2-safe-mode-on-free.fr-mod-patch-2007-07-26)

I have the same problem but not...
I'm french and i install Gallery on FREE (ISP). I follow instructions given on your website but...
I don't know why, but a few time after the installation, i can't accès to gallery. I'm automatically redirect to the upgrade UI.
You can check my website: bakaweb.free.fr
So I follow intructions and i have the same problem as coax_k and this nonsens juste before:

Version installée Version du module Core : 0.8 (Gallery 2.0-alpha-3) <-- Why??? I don't install this version!!!
Nouvelle version Version du module Core : 1.2.0.4 (Gallery 2.2.2)

When i check version.dat in my data folder, versions are correct: 1.2.0.4 and 2.2.2