[imp] Preferences via SQL

Devin Atencio dreamboy@aros.net
Thu, 19 Jul 2001 17:05:05 -0600


I figured out my Preferences not saving problem. I had
a line resetting my array of horde_prefs in the horde.php
file. Thanks for your help on the preferences thing.

-----Original Message-----
From: Devin Atencio [mailto:dreamboy@aros.net]
Sent: Thursday, July 19, 2001 4:45 PM
To: imp@lists.horde.org
Subject: RE: [imp] Preferences via SQL



My database structure seems to be correct, but it never writes
anything to the database, but it says the preferences are updated
but never stores the information. I turned off the session_cookies
in the php.ini cause I don't want it to use cookies. Any ideas?


-----Original Message-----
From: Jon Parise [mailto:jon@horde.org]
Sent: Thursday, July 19, 2001 4:36 PM
To: imp@lists.horde.org
Subject: Re: [imp] Preferences via SQL


On Thu, Jul 19, 2001 at 04:03:18PM -0600, Devin Atencio wrote:

> 
> I have the very latest IMP 2.3.7/HORDE 1.3.5. I am using
> MySQL and I have in the horde/config/horde.php file
> the following:
> 
> $conf['prefs']['driver'] = 'sql';
> $conf['prefs']['params'] = array();
> $conf['prefs']['params']['phptype'] = 'mysql';
> $conf['prefs']['params']['hostspec'] = 'host';
> $conf['prefs']['params']['username'] = 'username';
> $conf['prefs']['params']['password'] = 'password';
> $conf['prefs']['params']['database'] = 'horde';
> $conf['prefs']['params']['table'] = 'horde_prefs';
> 
> Did the database structure change at all for
> the latest CVS of Horde/IMP? If so what should my
> database structure look like?
 
The database schema is available in horde/scripts/db/.

You'll need the latest PEAR cvs code for the database preferences
to work properly.

-- 
Jon Parise (jon@csh.rit.edu)  .  Rochester Inst. of Technology
http://www.csh.rit.edu/~jon/  :  Computer Science House Member

-- 
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


-- 
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