Details
-
Bug
-
Resolution: Fixed
-
Medium
-
extension/ezoracle 2.0.0
-
None
Description
Hi
I am installing ezoracle extension on ezp 4.1.2.
When following the manual installation instructions at http://ez.no/doc/extensions/database/2_0/installation/manual_initialization it stops at the point where you are going to install the db schema:
$ php bin/php/ezsqlinsertschema.php --type=oracle --user=... --password=... share/db_schema.dba ORCL --clean-existing Could not initialize database: * Tried database 'ORCL' locally with user 'ezp' and with a password * Noa database handler was found for 'oracle' $ tail var/log/error.log [ Jun 30 2009 12:18:11 ] [] eZDB::instance: Database implementation not supported: oracle
If I then retry, but using --type=ezoracle instead I get the following error:
$ php bin/php/ezsqlinsertschema.php --type=ezoracle --user=... --password=... share/db_schema.dba ORCL --clean-existing Error instantiating the appropriate schema handler $ tail var/log/error.log [ Jun 30 2009 12:18:13 ] [] eZDbSchema::instance(): No schema handler for database type: ezoracle
It turns out that the db implementation alias is called ezoracle, while the schema alias is called oracle (This inconsistency happens in extension/ezoracle/settings/site.ini.append.php and extension/ezoracle/settings/dbschema.ini.append.php).
Proposed fix:
--- extension/ezoracle/settings/site.ini.append.php.org 2009-06-30 13:39:22.000000000 +0200 +++ extension/ezoracle/settings/site.ini.append.php 2009-06-30 13:39:16.000000000 +0200 @@ -1,4 +1,4 @@ <?php /* [DatabaseSettings] -ImplementationAlias[ezoracle]=eZOracleDB +ImplementationAlias[oracle]=eZOracleDB */ ?>
(If you instead want to call the dbchema ezoracle, you'll need to update install documentation as well)
Attachments
Issue Links
- relates to
-
EZP-14116 Rely on autoload system to load "handler" classes
- Closed