Menu

Failure to init DB during initial install

Help
2003-02-14
2012-10-11
  • Jonathan Bayer

    Jonathan Bayer - 2003-02-14

    I'm running a stock RedHat 7.3 system.  I downloaded and installed  version PHP Wiki 1.3.4.

    I ran the configurator.php script and selected the dbm database, then had to fix two syntax errors:

    Lines 356 & 358 were missing double slashes at the beginning of the line:
    // Give the right LDAP root search information in the next statement.
    // Ignored. No IMAP support in this php. configure --with-imap

    Once I fixed that, I tried logging in and got the following error:

    lib/DbaDatabase.php:32: Fatal[256]: no such handler: dbm

    Fatal PhpWiki Error
    lib/DbaDatabase.php:32: Fatal[256]: no such handler: dbm

    When I tried using gdbm, I got the following:

    lib/DbaDatabase.php:32: Fatal[256]: driver initialization failed

    Fatal PhpWiki Error
    lib/DbaDatabase.php:32: Fatal[256]: driver initialization failed

    Any ideas?

     
    • Mike Herbst-Gompper

      same here :-(

      lib/DbaDatabase.php:32: Fatal[256]: driver initialization failed

      lib/config.php:401: Notice[8]: Undefined index: dsn

      any hints?

       
    • Chris

      Chris - 2003-07-27

      I got this too.
      I changed $DBParams['dba_handler'] in index.php from gdbm to db3 and it worked just fine.
      Some problem with gdbm in php with Redhat perhaps?
      Hope that helps.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.