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 |
Testing simon
Bug: 8625http://cvs.horde.org/co.php/commitid:?rt=horde&r=1.7
-phil
Assigned to Jan Schneider
State ⇒ Resolved
Milestone ⇒ 3.3.6
Queue ⇒ Horde Framework Packages
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
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
Priority ⇒ 2. Medium
State ⇒ Unconfirmed
Patch ⇒ Yes
Milestone ⇒
Queue ⇒ Whups
Due ⇒ 10/15/2009
Summary ⇒ fatal error setSQLOb() on a non-object
Type ⇒ Bug
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