6.0.0-beta1
11/8/25

[#6117] Fatal error: Call to a member function sessionSetup() on a non-object
Summary Fatal error: Call to a member function sessionSetup() on a non-object
Queue Horde Base
Queue Version HEAD
Type Bug
State No Feedback
Priority 1. Low
Owners
Requester ncruz-imp (at) net (dot) ipl (dot) pt
Created 01/15/2008 (6507 days ago)
Due
Updated 02/24/2008 (6467 days ago)
Assigned 01/15/2008 (6507 days ago)
Resolved 02/24/2008 (6467 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
02/24/2008 11:02:42 AM Jan Schneider Comment #5
Taken from Michael Slusarz
State ⇒ No Feedback
Reply to this comment
Insufficient information.
01/17/2008 07:26:54 AM Michael Slusarz Comment #4
Priority ⇒ 1. Low
Reply to this comment
I can't see or imagine a code path where createSession() is called
without including lib/base.php before, which instantiates
$imp_search. Michael, can you?
Nope.  No clue (since we can only call this code from 1 of 2 places - 
lib/api.php or redirect.php - and both places include IMP's base.php). 
  Someone is going to have to trace this that can reproduce this error.
01/16/2008 01:03:17 PM ncruz-imp (at) net (dot) ipl (dot) pt Comment #3 Reply to this comment
If I use IMP to do the authentication everything works...



When I say that the portal screen doesn't appear, I mean that only the 
sidebar appears.
I can't see or imagine a code path where createSession() is called
without including lib/base.php before, which instantiates
$imp_search. Michael, can you?
01/15/2008 10:47:44 PM Jan Schneider Comment #2
Assigned to Michael Slusarz
State ⇒ Feedback
Reply to this comment
I can't see or imagine a code path where createSession() is called 
without including lib/base.php before, which instantiates $imp_search. 
Michael, can you?
01/15/2008 05:34:09 PM ncruz-imp (at) net (dot) ipl (dot) pt Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Fatal error: Call to a member function sessionSetup() on a non-object
Queue ⇒ Horde Base
State ⇒ Unconfirmed
Reply to this comment
Hi, on some logins, can't be deterministic, but about 1 on every 5 
logins i get an error, and the portal screen doesn't appear, the error 
on the error log is:



PHP Notice:  Undefined variable: imp_search in 
/var/www/localhost/htdocs/horde2/imp/lib/Session.php on line 293, 
referer: http://horde.net.ipl.pt/index.php

PHP Fatal error:  Call to a member function sessionSetup() on a 
non-object in /var/www/localhost/htdocs/horde2/imp/lib/Session.php on 
line 293, referer: http://horde.net.ipl.pt/index.php



If I hit refresh everything works.



This happens with CVS HEAD at this time and happens with any user, I'm 
using IMAP authentication in horde and php based session files.

Saved Queries