6.0.0-RC7
6/22/26

[#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 5/6/11 (5526 days ago)
Due
Updated 5/7/11 (5525 days ago)
Assigned 5/7/11 (5525 days ago)
Resolved 5/7/11 (5525 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
5110 Jan Schneider Assigned to Jan Schneider
State ⇒ Resolved
 
5910 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
558 Jan Schneider Comment #5
State ⇒ Feedback
Reply to this comment
5211 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
4410 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';

224 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.
2111 jcblanco (at) fi (dot) upm (dot) es Comment #1
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ Error connecting to HORDE
Due ⇒ 5/6/11
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