solved (was Re: [horde] Help with login problem)

Admin-Stress meerkapot at yahoo.com
Thu Jan 30 08:00:21 PST 2003


After I have DOM XML support in php, this problem was GONE!

Thanks for any ideas and suggestions before.

Regards,
kapot

--- Admin-Stress <meerkapot at yahoo.com> wrote:
> The 'fatal error' is in the SCREEN, not in the log. I set log-enable=false.
> 
> (1) Yes, I did it :
> 
>    cd ../scripts/db
>    mysql < mysql_create.sql
> 
> Then I can connect to mysql manually, and I can see the tables.
> 
> # mysql -D horde -h localhost -u horde -p
> Enter password:
> mysql> show tables;
> +------------------+
> | Tables_in_horde  |
> +------------------+
> | horde_categories |
> | horde_prefs      |
> | horde_users      |
> +------------------+
> 3 rows in set (0.00 sec)
> 
> (2) I found mysql.sock in /var/lib/mysql/mysql.sock
> is there any setting in the horde for this ?
> 
> Thanks.
> 
> --- Doug Curtis <doug.curtis at world-mail.org> wrote:
> > A couple of things:
> > 
> > 1. Did you run the sql script in the scripts dir to setup the tables?
> > 
> > 2. I had a similar problem and it ended up that it kept looking for the 
> > mysql.sock in /tmp instead of where it was. (/var/lib/mysql/mysql.sock)
> > 
> > Doug
> > 
> > 
> > Quoting Admin-Stress <meerkapot at yahoo.com>:
> > 
> > > Hi, maybe this is old question, but I cant find any resources.
> > > 
> > > I installed:
> > > - horde 2.2
> > > - imp 3.1
> > > - php 4.3.0
> > > - redhat 8.0
> > > 
> > > imap and pop3 are working fine, I can access it via mail client (mutt and
> > > outlook express).
> > > 
> > > But, when I login into imp, I got this error :
> > > 
> > > A fatal error has occurred:
> > > 
> > > DB Error: connect failed
> > > 
> > > [line 108 of /var/www/vhost/example.com/htdocs/horde/lib/Prefs/sql.php]
> > > 
> > > Details have been logged for the administrator.
> > > 
> > > I review ../config/horde.php for mysql details :
> > > 
> > > $conf['prefs']['driver'] = 'sql';
> > > $conf['prefs']['params'] = array();
> > > $conf['prefs']['params']['phptype'] = 'mysql';
> > > $conf['prefs']['params']['hostspec'] = 'localhost';
> > > $conf['prefs']['params']['username'] = 'horde';
> > > $conf['prefs']['params']['password'] = 'horde';
> > > $conf['prefs']['params']['database'] = 'horde';
> > > $conf['prefs']['params']['table'] = 'horde_prefs';
> > > 
> > > And I can connect to mysql like this :
> > > 
> > > # mysql -D horde -h localhost -u horde -p
> > > 
> > > With password=horde
> > > 
> > > Here is line 108 of sql.php :
> > > 
> > >             /* Connect to the SQL server using the supplied parameters. */
> > >             include_once 'DB.php';
> > >             $this->db = &DB::connect($this->params, true);
> > >             if (DB::isError($this->db)) {
> > > 108--->         Horde::fatal($this->db, __FILE__, __LINE__);
> > >             }
> > > 
> > > I checked pear DB module, and it's installed :
> > > 
> > >    # pear install DB
> > >    DB already installed
> > > 
> > > 
> > > Please help me, this is my frist time installing imp.
> > > 
> > > Thanks in advance,
> > > kapot


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


More information about the horde mailing list