[imp] 2.3.7-cvs error

Rich West Rich.West@divatv.com
Wed, 17 Oct 2001 15:50:28 -0400


It sounds similar to something I hit.  I've included an excerpt of the 
horde.php config file.  Notice that the last line is commented out.  I 
accidentally had that line in, which was re-initializing the array. 
 Check yours to make sure you are not doing something similar.

-Rich



/**
 ** Preference System Settings
 **/

// What preferences driver should we use? Valid values are 'none'
// (meaning use system defaults and don't save any user preferences),
// 'session' (preferences only persist during the login), 'ldap',
// and 'sql'.
#$conf['prefs']['driver'] = 'none';
$conf['prefs']['driver'] = 'sql';
$conf['prefs']['params'] = array();
$conf['prefs']['params']['phptype'] = 'mysql';
$conf['prefs']['params']['hostspec'] = 'localhost';
$conf['prefs']['params']['username'] = 'yourhordeuser';
$conf['prefs']['params']['password'] = 'yourhordepasswd';
$conf['prefs']['params']['database'] = 'yourhordedb';
$conf['prefs']['params']['table'] = 'horde_prefs';


// Any parameters that the preferences driver needs. This includes
// database or ldap server, username/password to connect with, etc.
#$conf['prefs']['params'] = array();



André de Oliveira Castanheira Rodrigues wrote:

>Hi,
>My horde.php is :
>
>/**
> ** Preference System Settings
> **/
>
>$conf['prefs']['driver'] = 'sql';
>$conf['prefs']['params'] = array();
>$conf['prefs']['params']['phptype'] = 'sybase';
>$conf['prefs']['params']['hostspec'] = 'ccnedb03';
>$conf['prefs']['params']['username'] = 'AOCASTANHEIRA';
>$conf['prefs']['params']['password'] = 'xxxxxxxxxxxxx';
>$conf['prefs']['params']['database'] = 'horde';
>$conf['prefs']['params']['table'] = 'horde_prefs';
>
>I can connect to dataserver from linux prompt. ccnedb03 is the dataserver name, 
>not the hostname.
>
>I've got only horde and imp. Do I need to get any other module in order to work 
>it out ?
>
>Thanks,
>
>Cópia Chuck Hagenbuch <chuck@horde.org>:
>
>>Quoting André de Oliveira Castanheira Rodrigues 
>><aocastanheira@cariocaengenharia.com.br>:
>>
>>>After pressing login I receive :
>>>
>>>Warning: Sybase: Server message: Login failed. (severity 14, procedure
>>>
>>N/A)
>>
>>>in /usr/local/lib/php/DB/sybase.php on line 59
>>>
>>Your preferences settings aren't quite right; you can't log in to the
>>database. 
>>Check the username, password, etc.
>>
>>>What's the meaning of Folder prefix on index.php ?
>>>
>>If your IMAP server makes available more of your home directory or other
>>
>>namespace than you want to show, then you can put the piece of it that
>>you 
>>actually want to display in this setting. For example, if your server
>>lists 
>>everything in your home directory, but your folders are just in ~/mail,
>>then 
>>you should set this to 'mail/'.
>>
>>>How can I hide that ?
>>>
>>Lock the 'folders' preference in imp/config/prefs.php.
>>
>>-chuck
>>
>>--
>>Charles Hagenbuch, <chuck@horde.org>
>>"What was and what may be lie, like children whose faces we cannot see,
>>in 
>>the arms of silence. All we ever have is here, now." - Ursula K. Le
>>Guin
>>
>>-- 
>>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
>>
>
>
>
>André de Oliveira Castanheira Rodrigues
>Carioca Engenharia
>21 3891-2200
>R: 2325
>

-- 
Richard West				mailto:richard.west@divatv.com
Sr. Systems Administrator
Diva - Princeton, NJ			http://www.divatv.com