6.0.0-beta1
8/18/25

[#10055] Error connecting to HORDE
Summary Error connecting to HORDE
Queue Horde Framework Packages
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester jcblanco (at) fi (dot) upm (dot) es
Created 05/06/2011 (5218 days ago)
Due
Updated 05/07/2011 (5217 days ago)
Assigned 05/07/2011 (5217 days ago)
Resolved 05/07/2011 (5217 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
05/07/2011 10:37:51 AM Jan Schneider Assigned to Jan Schneider
State ⇒ Resolved
 
05/07/2011 10:23:59 AM jcblanco (at) fi (dot) upm (dot) es Comment #6 Reply to this comment
Ups!, yes, you are right. I'm very sorry, seems that I've had some 
problems with the update to the last git sources
05/07/2011 08:56:55 AM Jan Schneider Comment #5
State ⇒ Feedback
Reply to this comment
05/06/2011 11:03:52 PM jcblanco (at) fi (dot) upm (dot) es Comment #4 Reply to this comment
Well after debugging the value of $driver in this line it gets a null 
value when printing the login page or after logout, once logged in it 
gets the value 'Horde_Prefs_Storage_Sql'

In my configuration I'm using IMP as the authentication method

If I add a conditional if ($driver) before the code all seems to work 
fine, I've revised previous versions of this code and the call to "new 
$driver..." was previously executed inside a conditional assignment:
             $drivers = $driver
                 ? array(
                       $config_driver,
                       new $driver($opts['user'], $params),
                       $hooks_driver
                   )
             ....

Hope this helps
05/06/2011 10:50:44 PM jcblanco (at) fi (dot) upm (dot) es Comment #3 Reply to this comment
I've regenerated the configuration files but I continue having the 
same problem
What of the various defined drivers in the horde/config/conf.php is this?
$conf['auth']['driver'] = 'application';
$conf['prefs']['params']['driverconfig'] = 'horde';
$conf['prefs']['driver'] = 'Sql';
$conf['alarms']['params']['driverconfig'] = 'horde';
$conf['alarms']['driver'] = 'Sql';
$conf['datatree']['driver'] = 'null';
$conf['group']['driverconfig'] = 'horde';
$conf['group']['driver'] = 'Sql';
$conf['perms']['driverconfig'] = 'horde';
$conf['perms']['driver'] = 'Sql';
$conf['share']['driver'] = 'Sqlng';
$conf['cache']['driver'] = 'Apc';
$conf['lock']['params']['driverconfig'] = 'horde';
$conf['lock']['driver'] = 'Sql';
$conf['token']['params']['driverconfig'] = 'horde';
$conf['token']['driver'] = 'Sql';
$conf['vfs']['params']['driverconfig'] = 'horde';
$conf['spell']['driver'] = '';
$conf['image']['driver'] = false;
$conf['exif']['driver'] = 'Bundled';
$conf['accounts']['driver'] = 'null';

05/06/2011 04:59:22 PM Michael Slusarz Comment #2
Priority ⇒ 1. Low
Reply to this comment
How is your driver name null?  That is not a valid driver name.   
"Null" (a string) is proper.  Sounds like your horde/config/conf.php 
is broken.
05/06/2011 11:46:21 AM jcblanco (at) fi (dot) upm (dot) es Comment #1
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ Error connecting to HORDE
Due ⇒ 05/06/2011
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
After updated to the last GIT sources I've receive an error when 
connecting to horde and the login screen is not shown

The error in the apache log says:

[Fri May 06 12:57:04 2011] [error] [client A.B.C.D] PHP Fatal error:   
Class name must be a valid object or a string in 
/usr/share/php5/PEAR/Horde/Core/Factory/Prefs.php on line 118

In my case de value of "$driver" is null, I don't know if this is normal

Saved Queries