[Tickets #1323] NEW: Horde with PHP 5.0.3: Prefs don't get saved in the database

bugs at bugs.horde.org bugs at bugs.horde.org
Mon Feb 7 10:15:04 PST 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=1323
-----------------------------------------------------------------------
 Ticket     | 1323
 Created By | webmaster at ragnarokonline.de
 Summary    | Horde with PHP 5.0.3: Prefs don't get saved in the database
 Queue      | Horde Base
 Version    | 3.0.2
 State      | Unconfirmed
 Priority   | 2. Medium
 Type       | Bug
 Owners     | 
-----------------------------------------------------------------------


webmaster at ragnarokonline.de (2005-02-07 10:15) wrote:

If I try to change any of the prefs, they won't get updated.

After some research I've found out, that the changes get lost somewhere
between the end of the script and the execution of the shutdown-function.

Adding $prefs->store(); to the very end of /path/to/horde/services/prefs.php
and /path/to/horde/services/portal/edit.php did the trick as a workaround.

Looks, like PHP 5 destroys the $prefs-instance, before the shutdown-function
is being executed.




More information about the bugs mailing list