[Web-cyradm] PHP Fatal error: Class 'DB' not found

Carles Ucher cucher at fedefarm.es
Wed Jan 9 11:51:51 CET 2008


Hi list,

This is my first e-mail in this comunity.
I'm following the Luc The low howto from 
http://www.delouw.ch/linux/Postfix-Cyrus-Web-cyradm-HOWTO/html/index.html 
Howto

Every time that I try to login with an user shows the following error:

mail:/var/log/apache2 #  tail -f -n20 error_log
[Wed Jan 09 11:28:33 2008] [error] [client XXX.XXX.XXX.XXX] PHP Fatal 
error:  Class 'DB' not found in 
/srv/www/htdocs/web-cyradm/lib/crypto.php on line 27, referer: 
http://www.mydomain.com/web-cyradm/index.php
There is no logs in the logfile web-cyradm-login.log

My conf.php:

    $DEFAULTLANG = "es_ES";
    # The Cyrus login stuff
    $CYRUS = array(
            'HOST'  => 'localhost',
            'PORT'  => 143,
            'ADMIN' => 'cyrus',
            'PASS'  => 'secret'
    );

    $DB = array(
            'TYPE'  => 'mysql',
            'USER'  => 'mail',
            'PASS'  => 'secret',
            'PROTO' => 'unix',      // set to "tcp" for TCP/IP or unix
            'HOST'  => 'localhost',
            'NAME'  => 'mail'
    );

    $LOG_DIR = "/var/log/cyradm/";
    $CRYPT = "crypt";
    $DOMAIN_AS_PREFIX = 0;
    $PASSWORD_CHANGE_METHOD = "sql";
    error_reporting(E_ERROR);

    $VERSION="0.5.4";
    $RESERVED="postmaster,root";





I would appreciate for any help
Regards C.Ucher


More information about the Web-cyradm mailing list