[imp] IMP Weirdness

Eric Rostetter eric.rostetter@physics.utexas.edu
Thu Nov 7 03:24:06 2002


Quoting RuneImp <rune@imptech.net>:

> After I login the initial webmail page does not display unless
> I hit the refresh button on the browser.

Do you get any errors in your web server logs or in your system logs
(php errors, set in your php.ini file)???

> When I click the Log Out link I get: 
> 
> Notice: Undefined index: dsn in /usr/local/lib/php/Log/sql.php on line 55

I'd guess you didn't properly define your sql setup in horde/config/conf.php
(or horde/config/horde.conf depending on the version).

It looks like you set horde logging to sql?  If so, you might
need to configure that also in the same file ($conf['log']['params']).

> Fatal error: Call to undefined function: query() in
> /usr/local/lib/php/Log/sql.php on line 114

This is an error coming from the PEAR Log class.  So it is failing in
trying to log something.  I would recommend trying to set 

$conf['log']['type'] = 'file';

to log to a file rather than (apparently) sql.

> I don't understand this as I'm not using ODBC so didn't think I
> would need to setup a DNS. I do have Horde setup to use MySQL.

It is a dsn, not a dns.  It applies to any SQL setup.

> Any help would be appreciated as I'm still hoping to
> spend less time debugging this than finishing my own
> WebMail app...  :)

I think, but really am just guessing, it is in your configuration files as
noted above.  The one error you site is from PEAR, but it is SQL related
and hence probably still a configuration issue.

Hope that helps...

-- 
Eric Rostetter
The Department of Physics
The University of Texas at Austin

Why get even? Get odd!


More information about the imp mailing list