6.0.0-beta1
7/18/25

[#8625] fatal error setSQLOb() on a non-object
Summary fatal error setSQLOb() on a non-object
Queue Horde Framework Packages
Queue Version FRAMEWORK_3
Type Bug
State Resolved
Priority 2. Medium
Owners jan (at) horde (dot) org
Requester phil (at) weballey (dot) com
Created 10/05/2009 (5765 days ago)
Due
Updated 10/06/2009 (5764 days ago)
Assigned
Resolved 10/05/2009 (5765 days ago)
Github Issue Link
Github Pull Request
Milestone 3.3.6
Patch Yes

History
10/06/2009 05:08:31 PM CVS Commit Comment #6 Reply to this comment
Changes have been made in CVS for this ticket:

Testing simon
Bug: 8625
http://cvs.horde.org/co.php/commitid:?rt=horde&r=1.7
10/06/2009 03:38:40 AM phil (at) weballey (dot) com Comment #5 Reply to this comment
You guys are fast! Keep up the good work!



-phil
10/05/2009 09:18:08 PM Jan Schneider Comment #4
Assigned to Jan Schneider
State ⇒ Resolved
Milestone ⇒ 3.3.6
Reply to this comment
Fixed in CVS.
10/05/2009 09:17:44 PM Jan Schneider Version ⇒ FRAMEWORK_3
Queue ⇒ Horde Framework Packages
 
10/05/2009 09:17:24 PM CVS Commit Comment #3 Reply to this comment
Changes have been made in CVS for this ticket:

MFH: Broader check for no permission objects from the cache (Bug #8625).
http://cvs.horde.org/diff.php/framework/Perms/Perms/sql.php?rt=horde&r1=1.1.2.15&r2=1.1.2.16&ty=u
10/05/2009 09:15:33 PM CVS Commit Comment #2 Reply to this comment
Changes have been made in CVS for this ticket:

Broader check for no permission objects from the cache (Bug #8625).
http://cvs.horde.org/diff.php/framework/Perms/Perms/sql.php?rt=horde&r1=1.16&r2=1.17&ty=u
10/05/2009 06:22:04 PM phil (at) weballey (dot) com Comment #1
Priority ⇒ 2. Medium
State ⇒ Unconfirmed
Patch ⇒ Yes
Milestone ⇒
Queue ⇒ Whups
Due ⇒ 10/15/2009
Summary ⇒ fatal error setSQLOb() on a non-object
Type ⇒ Bug
Reply to this comment
Using Horde 3.3.5 and whups 1.0, trying to set permissions on queue, 
but getting this error: "PHP Fatal error:  Call to a member function 
setSQLOb() on a non-object in 
/usr/local/www/horde/lib/Horde/Perms/sql.php on line 129, referer: 
http://webmail.sfflcc.org/whups/admin/index.php [more deleted]";



Also non-administrators couldn't access ticket queue.



Anyway I fixed it in file 
/usr/local/www/horde/lib/Horde/Perms/sql.php, line 107;

changed

"if ($perm === false) {"

to

"if (($perm === NULL) || ($perm === false)) {"



Seems to work from my limited testing.



FWIW.



-phil

Saved Queries