[Kolab-devel] pfbcache.db is not created automatically

Marcus Hüwe suse-tux at gmx.de
Thu Apr 6 22:48:57 CEST 2006


Hi,

Richard and I found out that the pfbcache.db isn't created
automatically. So if you browse to
https://<your-domain>/kolab/freebusy/<user>%40<your-domain>.ifb and the
pfbcache.db doesn't exist you'll get the following error:


Warning: dba_open(/srv/www/htdocs/kolab/freebusy/cache/pfbcache.db)
[function.dba-open]: failed to open stream: No such file or directory
in /usr/share/php/kolab/freebusy/freebusycache.class.php on line 182

Warning: Cannot modify header information - headers already sent by
(output started
at /usr/share/php/kolab/freebusy/freebusycache.class.php:182)
in /usr/share/php/kolab/freebusy/misc.php on line 64 Not Found

The requested URL /kolab/freebusy/marcus%40linux-network.tld.ifb was
not found on this server.



The dba_open warning is the important one (the header warning can be
ignored..).
I attached a patch that checks if the pfbcache.db file exists and if it
doesn't exist it will be created.


Marcus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: krh-freebusycache_db.patch
Type: text/x-patch
Size: 763 bytes
Desc: not available
URL: <http://lists.kolab.org/pipermail/devel/attachments/20060406/b9420402/attachment.bin>


More information about the devel mailing list