2.2 upgrader - An error occurred while upgrading Gallery Core Module

ruigato

Joined: 2006-07-26
Posts: 27
Posted: Sun, 2007-07-01 03:08

I think i messed up, i dont have a backup of database, is there any way i can revert this?
Thanks in advance..

Stack Trace:

Error (ERROR_STORAGE_FAILURE) : Error trying to run query: ALTER TABLE g2_Schema ADD COLUMN g_createSql text

    * in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 1723 (gallerycoreapi::error)
    * in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 1344 (gallerystorageextras::_executesql)
    * in modules/core/classes/GalleryStorage.class at line 740 (gallerystorageextras::configurestore)
    * in modules/core/CoreModuleExtras.inc at line 2136 (mysqlstorage::configurestore)
    * in modules/core/module.inc at line 433 (coremoduleextras::upgrade)
    * in modules/core/classes/GalleryModule.class at line 160 (coremodule::upgrade)
    * in upgrade/steps/UpgradeCoreModuleStep.class at line 85 (coremodule::installorupgrade)
    * in upgrade/index.php at line 185 (upgradecoremodulestep::processrequest) 

Debug Output:


  file_exists(/home/castelo/public_html/foto/albuns/versions.dat)
file(/home/castelo/public_html/foto/albuns/versions.dat, )
is_writeable(/home/castelo/public_html/foto/config.php)


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




--------------------------------------------------------
System and Gallery information:
--------------------------------------------------------
    Gallery version:	2.2-svn
    File integrity:	Ok
    SVN install:	No
    PHP version:	4.4.4 apache
    PHP memory limit:	40M
    PHP disable_functions:	dl
    PHP zend.ze1_compatibility_mode:	
    Webserver:	Apache/1.3.37 (Unix) mod_auth_passthrough/1.8
mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.4.4 FrontPage/5.0.2.2635.SR1.2
mod_ssl/2.8.28 OpenSSL/0.9.7a
    Database:	mysqlt 4.1.22-standard
    Operating system:	Linux accord.websitewelcome.com 2.6.17.11-grsechg #8
SMP Sat Sep 23 04:27:43 CDT 2006 i686
    Browser:	 Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-PT; rv:1.8.1.4)
