Upgrade core crash..

generik

Joined: 2005-01-09
Posts: 1
Posted: Sun, 2005-01-09 04:55

Hi,

I was trying to install G2 alpha4 (new install), but it doesn't work out..

Below is the stack trace I got..

Error (ERROR_STORAGE_FAILURE)

* in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 720 (gallerystatus::error)
* in modules/core/classes/GalleryStorage.class at line 220 (mysqldatabasestorage::search)
* in modules/core/classes/Gallery.class at line 184 (gallerystorage::search)
* in modules/core/classes/helpers/GalleryPluginHelper_simple.class at line 230 (gallery::search)
* in modules/core/classes/helpers/GalleryPluginHelper_medium.class at line 325 (gallerypluginhelper_simple::fetchallparameters)
* in modules/core/classes/GalleryCoreApi.class at line 306 (gallerypluginhelper_medium::setparameter)
* in modules/core/classes/GalleryPlugin.class at line 210 (gallerycoreapi::setpluginparameter)
* in modules/core/CoreModuleExtras.inc at line 110 (coremodule::setparameter)
* in modules/core/module.inc at line 663 (coremoduleextras::upgrade)
* in modules/core/classes/GalleryModule.class at line 168 (coremodule::upgrade)
* in upgrade/steps/UpgradeCoreModuleStep.class at line 50 (coremodule::installorupgrade)
* in upgrade/index.php at line 146 (upgradecoremodulestep::loadtemplatedata)

And here is the debug output:

