[kronolith] Fail to authenticate IMAP session.

Christopher Crowley ccrowley@tulane.edu
Thu, 15 Nov 2001 08:39:36 -0600


> : > :
> : > : That's a different problem. If I remember right Chris
> : > : had the problem of
> : > : being redirected to the login screen if he tries to
> : > : access Kronolith.
> : > :

I did manage to break it a little more, to see if I could pinpoint the
problem. Suggestions are appreciated.

Let me restate the problem:
1. Imp / Turba work, I am not directing users to horde, but to Imp to sign
on.
2. When I click the Calendar menu item, an infinite loop occurs as my
browser bounces
   between the horde login page and the Kronolith index page.
3. Jan identified this problem as Kronolith not recognizing the Horde
session,
4. validated the problem by inserting var_dump(Auth::getAuth()) line into
  ../kronolith/lib/base.php which showed that the session variable was set
to false: bool(false)
   Wheras, in Turba and in Horde, the page displays: string(7) "ccrowle" .
(5. I am configured to use sql, but I haven't gotten that far yet.)

I removed the test line from base.php. Signed in to Imp, then directed the
browser to the Horde main page, which looks correct except this error
message:

string(7) "ccrowle"
    Fatal error: Call to a member function on a non-object in
/pathto/horde/kronolith/lib/base.php on line 60


line 60 of kronolith/lib/base.php is :
$timezone = $GLOBALS['prefs']->getValue('timezone');

Which I commented out, because a comment indicates it is optional. I
refreshed the Horde page and received this error message. Which may or may
not be of value solving this problem. Commenting lines is mostly just
shooting in the dark:

A fatal error has occured
object(pear_error)(10) {
  ["error_message_prefix"]=>
  string(0) ""
  ["error_prepend"]=>
  string(0) ""
  ["error_append"]=>
  string(0) ""
  ["mode"]=>
  int(1)
  ["level"]=>
  int(1024)
  ["code"]=>
  NULL
  ["message"]=>
  string(59) "Required 'phptype' not specified in calendar configuration."
  ["debuginfo"]=>
  string(0) ""
  ["userinfo"]=>
  NULL
  ["callback"]=>
  NULL
}