Well, that was odd. Managed to get WebCal to work (after realising it doesn’t hook into the DAViCal database at all – it’s a completely separate admin account, user accounts etc). After creating user, couldn’t add calendars to them. Eventually tracked it down to utils/helper.php and the encode and decode functions which were retrieving $iv of the wrong lengths – saw 21 and 24 bytes. After putting code in to watch the variables created a new user – which worked perfectly. Disabled debugging code, deleted all users and recreated Glasgow10m user – works fine. Bizarre.
Tag: Calendar
Installing Bedework
Install Java
Needs to be the Oracle JDK. Download the .bin file and make it executable. Create appropriate directory, change to it and run the .bin file.
update-alternatives --install "/usr/bin/java" java" "/usr/lib/jvm/jdk1.6.0_31/bin/java" 1
Creates link for java in /usr/bin/
update-alternatives --set java "/usr/local/bin/oracle-java-default/bin/java"
Not needed for a clean install – there are no other versions of java on the system.
Then in /etc/environment
JAVA_HOME="/usr/lib/jvm/jdk1.6.0_31"
Gave up at this point and decided to give DAViCal another go.