file_exists(/hsphere/local/home/infosyna/gallery.infosynaptics.com/g2data/sessions/e53aba3d64e69175c387f14a5a3e8d9f)
clearstatcache()
filesize(/hsphere/local/home/infosyna/gallery.infosynaptics.com/g2data/sessions/e53aba3d64e69175c387f14a5a3e8d9f)
fopen(/hsphere/local/home/infosyna/gallery.infosynaptics.com/g2data/sessions/e53aba3d64e69175c387f14a5a3e8d9f,
rb, 0)
flock(Resource id #25, 6, )
fread(Resource id #25, 4)
flock(Resource id #25, 3, )
fclose(Resource id #25)

(mysql): SHOW TABLES

file_exists(/hsphere/local/home/infosyna/gallery.infosynaptics.com/g2data//versions.dat)
file_exists(/hsphere/local/home/infosyna/gallery.infosynaptics.com/gallery2/modules/core/classes/GalleryStorage/../../../../modules/core/classes/GalleryStorage/DatabaseStorage/schema/platform/mysql)
opendir(/hsphere/local/home/infosyna/gallery.infosynaptics.com/gallery2/modules/core/classes/GalleryStorage/../../../../modules/core/classes/GalleryStorage/DatabaseStorage/schema/platform/mysql)
readdir(Resource id #40)
readdir(Resource id #40)
readdir(Resource id #40)
readdir(Resource id #40)
readdir(Resource id #40)
readdir(Resource id #40)
readdir(Resource id #40)
readdir(Resource id #40)
readdir(Resource id #40)
readdir(Resource id #40)
readdir(Resource id #40)
readdir(Resource id #40)
readdir(Resource id #40)
readdir(Resource id #40)
readdir(Resource id #40)
readdir(Resource id #40)
readdir(Resource id #40)
readdir(Resource id #40)
readdir(Resource id #40)
readdir(Resource id #40)
readdir(Resource id #40)
readdir(Resource id #40)
readdir(Resource id #40)
readdir(Resource id #40)
readdir(Resource id #40)
readdir(Resource id #40)
readdir(Resource id #40)
readdir(Resource id #40)
readdir(Resource id #40)
closedir(Resource id #40)

(mysql): SHOW TABLES

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

file_exists(/hsphere/local/home/infosyna/gallery.infosynaptics.com/g2data//versions.dat)
mysql error: [1146: Table 'INFOSYN_gallery.g2_PluginParameterMap' doesn't
exist] in EXECUTE("
SELECT
g2_PluginParameterMap.g_parameterName,
g2_PluginParameterMap.g_parameterValue
FROM
g2_PluginParameterMap
WHERE
g2_PluginParameterMap.g_pluginType = 'module'
AND
g2_PluginParameterMap.g_pluginId = 'core'
AND
g2_PluginParameterMap.g_itemId = 0
")

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

1146: Table 'INFOSYN_gallery.g2_PluginParameterMap' doesn't exist

adodb_mysql._execute(
SELECT
g2_PluginParameter...) % line 818, file: adodb.inc.php

adodb_mysql.execute(
SELECT
g2_PluginParameter..., Array[3]) % line 712, file: DatabaseStorage.class

mysqldatabasestorage.search(
SELECT
[GalleryPluginPara..., Array[3], Array[0]) % line 220, file: GalleryStorage.class
gallerystorage.search(
SELECT
[GalleryPluginPara..., Array[3], Array[0]) % line 184, file: Gallery.class
gallery.search(
SELECT
[GalleryPluginPara..., Array[3]) % line 230, file: GalleryPluginHelper_simple.class

mysql error: [1146: Table 'INFOSYN_gallery.g2_PluginParameterMap' doesn't
exist] in EXECUTE("
SELECT
g2_PluginParameterMap.g_parameterName,
g2_PluginParameterMap.g_parameterValue
FROM
g2_PluginParameterMap
WHERE
g2_PluginParameterMap.g_pluginType = 'module'
AND
g2_PluginParameterMap.g_pluginId = 'core'
AND
g2_PluginParameterMap.g_itemId = 0
")

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

1146: Table 'INFOSYN_gallery.g2_PluginParameterMap' doesn't exist

adodb_mysql._execute(
SELECT
g2_PluginParameter...) % line 818, file: adodb.inc.php

adodb_mysql.execute(
SELECT
g2_PluginParameter..., Array[3]) % line 712, file: DatabaseStorage.class

mysqldatabasestorage.search(
SELECT
[GalleryPluginPara..., Array[3], Array[0]) % line 220, file: GalleryStorage.class

gallerystorage.search(
SELECT
[GalleryPluginPara..., Array[3], Array[0]) % line 184, file: Gallery.class
gallery.search(
SELECT
[GalleryPluginPara..., Array[3]) % line 230, file: GalleryPluginHelper_simple.class

mysql error: [1146: Table 'INFOSYN_gallery.g2_PluginParameterMap' doesn't
exist] in EXECUTE("
SELECT
g2_PluginParameterMap.g_parameterName,
g2_PluginParameterMap.g_parameterValue
FROM
g2_PluginParameterMap
WHERE
g2_PluginParameterMap.g_pluginType = 'module'
AND
g2_PluginParameterMap.g_pluginId = 'core'
AND
g2_PluginParameterMap.g_itemId = 0
")

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

1146: Table 'INFOSYN_gallery.g2_PluginParameterMap' doesn't exist

adodb_mysql._execute(
SELECT
g2_PluginParameter...) % line 818, file: adodb.inc.php

adodb_mysql.execute(
SELECT
g2_PluginParameter..., Array[3]) % line 712, file: DatabaseStorage.class

mysqldatabasestorage.search(
SELECT
[GalleryPluginPara..., Array[3], Array[0]) % line 220, file: GalleryStorage.class
gallerystorage.search(
SELECT
[GalleryPluginPara..., Array[3], Array[0]) % line 184, file: Gallery.class
gallery.search(
SELECT
[GalleryPluginPara..., Array[3]) % line 230, file: GalleryPluginHelper_simple.class

realpath(/hsphere/local/home/infosyna/gallery.infosynaptics.com/gallery2/modules/core/classes/../../../)
mysql error: [1146: Table 'INFOSYN_gallery.g2_PluginMap' doesn't exist] in
EXECUTE("
SELECT
g2_PluginMap.g_pluginId,
g2_PluginMap.g_active
FROM
g2_PluginMap
WHERE
g2_PluginMap.g_pluginType = 'module'
")

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

1146: Table 'INFOSYN_gallery.g2_PluginMap' doesn't exist

adodb_mysql._execute(
SELECT
g2_PluginMap.g_pluginId,
...) % line 818, file: adodb.inc.php

adodb_mysql.execute(
SELECT
g2_PluginMap.g_pluginId,
..., Array[1]) % line 712, file:
DatabaseStorage.class

mysqldatabasestorage.search(
SELECT
[GalleryPluginMap::pluginId],
..., Array[1], Array[0]) % line 220,
file: GalleryStorage.class
gallerystorage.search(
SELECT
[GalleryPluginMap::pluginId],
..., Array[1], Array[0]) % line 184,
file: Gallery.class
gallery.search(
SELECT
[GalleryPluginMap::pluginId],
..., Array[1]) % line 395, file: GalleryPluginHelper_simple.class

<TYPE YOUR MESSAGE HERE, ENTER SYSTEM DETAILS BELOW>
<Please check the G2 FAQ (sticky topic in this forum) before posting!>
----

Gallery URL (optional):
Gallery version:
Webserver (with version):
Datatabase (with version):
PHP version (eg 4.2.1):
phpinfo URL (optional):
Graphics Toolkit(s):
Operating system:
Web browser/version:

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sun, 2005-01-09 06:47

please try again with the latest snapshot and let us know if it still doesn't work.. also include some of the requested information.