cross
New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
This question about Using an extension: Asked

FullCalendarPlugin doesn't allow to create new event

Can't enable FullCalendarPlugin. The Calendar is viewed but it doesn't allow to create new event.

The log from Chrome JS console:

Content script: Base content script, started on url: http://hp-probook-6460b:8080/foswiki/bin/view/System/WebCalendar base-content-script.js:298
Failed to load resource: the server responded with a status of 404 (Not Found) http://hp-probook-6460b:8080/foswiki/bin/view/System/undefined/undefined/DocumentGraphics/processing-32-bg.gif
Uncaught TypeError: Cannot call method 'data' of undefined fcp.js:48
Uncaught TypeError: Cannot call method 'data' of undefined fcp.js:40
Uncaught TypeError: Cannot call method 'data' of undefined jquery-1.8.2.js:7975

The log from access.log:

192.168.1.71 - - [15/Mar/2013:19:02:39 +0000] "GET /foswiki/pub/System/FullCalendarPlugin/fcp.js HTTP/1.1" 304 212 "http://hp-probook-6460b:8080/foswiki/bin/view/System/WebCalendar" "Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.22 (KHTML, like Gecko) Ubuntu Chromium/25.0.1364.160 Chrome/25.0.1364.160 Safari/537.22"
192.168.1.71 - - [15/Mar/2013:19:02:39 +0000] "GET /foswiki/pub/System/FullCalendarPlugin/fullcalendar-1.4.4/fullcalendar.js HTTP/1.1" 304 213 "http://hp-probook-6460b:8080/foswiki/bin/view/System/WebCalendar" "Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.22 (KHTML, like Gecko) Ubuntu Chromium/25.0.1364.160 Chrome/25.0.1364.160 Safari/537.22"
192.168.1.71 - - [15/Mar/2013:19:02:39 +0000] "GET /foswiki/pub/System/FullCalendarPlugin/fcp.css HTTP/1.1" 304 211 "http://hp-probook-6460b:8080/foswiki/bin/view/System/WebCalendar" "Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.22 (KHTML, like Gecko) Ubuntu Chromium/25.0.1364.160 Chrome/25.0.1364.160 Safari/537.22"
192.168.1.71 - - [15/Mar/2013:19:02:39 +0000] "GET /foswiki/bin/view/System/undefined/undefined/DocumentGraphics/processing-32-bg.gif HTTP/1.1" 404 4090 "http://hp-probook-6460b:8080/foswiki/bin/view/System/WebCalendar" "Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.22 (KHTML, like Gecko) Ubuntu Chromium/25.0.1364.160 Chrome/25.0.1364.160 Safari/537.22"
192.168.1.71 - - [15/Mar/2013:19:02:39 +0000] "GET /foswiki/bin/view/System/undefined/rest/FullCalendarPlugin/form?cover=ajax&topic=System.WebCalendar&eventForm=1&eventType=event&asobject=1&_=1363374161277 HTTP/1.1" 200 1017 "http://hp-probook-6460b:8080/foswiki/bin/view/System/WebCalendar" "Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.22 (KHTML, like Gecko) Ubuntu Chromium/25.0.1364.160 Chrome/25.0.1364.160 Safari/537.22"
192.168.1.71 - - [15/Mar/2013:19:02:40 +0000] "GET /foswiki/bin/view/System/undefined/rest/FullCalendarPlugin/events?cover=ajax&start=1361660400&end=1365285600&topic=System.WebCalendar&calendartopic=System.WebCalendar&reltopic=&asobject=1&_=1363374161609 HTTP/1.1" 200 1083 "http://hp-probook-6460b:8080/foswiki/bin/view/System/WebCalendar" "Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.22 (KHTML, like Gecko) Ubuntu Chromium/25.0.1364.160 Chrome/25.0.1364.160 Safari/537.22"
192.168.1.71 - - [15/Mar/2013:19:02:43 +0000] "GET /foswiki/bin/view/System/undefined/rest/FullCalendarPlugin/form?cover=ajax&topic=System.WebCalendar&eventForm=1&eventType=event&asobject=1&_=1363374165199 HTTP/1.1" 200 1018 "http://hp-probook-6460b:8080/foswiki/bin/view/System/WebCalendar" "Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.22 (KHTML, like Gecko) Ubuntu Chromium/25.0.1364.160 Chrome/25.0.1364.160 Safari/537.22"

Notice the /undefined/ in URL-s.

-- PiotrRoszatycki - 15 Mar 2013

 

QuestionForm edit

Subject Using an extension
Extension FullCalendarPlugin
Version Foswiki 1.1.8
Status Asked
Related Topics
Topic revision: r1 - 15 Mar 2013, PiotrRoszatycki - This page was cached on 18 Aug 2018 - 12:13.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy