Hi Guys, Any clues on the following error I'm getting on step 7 of a clean install. everything up to this point has been fine. I've tried restarting the machine and running the install again but no luck. It keeps giving the sdame error message.
Andy
Error (ERROR_STORAGE_FAILURE, ERROR_UNKNOWN)
* in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 1164 (gallerystatus::error)
* in modules/core/classes/GalleryStorage.class at line 220 (mysqldatabasestorage::search)
* in modules/core/classes/Gallery.class at line 216 (gallerystorage::search)
* in modules/core/classes/helpers/GalleryPluginHelper_simple.class at line 424 (gallery::search)
* in modules/core/classes/helpers/GalleryPluginHelper_simple.class at line 301 (gallerypluginhelper_simple::fetchpluginlist)
* in modules/core/classes/GalleryCoreApi.class at line 263 (gallerypluginhelper_simple::fetchpluginstatus)
* in modules/core/classes/GalleryPlugin.class at line 136 (gallerycoreapi::fetchpluginstatus)
* in modules/core/classes/GalleryModule.class at line 280 (galleryplugin::activate)
* in install/steps/InstallCoreModuleStep.class at line 89 (coremodule::activate)
* in install/index.php at line 171 (installcoremodulestep::loadtemplatedata)
----
Gallery URL (optional):
Gallery version: gallery2.2005-04-22-08-46-02.tar.gz
Webserver (with version):
Datatabase (with version):
PHP version (eg 4.2.1):
phpinfo URL (optional):
Graphics Toolkit(s):
Operating system: Fedora core 3
Web browser/version: Mozilla firefox 1.0
G1 version (for migration bugs):
Posts: 8601
try again with an empty db and empty g2data dir and post the database error near the bottom of the debug output.
Posts: 37
Hi mindless,
I tried as suggested and created a new database in mysql. I can log on to it through the terminal screen. I hope this is what you needed below!!
mysql error: [1044: Access denied for user: 'album@localhost' to database
'gallery'] in EXECUTE("-- This file was automatically generated from an
XSL template, which is
-- why it looks so ugly. Editing it by hand would be a bad idea.
--
CREATE TABLE g2_Schema (
g_name
varchar(
128
)
NOT NULL
,
g_major
int(11)
NOT NULL
,
g_minor
int(11)
NOT NULL
,
PRIMARY KEY (g_name)
) TYPE=MyISAM")
(mysql): -- This file was automatically generated from an XSL template,
which is
-- why it looks so ugly. Editing it by hand would be a bad idea.
--
CREATE TABLE g2_Schema (
g_name
varchar(
128
)
NOT NULL
,
g_major
int(11)
NOT NULL
,
g_minor
int(11)
NOT NULL
,
PRIMARY KEY (g_name)
) TYPE=MyISAM
1044: Access denied for user: 'album@localhost' to database 'gallery'
adodb_mysql._execute(-- This file was
automatically generated from an XSL template, w..., false) % line 833, file: adodb.inc.php
adodb_mysql.execute(-- This file was automatically generated
from an XSL template, w...) % line
1814, file: DatabaseStorage.class
mysqldatabasestorage._executesqlfile(/var/www/html/gallery2/modules/core/classes/GalleryStorage/../.....) % line 1507, file: DatabaseStorage.class
mysqldatabasestorage.configurestore(core) % line 338, file: GalleryStorage.class
gallerystorage.configurestore(core) % line 132, file: GalleryModule.class
realpath(/var/www/html/gallery2/modules/core/classes/../../../)
mysql error: [1146: Table '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 '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 1156, 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 216,
file: Gallery.class
gallery.search(
SELECT
[GalleryPluginMap::pluginId],
..., Array[1]) % line 424, file: GalleryPluginHelper_simple.class
realpath(/var/www/html/gallery2/modules/core/classes/../../../)
Posts: 8601
make sure the database user/password are correct and the db user is allowed to create tables..