[kronolith] Search function not working with mysql backend

david@auonline.com.au david at auonline.com.au
Fri Sep 9 05:38:53 PDT 2005


I've back traced the code a little more.

In my last post I stated that in /lib/Kronolith.php it appears that the lines
***
if (!isset($query->calendars)) {
            $calendars = $GLOBALS['display_calendars'];}
***
Were not placing any information into the $calendars array even though the if
statement is met.

The $GLOBALS['display_calendars'] originates from /lib/base.php
>From the line 

***
$GLOBALS['display_calendars'] =
unserialize($GLOBALS['prefs']->getValue('display_cals'));
***
which results in an empty array.
getValue is a function from ../lib/Horde/Prefs.php
unserialize is a function from ../lib/Horde/Serialize.php

Can anyone help me solve why $GLOBALS['display_calendars'] is not filling up
with my calendars(I presume this is what is supposed to happen)?

Thank you.

David
-----------------------------------------------------------------------------------
AU Online --- your local Web Hosting solutions group --- http://www.auonline.com.au


More information about the kronolith mailing list