[Kolab-devel] Freebusy data not provided (native openSUSE)

Richard richard at radoeka.nl
Sat Mar 7 13:41:44 CET 2009


Hi,

when visiting this link 
https://kolab2.radoeka.nl/freebusy/richard@radoeka.nl.ifb
I get the following response (with debugging enabled):
Debug: [horde] Starting generation of free/busy data for user 
richard at radoeka.nl [on line 190 of 
"/usr/share/php5/PEAR/Horde/Kolab/FreeBusy.php"]

Debug: [horde] Free/busy data of owner richard at radoeka.nl on server 
https://kolab2.radoeka.nl/freebusy requested by user richard at radoeka.nl. 
[on line 203 of "/usr/share/php5/PEAR/Horde/Kolab/FreeBusy.php"]

Debug: [horde] Debug 1 [on line 216 of 
"/usr/share/php5/PEAR/Horde/Kolab/FreeBusy.php"]


The last line was added by me, to Horde/Kolab/FreeBusy.php

This is with kolab-freebusy-0.1.3 (but 0.1.2 showed the same problem).

The code is:
215         $this->_initCache();
216         Horde::logMessage("Debug 1", __FILE__, __LINE__, PEAR_LOG_DEBUG);
217
218         $result = $this->_cache->load($access, $req_extended);
219         Horde::logMessage("Debug 2", __FILE__, __LINE__, PEAR_LOG_DEBUG);
220         if (is_a($result, 'PEAR_Error')) {
221             $error = array('type' => FREEBUSY_ERROR_NOTFOUND, 'error' => 
$result);
222             $view = new Horde_Kolab_FreeBusy_View_error($error);
223             return $view;
224         }

line 216 is executed, and I think 218 as well.
219 is never executed :(

When I uncomment the line (216), the script continues, but fails with another 
error (of course) later on).

What could be the reason that  $result = $this->_cache->load($access, 
$req_extended);
fails?  Can the cause be in wrong directory names, of permissions?

For now I have this:
# grep cache *
config.php:/* Location of the cache files */
config.php:$conf['fb']['cache_dir']    = '/var/cache/freebusy';

drwxrwxrwx 2 root root 4096 2009-03-05 21:57 /var/cache/freebusy/

# find /var/cache/freebusy
/var/cache/freebusy

Is it possible to print the values of $access and $req_extended?

Hopefully, you have a clue what is wrong over here and can help me to
solve it!


-- 
Richard




More information about the devel mailing list