[imp] MySQL Prefs setup problems with 2.3.7

jan@horde.org jan@horde.org
Tue, 23 Oct 2001 17:22:21 +0200


http://horde.org/pear

Jan.

Zitat von Mike Coughlan <mcoughlan@gothambroadband.com>:

> I've created the MySQl Database, and set the following driver settings.
> 
> conf['prefs']['driver'] = 'sql';
> $conf['auth']['params']['phptype'] = 'mysql';
> $conf['auth']['params']['hostspec'] = 'localhost';
> $conf['auth']['params']['username'] = 'root';
> $conf['auth']['params']['password'] = '*******';
> $conf['auth']['params']['database'] = 'horde';
> $conf['auth']['params']['table'] = 'auth';
> 
> Here is the error:
> 
> Warning: Undefined index: params in /usr/share/horde/imp/lib/IMP.php on
> line
> 144
> 
> Warning: Cannot add header information - headers already sent by (output
> started at /usr/share/horde/imp/lib/IMP.php:144) in
> /usr/share/horde/imp/redirect.php on line 65
> 
> If I take out the driver code, the error goes away, as do the prefs.
> 
> TIA for any help.
> 
> MC
> 
> 
> 
> Horde Versions
> 
>     * Horde: 1.3.5-cvs
>     * IMP: 2.3.7-cvs
>     * Turba: 0.0.3-cvs
> 
> PHP Version
> 
>     * View phpinfo() screen
>     * PHP Version: 4.0.5
>     * PHP Major Version: 4.0
>     * PHP Minor Version: 5
>     * PHP Version Classification: release
>     * You are running a supported version of PHP. Enjoy the ride!
> 
> PHP Module Capabilities
> 
>     * FTP Support: Yes
>     * Gettext Support: Yes
>     * IMAP Support: Yes
>     * LDAP Support: Yes
>     * MCAL Support: No
>     * Mcrypt Support: No
>     * MySQL Support: Yes
>     * PostgreSQL Support: No
>     * XML Support: Yes
> 
> Miscellaneous PHP Settings
> 
>     * magic_quotes_runtime set to Off: Yes
> 
> PHP Sessions
> 
>     * Session counter: 1
>     * To unregister the session: click here
> 
> PEAR
> 
>     * PEAR - Yes
>     * Mail::RFC822 - Yes
>     * Log - Yes
>     * DB - Yes
> 
> [Valid XHTML 1.0!]
> 
> 
> 
> -- 
> IMP mailing list: http://horde.org/imp/
> Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> 
>