6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
12/19/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#558] Prefs don't save in the MySQL DB
*
Your Email Address
*
Spam protection
Enter the letters below:
. .\ /.__ . __ | | >< [ __ |/ ` |__|/ \[_./\__|\__.
Comment
> Hi, > > > > I don't know why, but the Prefs doesn't save in the MySQL database > when I change them. I have this problem on 3 of my Horde > installations, but what is strange is that some prefs are saved but > the most aren't. > > > > If I set the debug at PEAR_LOG_DEBUG to save everything, only a few > SQL request are sent and that's only when the prefs are properly > saved. I done a test by saving the prefs inside the Session and > that's working, so I suspect a problem with the MySQL Prefs handler. > > > > There is what I'm using on the 3 Horde installations : > > Linux : Fedora Core 2 > > Apache : 2.0.50 > > PHP : 4.3.8 > > MySQL : Ver 12.21 Distrib 4.0.15, for pc-linux-gnu (i686) > > > > 2 Horde installation have using the same config and running on the > same server using IMAP authentication (1 month old CVS copy), and > another completly new using HEAD version (4 day old CVS copy) and > both have the same problem. > > > > I need to solve this problem because I'm currently writing a module > for my work because all I need is to save a username and password in > the prefs. > > > > The request sent to save the prefs from my script is : > > $prefs->setValue('sm_username', $sm_username); > > > > If I do a var_dump($prefs), I see the prefs I asked set but as soon I > refresh the page, the prefs are lost. But if I use the Session Prefs > handler instead of MySQL, the prefs are properly stored. But we need > to use SQL saved prefs. > > > > Daniel Vandal > > dvandal@infoteck.qc.ca
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers