6.0.0-alpha12
6/7/25

[#3232] history functionality broken without sql backend, and it gets enabled automatically with upgrade
Summary history functionality broken without sql backend, and it gets enabled automatically with upgrade
Queue IMP
Queue Version 4.1-RC1
Type Bug
State Resolved
Priority 1. Low
Owners
Requester glen (at) delfi (dot) ee
Created 01/08/2006 (7090 days ago)
Due
Updated 01/10/2006 (7088 days ago)
Assigned
Resolved 01/10/2006 (7088 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
01/10/2006 05:34:23 PM Chuck Hagenbuch Comment #2
State ⇒ Resolved
Reply to this comment
Fixed, will be in Horde 3.1.
01/08/2006 11:17:57 PM glen (at) delfi (dot) ee Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ history functionality broken without sql backend, and it gets enabled automatically with upgrade
Queue ⇒ IMP
Reply to this comment
i've disconfigured sql backend from horde as i don't have any. see 
ticket 2754 (https://dev.horde.org/horde/whups/ticket/?id=2754)



as a result conf.php contains:

# grep sql conf.php

$conf['sql']['phptype'] = false;



but lib/Horde/History.php contains check for $conf['sql']:

         if (empty($conf['sql'])) {

             Horde::fatal('You must configure a SQL backend to use 
History.', __FILE__, __LINE__);

         }



and when if open message from imp i get error:

[Mon Jan  9 01:11:35 2006] [error] PHP Fatal error:  Call to undefined 
function:  setoption() in /usr/share/horde/lib/Horde/History.php on 
line 61



so either there's bug in

1. disabling sql backend

2. check for sql backend in History.php



in any case the history should be turned off if sql database is not 
available, but it was automatically enabled when i upgrade

Saved Queries