Stack Trace:
Error (ERROR_BAD_PATH) : Unable to read file
in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 1250 (gallerystatus::error)
in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 1025 (mysqldatabasestorage::_executesqlfile)
in modules/core/classes/GalleryStorage.class at line 338 (mysqldatabasestorage::configurestore)
in modules/core/classes/GalleryModule.class at line 163 (gallerystorage::configurestore)
in install/steps/InstallCoreModuleStep.class at line 68 (coremodule::installorupgrade)
in install/index.php at line 148 (installcoremodulestep::loadtemplatedata)
Debug Output:
file_exists(/home/doofy/public_html/gallery2/g2data/sessions/1c89d210e211e3ab5f76bf34f1686403)
file_exists(/home/doofy/public_html/gallery2/g2data/cache/module/core/0/0/0.inc)
--------------------------------------------------------------------------------
(mysqlt): ROLLBACK
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
(mysqlt): SET AUTOCOMMIT=1
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
(mysqlt): SET AUTOCOMMIT=0
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
(mysqlt): BEGIN
--------------------------------------------------------------------------------
mysqlt error: [1146: Table 'doofy_galley2.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
")
--------------------------------------------------------------------------------
(mysqlt):
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 'doofy_galley2.g2_PluginParameterMap' doesn't exist
adodb_mysqlt._execute(
SELECT
g2_PluginParameter...) % line 818, file: adodb.inc.php
adodb_mysqlt.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
--------------------------------------------------------------------------------
(mysqlt): SHOW TABLES
--------------------------------------------------------------------------------
file_exists(/home/doofy/public_html/gallery2/modules/core/classes/helpers/../../../../modules/core/module.inc)
file_exists(/home/doofy/public_html/gallery2/modules/core/classes/GalleryStorage/../../../../modules/core/classes/GalleryStorage/DatabaseStorage/schema/platform/mysql)
opendir(/home/doofy/public_html/gallery2/modules/core/classes/GalleryStorage/../../../../modules/core/classes/GalleryStorage/DatabaseStorage/schema/platform/mysql)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
closedir(Resource id #48)
--------------------------------------------------------------------------------
(mysqlt): SHOW TABLES
--------------------------------------------------------------------------------
fopen(, r, 0)
realpath(/home/doofy/public_html/gallery2/modules/core/classes/../../../)
--------------------------------------------------------------------------------
(mysqlt): COMMIT
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
(mysqlt): SET AUTOCOMMIT=1
--------------------------------------------------------------------------------
----
The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):
Gallery version: G2 Alpha
Apache version: MySQL 4.0.22
PHP version (don't just say PHP 4, please):
Graphics Toolkit:
Operating system:
Web browser/version (if applicable):
Posts: 13451
[Moved to G2 Support]
Posts: 8601
please try again with a recent nightly snapshot and let us know if it still doesn't work.
Posts: 6
Got the latest snapshot now I still get an error but it's not as big.
Stack Trace:
Error (ERROR_MISSING_VALUE)
in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 220 (gallerystatus::error)
in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 196 (mysqldatabasestorage::_getconnection)
in modules/core/classes/GalleryStorage.class at line 483 (mysqldatabasestorage::init)
in install/steps/InstallCoreModuleStep.class at line 67 (gallerystorage::isinstalled)
in install/index.php at line 160 (installcoremodulestep::loadtemplatedata)
Debug Output:
file_exists(//cache/entity)
file_exists(//cache/layout)
file_exists(//cache/module)
file_exists(//cache/derivative)
realpath(/home/doofy/public_html/gallery2/modules/core/classes/../../../)
Posts: 8601
strange.. was this a clean install? (empty g2data dir, empty database, cleared cookies) did it write config.php ok? (take a look at the file and see if the values you gave the installer are in there)
Posts: 6
Ok, did a clean intstall with everything and here is what I got
Stack Trace:
Error (ERROR_BAD_PATH) : Unable to read file
in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 1265 (gallerystatus::error)
in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 1040 (mysqldatabasestorage::_executesqlfile)
in modules/core/classes/GalleryStorage.class at line 338 (mysqldatabasestorage::configurestore)
in modules/core/classes/GalleryModule.class at line 163 (gallerystorage::configurestore)
in install/steps/InstallCoreModuleStep.class at line 84 (coremodule::installorupgrade)
in install/index.php at line 160 (installcoremodulestep::loadtemplatedata)
Debug Output:
file_exists(/home/doofy/public_html/gallery2/g2data//cache/entity)
file_exists(/home/doofy/public_html/gallery2/g2data//cache/layout)
file_exists(/home/doofy/public_html/gallery2/g2data//cache/module)
file_exists(/home/doofy/public_html/gallery2/g2data//cache/derivative)
--------------------------------------------------------------------------------
(mysql): SHOW TABLES
--------------------------------------------------------------------------------
file_exists(/home/doofy/public_html/gallery2/modules/core/classes/helpers/../../../../modules/core/module.inc)
realpath(/home/doofy/public_html/gallery2/modules/core/classes/../../..)
Binding text domain: modules_core ->
/home/doofy/public_html/gallery2/modules/core/locale
file_exists(/home/doofy/public_html/gallery2/modules/core/classes/GalleryStorage/../../../../modules/core/classes/GalleryStorage/DatabaseStorage/schema/platform/mysql)
opendir(/home/doofy/public_html/gallery2/modules/core/classes/GalleryStorage/../../../../modules/core/classes/GalleryStorage/DatabaseStorage/schema/platform/mysql)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
readdir(Resource id #48)
closedir(Resource id #48)
--------------------------------------------------------------------------------
(mysql): SHOW TABLES
--------------------------------------------------------------------------------
fopen(, r, 0)
realpath(/home/doofy/public_html/gallery2/modules/core/classes/../../../)
mysql error: [1146: Table 'doofy_gallerynew.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 'doofy_gallerynew.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 727, 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 399, file: GalleryPluginHelper_simple.class
Posts: 8601
that doesn't look like the latest snapshot to me..
did step 2 tell you any files were missing? (like Schema.sql ?)
Posts: 6
This is where I got the latest g2 update http://galleryupdates.jpmullan.com/
However it does say Manifest missing or inaccessible. in step 2. It also says Gallery file integrity Warning.
The warning has always been there, I missed reading the Manifest missing or inaccessible.
Hope that helps and I hope that is the correct place to get the update.
Posts: 6
From that link I downloaded the 01-17-2005 03:35:18 AM
Re did everything and I get this message.
Stack Trace:
Error (ERROR_BAD_PATH) : Unable to read file
in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 1265 (gallerystatus::error)
in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 1040 (mysqldatabasestorage::_executesqlfile)
in modules/core/classes/GalleryStorage.class at line 338 (mysqldatabasestorage::configurestore)
in modules/core/classes/GalleryModule.class at line 154 (gallerystorage::configurestore)
in install/steps/InstallCoreModuleStep.class at line 84 (coremodule::installorupgrade)
in install/index.php at line 160 (installcoremodulestep::loadtemplatedata)
Debug Output:
file_exists(/home/doofy/public_html/gallery2/g2data//cache/entity)
file_exists(/home/doofy/public_html/gallery2/g2data//cache/layout)
file_exists(/home/doofy/public_html/gallery2/g2data//cache/module)
file_exists(/home/doofy/public_html/gallery2/g2data//cache/derivative)
--------------------------------------------------------------------------------
(mysqlt): ROLLBACK
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
(mysqlt): SET AUTOCOMMIT=1
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
(mysqlt): SET AUTOCOMMIT=0
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
(mysqlt): BEGIN
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
(mysqlt): SHOW TABLES
--------------------------------------------------------------------------------
file_exists(/home/doofy/public_html/gallery2/modules/core/classes/helpers/../../../../modules/core/module.inc)
realpath(/home/doofy/public_html/gallery2/modules/core/classes/../../..)
Binding text domain: modules_core ->
/home/doofy/public_html/gallery2/modules/core/locale
file_exists(/home/doofy/public_html/gallery2/modules/core/classes/GalleryStorage/../../../../modules/core/classes/GalleryStorage/DatabaseStorage/schema/platform/mysql)
opendir(/home/doofy/public_html/gallery2/modules/core/classes/GalleryStorage/../../../../modules/core/classes/GalleryStorage/DatabaseStorage/schema/platform/mysql)
readdir(Resource id #49)
readdir(Resource id #49)
readdir(Resource id #49)
readdir(Resource id #49)
readdir(Resource id #49)
readdir(Resource id #49)
readdir(Resource id #49)
readdir(Resource id #49)
readdir(Resource id #49)
readdir(Resource id #49)
readdir(Resource id #49)
readdir(Resource id #49)
readdir(Resource id #49)
readdir(Resource id #49)
readdir(Resource id #49)
readdir(Resource id #49)
readdir(Resource id #49)
readdir(Resource id #49)
readdir(Resource id #49)
readdir(Resource id #49)
readdir(Resource id #49)
readdir(Resource id #49)
readdir(Resource id #49)
readdir(Resource id #49)
readdir(Resource id #49)
readdir(Resource id #49)
readdir(Resource id #49)
readdir(Resource id #49)
readdir(Resource id #49)
readdir(Resource id #49)
readdir(Resource id #49)
readdir(Resource id #49)
readdir(Resource id #49)
readdir(Resource id #49)
readdir(Resource id #49)
readdir(Resource id #49)
readdir(Resource id #49)
readdir(Resource id #49)
readdir(Resource id #49)
closedir(Resource id #49)
--------------------------------------------------------------------------------
(mysqlt): SHOW TABLES
--------------------------------------------------------------------------------
fopen(, r, 0)
realpath(/home/doofy/public_html/gallery2/modules/core/classes/../../../)
mysqlt error: [1146: Table 'doofy_gallerynew.g2_FactoryMap' doesn't exist]
in EXECUTE("
SELECT
g2_FactoryMap.g_classType,
g2_FactoryMap.g_className,
g2_FactoryMap.g_implId,
g2_FactoryMap.g_implPath,
g2_FactoryMap.g_hints
FROM
g2_FactoryMap
ORDER BY
g2_FactoryMap.g_orderWeight ASC
")
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_FactoryMap.g_classType,
g2_FactoryMap.g_className,
g2_FactoryMap.g_implId,
g2_FactoryMap.g_implPath,
g2_FactoryMap.g_hints
FROM
g2_FactoryMap
ORDER BY
g2_FactoryMap.g_orderWeight ASC
--------------------------------------------------------------------------------
1146: Table 'doofy_gallerynew.g2_FactoryMap' doesn't exist
adodb_mysqlt._execute(
SELECT
g2_FactoryMap.g_classT..., false) % line 833, file: adodb.inc.php
adodb_mysqlt.execute(
SELECT
g2_FactoryMap.g_classT..., Array[0]) % line 727, file: DatabaseStorage.class
mysqldatabasestorage.search(
SELECT
[GalleryFactoryMap::cl..., Array[0],
Array[0]) % line 220, file: GalleryStorage.class
gallerystorage.search(
SELECT
[GalleryFactoryMap::cl..., Array[0],
Array[0]) % line 184, file: Gallery.class
gallery.search(
SELECT
[GalleryFactoryMap::cl...) % line 83, file: GalleryFactoryHelper_simple.class
--------------------------------------------------------------------------------
(mysqlt): COMMIT
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
(mysqlt): SET AUTOCOMMIT=1
--------------------------------------------------------------------------------
Posts: 8601
I checked the zip and tar.gz and both look ok. Make sure you're uploading all the files successfully or try extracting the archive on your server to avoid upload problems.
Posts: 6
Ok I got it up and running, now I have a question. I can I make it so the users that login to the website don't have to relogin for the gallery?