I have just installed DAViCal (and just joined this list), so apologies
in advance if I'm covering some old ground.
I installed DAViCal 0.9.7.6 as a Christmas present (family calendars!)
for my wife, and then promptly broke her present by upgrading my server
from Fedora 10 to Fedora 12. Here are the issues:
I kept getting "white screens" when trying to use the DAViCal web
interface. After considerable experimentation, I found that some of the
PHP configuration in the installation instructions at
http://rscds.sourceforge.net/installation.php didn't quite work:
php_value open_basedir 1
open_basedir takes a list of directories that the PHP scripts are
allowed to access. By experimentation, I ended up with
php_value open_basedir
"/usr/share/davical/:/usr/share/awl/:/etc/davical:/tmp"
It probably isn't great security to give the script access to /tmp, but
it seems to need it currently. I'm not sure how the old config ever
worked under Fedora 10, but it did.
The white screens didn't explain themselves because of the directive:
php_value error_reporting "E_ALL & ~E_NOTICE"
The symbolic values are available within PHP programs, but not in
configuration files. I ended up with:
php_value error_reporting 22527
which is E_ALL & ~E_NOTICE & ~E_DEPRECATED. I needed to turn off
E_DEPRECATED because the awl code was using a deprecated function, and
made the error logs too chatty.
Also, not a DAViCal problem, but since DAViCal is the only thing I have
currently using postgresql (everything else uses MySQL), I'm a
postgresql newbie. I hadn't done a Postgresql dump of my database, and
lost my database as a result of the version change in their on-disk data
structures. Fortunately, I hadn't lost much.
I started to update the wiki with the configuration stuff, but some of
the installation instructions aren't on the wiki, so thought I should
point out the problems as well.
Happy New Year!
-Jim
in advance if I'm covering some old ground.
I installed DAViCal 0.9.7.6 as a Christmas present (family calendars!)
for my wife, and then promptly broke her present by upgrading my server
from Fedora 10 to Fedora 12. Here are the issues:
I kept getting "white screens" when trying to use the DAViCal web
interface. After considerable experimentation, I found that some of the
PHP configuration in the installation instructions at
http://rscds.sourceforge.net/installation.php didn't quite work:
php_value open_basedir 1
open_basedir takes a list of directories that the PHP scripts are
allowed to access. By experimentation, I ended up with
php_value open_basedir
"/usr/share/davical/:/usr/share/awl/:/etc/davical:/tmp"
It probably isn't great security to give the script access to /tmp, but
it seems to need it currently. I'm not sure how the old config ever
worked under Fedora 10, but it did.
The white screens didn't explain themselves because of the directive:
php_value error_reporting "E_ALL & ~E_NOTICE"
The symbolic values are available within PHP programs, but not in
configuration files. I ended up with:
php_value error_reporting 22527
which is E_ALL & ~E_NOTICE & ~E_DEPRECATED. I needed to turn off
E_DEPRECATED because the awl code was using a deprecated function, and
made the error logs too chatty.
Also, not a DAViCal problem, but since DAViCal is the only thing I have
currently using postgresql (everything else uses MySQL), I'm a
postgresql newbie. I hadn't done a Postgresql dump of my database, and
lost my database as a result of the version change in their on-disk data
structures. Fortunately, I hadn't lost much.
I started to update the wiki with the configuration stuff, but some of
the installation instructions aren't on the wiki, so thought I should
point out the problems as well.
Happy New Year!
-Jim