>From git as of this morning, I uploaded acalendar via webdav, clicked on it from the `files' app, a dialogue appeared, I selected `new calendar' and import.
The progress bar went black after a few seconds, and `import successful' was the messagew. But none of the events in the calendar I imported appear in the calendar app. In the log I see many: [Fri May 11 09:07:09 2012] [error] [client 203.143.161.65] PHP Notice: Undefined variable: calendar in /var/www/owncloud/apps/calendar/ajax/events.php on line 18, referer: https://mysite.place.id.au/owncloud/?app=calendar I suspect you need this: diff --git a/apps/calendar/ajax/events.php b/apps/calendar/ajax/events.php index f149e0d..69385e3 100755 --- a/apps/calendar/ajax/events.php +++ b/apps/calendar/ajax/events.php @@ -13,8 +13,8 @@ OCP\JSON::checkLoggedIn(); OCP\JSON::checkAppEnabled('calendar'); // Look for the calendar id -$calendar_id = OC_Calendar_App::getCalendar($_GET['calendar_id'], false, false); -if($calendar_id !== false){ +$calendar = OC_Calendar_App::getCalendar($_GET['calendar_id'], false, false); +if($calendar !== false){ if(! is_numeric($calendar['userid']) && $calendar['userid'] != OCP\User::getUser()){ OCP\JSON::error(); exit; -- Dr Peter Chubb www.nicta.com.au peter DOT chubb AT nicta.com.au http://www.ertos.nicta.com.au ERTOS within National ICT Australia >From Imagination to Impact Imagining the (ICT) Future _______________________________________________ Owncloud mailing list [email protected] https://mail.kde.org/mailman/listinfo/owncloud