Gecko/20070515 Firefox/2.0.0.4
--------------------------------------------------------



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/castelo/public_html/foto/modules/)
readdir(Resource id #64)
is_dir(/home/castelo/public_html/foto/modules/keyalbum)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/mp3audio)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/linkitem)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/imageblock)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/hidden)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/archiveupload)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/thumbpage)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/search)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/panorama)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/httpauth)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/replica)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/rating)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/mime)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/watermark)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/core)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/sizelimit)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/webdav)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/netpbm)
file_exists(/home/castelo/public_html/foto/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 #64)
readdir(Resource id #64)
is_dir(/home/castelo/public_html/foto/modules/thumbnail)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/flashvideo)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/multiroot)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/exif)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/reupload)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/members)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/uploadapplet)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/nokiaupload)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/publishxp)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/digibug)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/permalinks)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/picasa)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/ecard)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/customfield)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/gd)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/rewrite)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/squarethumb)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/dcraw)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/colorpack)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/sitemap)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/multilang)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/getid3)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/debug)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/photoaccess)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/password)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/albumselect)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/imageframe)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/rss)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/useralbum)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/slideshow)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/cart)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/comment)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/slideshowapplet)
file_exists(/home/castelo/public_html/foto/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 #64)
readdir(Resource id #64)
is_dir(/home/castelo/public_html/foto/modules/rearrange)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/zipcart)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/dynamicalbum)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/webcam)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/fotokasten)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/quotas)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/newitems)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/register)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/captcha)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/icons)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/migrate)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/randomhighlight)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/itemadd)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/imagemagick)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/remote)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/ffmpeg)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/shutterfly)
file_exists(/home/castelo/public_html/foto/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 #64)
is_dir(/home/castelo/public_html/foto/modules/integrity)
file_exists(/home/castelo/public_html/foto/modules/integrity/module.inc)
getParameter _version for integrity 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 = 'integrity'
	    AND
	    g2_PluginParameterMap.g_itemId = 0   


getParameter _callbacks for integrity plugin
getParameter _requiredCoreApi for integrity plugin
getParameter _requiredModuleApi for integrity plugin
readdir(Resource id #64)
closedir(Resource id #64)

(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/castelo/public_html/foto/modules/core/classes/GalleryStorage/schema.tpl)
file(/home/castelo/public_html/foto/modules/core/classes/GalleryStorage/schema.tpl,
)

(mysqlt): SHOW TABLES   



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


Upgrade (or install) core module
Entering CoreModuleExtras::upgrade
Old version: 1.1.20   New version: 1.2.0.4

(mysqlt): SHOW CREATE TABLE `g2_Schema`   


The current version is 1.1.20
file_exists(/home/castelo/public_html/foto/modules/core/classes/GalleryStorage/schema.tpl)
file(/home/castelo/public_html/foto/modules/core/classes/GalleryStorage/schema.tpl,
)

(mysqlt): SHOW TABLES   



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


file_exists(/home/castelo/public_html/foto/albuns/plugins_data/modules/core/repository)
file_exists(/home/castelo/public_html/foto/modules/core/classes/GalleryStorage/schema.tpl)
file(/home/castelo/public_html/foto/modules/core/classes/GalleryStorage/schema.tpl,
)

(mysqlt): SHOW TABLES   



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


mysqlt error: [1060: Duplicate column name 'g_createSql'] in EXECUTE("ALTER
TABLE g2_Schema
  ADD COLUMN g_createSql text")


(mysqlt): ALTER TABLE g2_Schema
  ADD COLUMN g_createSql text   

1060: Duplicate column name 'g_createSql'

                    
adodb_mysqlt._execute(ALTER TABLE
g2_Schema
  ADD COLUMN g_createSql text, false) %
line  889, file: adodb.inc.php
                  adodb_mysqlt.execute(ALTER TABLE g2_Schema
  ADD COLUMN g_createSql text) % line
1719, file: GalleryStorageExtras.class
               gallerystorageextras._executesql(ALTER TABLE
DB_TABLE_PREFIXSchema
  ADD COLUMN DB_COLUMN_PREFIXcreateSql text;

UPDATE DB_TABLE_PREFIXSchema
  SET DB_COLUMN_PRE...) % line 1344,
file: GalleryStorageExtras.class
            gallerystorageextras.configurestore(core,
Array[1]) % line  740, file: GalleryStorage.class
         mysqlstorage.configurestore(core, Array[1]) % line 2136, file: CoreModuleExtras.inc


realpath(/home/castelo/public_html/foto/modules/core/classes/../../../)
realpath(/home/castelo/public_html/foto/)
Error: Failed to upgrade the core module, this is the error stack trace:
Error (ERROR_STORAGE_FAILURE) : Error trying to run query: ALTER TABLE
g2_Schema
  ADD COLUMN g_createSql text in
modules/core/classes/GalleryStorage/GalleryStorageExtras.class at
line 1723 (gallerycoreapi::error) 
in modules/core/classes/GalleryStorage/GalleryStorageExtras.class
at line 1344 (gallerystorageextras::_executesql) 
in modules/core/classes/GalleryStorage.class at line 740
(gallerystorageextras::configurestore) 
in modules/core/CoreModuleExtras.inc at line 2136
(mysqlstorage::configurestore) 
in modules/core/module.inc at line 433
(coremoduleextras::upgrade) 
in modules/core/classes/GalleryModule.class at line 160
(coremodule::upgrade) 
in upgrade/steps/UpgradeCoreModuleStep.class at line 85
(coremodule::installorupgrade) 
in upgrade/index.php at line 185
(upgradecoremodulestep::processrequest) 

realpath(/home/castelo/public_html/foto/modules/core/classes/../../../)
realpath(/home/castelo/public_html/foto/)
      
 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2007-07-01 14:05

please restore your db backup to get your previous version of g2 running again.

@error:
this is probably the error of a retry. it's not the error of your first upgrade attempt that failed.
please post all your upgrade logs which are located in your g2data folder. please post them as file attachements and do NOT paste the file contents in the forum.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
ruigato

Joined: 2006-07-26
Posts: 27
Posted: Sun, 2007-07-01 17:18

the problem is i didnt make a backup. The last upgrades were so smoth that i never tought something could go wrong. I think this was someking of timeout, or my connection failed because being connected trough Wi-Fi dunno.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2007-07-01 18:33

@php errors:
sounds like your files aren't intact / overwritten.
see:
FAQ: How can I make sure that my installation files are all intact?

please attach the upgrade logs (not the php error log). thanks.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
ruigato

Joined: 2006-07-26
Posts: 27
Posted: Sun, 2007-07-01 23:40

Thanks Valiant

my system checks are all fine:
PHP Version
Success
FILE Directive
Success
Safe Mode
Success
exec() allowed
Success
set_time_limit() allowed
Success
Memory limit (40Mb)
Success
File uploads allowed
Success
Maximum upload size (10Mb)
Success
Maximum POST size (8Mb)
Success
Translation support
Success
Storage Directory Permissions
Success
Gallery file integrity
Success

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2007-07-02 00:27

your first upgrade attempt seems to have died at some point. maybe due to php errors, maybe due to a server timeout.

since you don't have a backup, you'll have to do a few things manually now.
use phpmyadmin or any other tool to run manual SQL commands against your mysql database.

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

UPDATE g2_Schema
SET g_major=1, g_minor=1
WHERE g_name='CacheMap' AND g_major=1 AND g_minor=0;

UPDATE g2_Schema
SET g_major=1, g_minor=1
WHERE g_name='Schema' AND g_major=1 AND g_minor=0;

then create a backup of your database.
then try to upgrade again.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
ruigato

Joined: 2006-07-26
Posts: 27
Posted: Mon, 2007-07-02 01:38

First of all thanks for your help.

gave me an error:

Comando SQL:

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

Mensagens do MySQL : Documentação
#1062 - Duplicate entry 'FailedLoginsMap' for key 1 
Comando SQL: Documentação

SELECT *
FROM Array
WHERE CONCAT_WS( "-", g_name, g_major, g_minor ) = "failedloginsmap"
ORDER BY g_name, g_major, g_minor
LIMIT 0 , 30

Mensagens do MySQL : Documentação
#1146 - Table 'castelo_foto.Array' doesn't exist 
 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2007-07-02 10:47

please post here the output of:

select * from g2_Schema;

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
ruigato

Joined: 2006-07-26
Posts: 27
Posted: Mon, 2007-07-02 11:15

Thank you againg, i hope this is the data you want, i'm realy blind in here

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2007-07-02 11:42

please run this query:

UPDATE g2_Schema SET g_major=1, g_minor=1 WHERE g_name='Schema' AND g_major=1 AND g_minor=0;

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
ruigato

Joined: 2006-07-26
Posts: 27
Posted: Mon, 2007-07-02 15:38

Wow, is was a smoth upgrade as usual, i think my internet connection drop in the first atemp, wi-fi networs suck.

Vallian, you save my day, thanks for the great help, its all working again thanks to you

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2007-07-02 20:39

good!
still, please backup your DB before your next upgrade. :)

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage