Hello,
I am using WP Crontrol. I made a cron schedule every 600 seconds and activated in your hook “bl_cron_hook”, but after saving the reccurance turns back into cron schedule every hour.
What can i do to be able to change the cron schedule?
Thanks
]]>Hello,
with Nextcloud i can create two different CalDAV URLs:
https://www.xyz.de/remote.php/dav
and
https://www.xyz/remote.php/dav/principals/users/abc.def/
I put username and password in configuration but i get an error at log with both URLs:
Log created on 23:08:02 06:47:05
CalendarURL:https://www.xyz/remote.php/dav
Max. attempts for data withdrawal from CALDAV server :3
CalendarExclude:
using temp file: /tmp/result.txt for Server Response at time: 20230802184705 numAttempts: 1 size $ resfile :0b
using temp file: /tmp/result.txt for Server Response at time: 20230802184715 numAttempts: 2 size $ resfile :0b
using temp file: /tmp/result.txt for Server Response at time: 20230802184725 numAttempts: 3 size $ resfile :0b
no valid VCALENDAR Data found in Server response, aborting !
Server Response:
Any idea?
]]>I have successfully converted an OpenXchange public CalDAV calendar to ICS. Several programs will import the converted HTTP file.
My problem is that Google Calendar and Android phones will not import or subscribe to any events. There is no error message (except ‘0 imported’).
I have discovered that the issue lies in the additional line feeds from line 22. When I remove all \x{0D}\x{0D}, the ICS file will be imported.
Your tool is indeed very interesting for OpenXchange users. Here’s a small addition for anyone looking to access the OpenXchange CalDAV server:
In Apache2, you need to modify a Rewrite condition in the ox.conf file.
RewriteCond %{HTTP_USER_AGENT} DAVdroid [OR] RewriteCond %{HTTP_USER_AGENT} WordPress/6.1.1 <— matching the version RewriteRule (.*) https://localhost:8009/servlet/dav$1 [P]
Kind regards
Maik
]]>SOLVED!
I forgot to give the calendar a name, the field had no star next to it, I misremembered and left it blank, no ics was generated…
Hi, first of, wonderful plugin! Thanks.
I’ve installed your plugin a couple of days ago on my server and it worked like a charm. Unfortunately another plugin was not (working like a charm), so I had to do a clean install. I started all over again, installed only the plugins I needed. I configured your plugin the same way as before, only now no ics file is created and I have no idea what is going on… The log shows that the data is parsed.
]]>I have a question about how the passwords are stored. When I used a previous version of WP mail SMTP (years go) my password was hacked within days. It used a plain field to enter the password, just like your plugin. They tackled the problem and the password is now set by changing the wp-config.php file. No hacking problems since then. How do you secure the passwords? It is important because the calendar credentials are the same as my server credentials.
]]>Hallo hoernerfranz,
erst einmal, herzlichen Dank für das toll WP-Plugin. Ich nutze es schon l?nger.
Ich habe eine “baikal” caldav Server in dem ich mehrere Kalender pflege. Wenn aber in einem Kalender nur Termine stehen die den ganzen Tag betreffen exportiert baikal im CalDAV keine Timezone.
Das führt dann aber leider zu dem Fehler:
no valid TIMEZONE Info found in Server response, aborting !
Jetzt schreibe ich immer Timezone-Bug-Termine mit rein. Wenn dann aber der Termin zu lange in der Vergangenheit liegt, wird er nicht mehr mit exportiert und dann beginnt das Spiel von vorne. Nur dass ich dann leider das Problem schon wieder vergessen habe.
W?re es m?glich dieses Problem in Ihrem Plugin zu l?sen? Eventuell eine Default-Timezone anzulegen die dann überschrieben wird wenn der Server eine mitschickt?
Viele Grü?e
Martin Zeh
]]>Hej,
ich habe einen CalDav Kalender eines Synology NAS eingebunden.
Jedoch wird nach der Speicherung der notwendigen Informationen die ICS Datei nicht erzeugt.
Es wird die Meldung “Es gab einen kritischen Fehler auf deiner Website. Bitte überprüfe den Posteingang deiner Website-Administrator-E-Mail-Adresse für weitere Anweisungen.” angezeigt.
******************
LOG:
Log created on 23:02:27 08:15:34
CalendarURL:https://gs-dachse.synology.me/caldav/verwaltung
Max. attempts for data withdrawal from CALDAV server :3
CalendarExclude:
using temp file: /tmp/result.txt for Server Response at time: 20230227081534 numAttempts: 1 size $ resfile :83b
using temp file: /tmp/result.txt for Server Response at time: 20230227081535 numAttempts: 2 size $ resfile :83b
using temp file: /tmp/result.txt for Server Response at time: 20230227081535 numAttempts: 3 size $ resfile :83b
The calendar-query report must be run against a calendar or a scheduling collection
no valid TIMEZONE Info found in Server response, aborting !
******************
Greetingxxx, Silvio
]]>Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, bool given in /mnt/web220/c2/13/512233413/htdocs/STRATO-apps/wordpress_03/app/wp-content/plugins/wp-caldav2ics/Caldav2ics_Plugin.php:75 Stack trace: #0 /mnt/web220/c2/13/512233413/htdocs/STRATO-apps/wordpress_03/app/wp-content/plugins/wp-caldav2ics/Caldav2ics_LifeCycle.php(29): Caldav2ics_Plugin->initOptions() #1 /mnt/web220/c2/13/512233413/htdocs/STRATO-apps/wordpress_03/app/wp-content/plugins/wp-caldav2ics/caldav2ics_init.php(34): Caldav2ics_LifeCycle->install() #2 /mnt/web220/c2/13/512233413/htdocs/STRATO-apps/wordpress_03/app/wp-content/plugins/wp-caldav2ics/wp-caldav2ics.php(70): Caldav2ics_init() #3 /mnt/web220/c2/13/512233413/htdocs/STRATO-apps/wordpress_03/app/wp-admin/includes/plugin.php(2314): include_once(‘…’) #4 /mnt/web220/c2/13/512233413/htdocs/STRATO-apps/wordpress_03/app/wp-admin/plugins.php(192): plugin_sandbox_scrape() #5 {main} thrown in /mnt/web220/c2/13/512233413/htdocs/STRATO-apps/wordpress_03/app/wp-content/plugins/wp-caldav2ics/Caldav2ics_Plugin.php on line 75
]]>Ahoi allerseits,
Sorry, aber das Plugin wirf bei der Installation einen fatalen Fehler…
“Das Plugin kann nicht aktiviert werden, da es einen fatalen Fehler erzeugt.”
Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, bool given in /homepages/23/KundNr/htdocs/wordpress/wp-content/plugins/wp-caldav2ics/Caldav2ics_Plugin.php:70 Stack trace: #0 /homepages/23/KundNr/htdocs/wordpress/wp-content/plugins/wp-caldav2ics/Caldav2ics_LifeCycle.php(29): Caldav2ics_Plugin->initOptions() #1 /homepages/23/KundNr/htdocs/wordpress/wp-content/plugins/wp-caldav2ics/caldav2ics_init.php(34): Caldav2ics_LifeCycle->install() #2 /homepages/23/KundNr/htdocs/wordpress/wp-content/plugins/wp-caldav2ics/wp-caldav2ics.php(70): Caldav2ics_init('/homepages/23/d...') #3 /homepages/23/KundNr/htdocs/wordpress/wp-admin/includes/plugin.php(2313): include_once('/homepages/23/d...') #4 /homepages/23/KundNr/htdocs/wordpress/wp-admin/plugins.php(192): plugin_sandbox_scrape('wp-caldav2ics/w...') #5 {main} thrown in /homepages/23/KundNr/htdocs/wordpress/wp-content/plugins/wp-caldav2ics/Caldav2ics_Plugin.php on line 70
KundNr war meine Kundennummer und die will ja hier keiner wissen… ??
Besteht die Chance, da? der Fehler noch gefixt wird oder ist das tolle Plugin jetzt verloren?
Mit freundlichen Grü?en
Volker
]]>Hello!
I have a webhotel instance with CPanel (admin: myadmin
). It has an email account ([email protected]
) with two calendars (myinternal
and myexternal
) in Roundcube which publishes the two calendars using the CalDAV protocol. My goal is to have read-only Icalendar URLS to those calendars.
In CPanel’s Calendars and contacts I have the following URLs
From Roundcube itself I can get an URL
Which of those URLs should I use? Since I want the calendars of the user myuser
I suppose that I should use that user’s crendentials in the plugin settings.
I can get an Icalendar URL https://mycompany.com/wp-content/uploads/calendar/myinternal.ics
but there are no events in it. The log cron.log
contains besides the used URL a warning: “WARNING: no valid Ical Data found in Server Response !”
Pointers appreciated
]]>This is such a useful plugin, and I was sad to see it will no longer be supported.
For the benefit of other users, a potential new developer, or maybe even the current owner: A number of weeks ago I started seeing intermittent failed calendar downloads. The error logs say there’s an invalid response.
Further research: my calendar hosting service technical team have told me that the plugin is sending incorrectly formed requests for a TLS1.3 connection.
I’m using the most recent version of WordPress 4 (not 5).
]]>as already mentioned in the most recent post (in german) I do not plan to further develop this plugin in the forseen future, as I have given up on WordPress as a whole.
I will, however, check from time to time if it still works on recent WP versions, and as long as this is true, I’ll just let it as-is.
So, if anyone is interested in adopting it and willing to maintain / further develop this, feel free to contact me via my Website.
Moin,
ist es m?glich den Speicherort für die ICS-Datei global zu ver?ndern?
Momentan kann man ja nur den Dateinamen frei w?hlen, das Speicherverzeichnis wird jedoch vom Plugin vorgegeben.
Da ich meine ICS-Datei auch zum Download anbieten m?chte, m?chte ich die gerne in mein zentrales Download-Verzeichnis speichern.
Ich war mal so frech und habe deinen Plugin-Code so ver?ndert, dass er es an die für mich korrekte Stelle speichert. Leider muss ich das dann nach jedem Plugin-Update wiederholen.
Gibt es dafür, oder wird es dafür vielleicht in Zukunft eine globale Einstellung geben? ??
Danke und liebe Grü?e
Greendroid
Moin,
vielen Dank für das tolle Plugin! Es funktioniert soweit super und erm?glicht mir einen flexiblen Webseiten-Kalender.
Ich habe leider bei vielen Termineintr?gen das Problem, dass die Terminbeschreibung nicht korrekt in das ICS geparst wird.
Meinen Kalender habe ich in Hetzner-Horde angelegt, der dann über dein Plugin über CalDav ausgelesen wird.
Dabei werden im Termin pl?tzlich neue Zeilen angelegt, die dann von meinem Kalenderplugin nicht weiterverarbeitet werden.
Hier mal ein Auszug aus meinem Log:
<cal:calendar-data>BEGIN:VCALENDAR
VERSION:2.0
X-WR-CALNAME:Greendroid
PRODID:-//The Horde Project//Horde iCalendar Library//EN
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210103
DTEND;VALUE=DATE:20210104
X-FUNAMBOL-ALLDAY:1
DTSTAMP:20210201T131509Z
UID: Habe ich manuell hier mal rausgenommen. Evtl. sind da nicht-?ffentliche IDs drin?
CREATED:20210201T130540Z
LAST-MODIFIED:20210201T131453Z
SUMMARY:a? Neuer Greendroid-Artikel
DESCRIPTION:Der aktuelle Blogeintrag kann hier eingesehen
werden:\nhttps://greendroid.de/blog/
CLASS:PUBLIC
STATUS:CONFIRMED
TRANSP:OPAQUE
RRULE:FREQ=DAILY;INTERVAL=14;UNTIL=20211121T225959Z
END:VEVENT
END:VCALENDAR
Das DESCRIPTION Feld macht Probleme. Eigentlich gibt es keine Leerzeile nach “eingesehen”, sondern nur eine nach “werden:” die ja auch mit einem “\n” angezeigt wird.
Leider zeigt mein Kalenderplugin dann nur die erste Zeile an…
Gibt es einen Tipp um diesen Fehler zu fixen?
Danke und liebe Grü?e
Greendroid
Hi there,
I’m glad I found this plugin. It does what it should and the whole thing for free!
Unfortunately I have a problem. I use the Events Manager plug-in, but it does not recognize that an ics has been created and the appointments are not imported.
Is there a solution for this?
Many Thanks!
Update:
I just noticed that the ics is empty.
What can be the reason? We get the calendar data from a Nextcloud server.
]]>hey guys,
i was implementing the Content-Security-Policy Header via the meta-tag. As soon I implement it in my index.php header, the calendar will show up mutliple times. And as soon I choose one of the months in the drop down menue, it will be displayed correctly. You can see the behaviour live on the linked website.
My Content-Security-Policy meta-tag looks like:
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; connect-src 'self'; img-src 'none' https://myinternalpage.com;
script-src 'self'; style-src 'self'; form-action 'self'; base-uri 'self'; font-src 'self'">
So my question is: are there any external ressources bound in in the scripts for the plugin?
hope anyone can help!
cheers
I would like implement a calendar on my webpage. We also moved away from Google and co. That’ s why we use the calendar which comes with RoundcubePlus. It’ s working with our iPhones but when we fill in all the required data in the settings of the plugin, we get the following content (copied out of the cron.log):
Log created on 20:04:20 08:07:17
CalendarURL:https://caldav.example.com/
using temp file: /var/www/tmp/result.txt for Server Response^M
<?xml version=”1.0″?>^M
<d:multistatus xmlns:d=”DAV:” xmlns:s=”https://sabredav.org/ns” xmlns:cal=”urn:ietf:params:xml:ns:caldav” xmlns:cs=”https://calendarserver.org/ns/”/>^M
Lines processed: 2^M
WARNING: no valid Ical Data found in Server Response !^M
Any help would be greatly appreciated!
]]>There is a new development version of this Plugin available at GitHub.
This has a new Parser for the Server Response which no longer uses the somehow picky PHP XML Parser, but a simple approach, just parsing line by line for valid ICAL entrys.
It is intended to solve some of the Parsing Problems which occurred with the recent Version(s).
But, as I only have access to my own Baikal Server, I cannot test/verify it with other Server Incarnations.
For this reason, I’d like to encourage anyone here to try the new Version and give some feedback, before creating a new official Version.
Trying out is easy:
Just download the zip File from Github, unpack it somewhere to your local Computer.
Then just replace the Files in your Live Plugin Directory with those from the unpacked folder.
You should then see Version 1.2.0 in your Backend’s Plugin list.
There is no new activation and/or Configuration required.
In case anything goes wrong or does not work as expected, you can always revert back to the official Version by just replacing the mentioned files with those from the latest official Version.
I am using SmarterMail Enterprise 15.7 and am looking to leverage the WP-CalDav2ICS plugin to create an .ics file – I’m receiving the “Server Response Invalid and cannot be parsed” error message and here are the contents of the mopst recent log file:
Log created on 19:11:08 06:05:15
CalendarURL:https://mail.cloudaccess.net:443/WebDAV/cal/D0F7A50F-4285-4EB8-8294-F16EAC07FB78/
<?xml version=”1.0″ encoding=”utf-8″?>
<D:multistatus xmlns:D=”DAV:”>
<D:response>
<D:href>/WebDAV/cal/D0F7A50F-4285-4EB8-8294-F16EAC07FB78/7441360131d84cf3a077bfbe394da772.ics</D:href>
<D:propstat>
<D:status>HTTP/1.1 200 OK</D:status>
<D:prop>
<D:getetag>637079568094308195</D:getetag>
<C:calendar-data xmlns:C=”urn:ietf:params:xml:ns:caldav”>BEGIN:VCALENDAR
CALSCALE:GREGORIAN
VERSION:2.0
PRODID:-//SmarterTools//SmarterMail//EN
METHOD:REQUEST
CALSCALE:GREGORIAN
BEGIN:VEVENT
ATTENDEE;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;RSVP=TRUE:MAILTO:jeremy
[email protected]
BUSYSTATUS:BUSY
CLASS:PUBLIC
DTEND:20200127
DTSTAMP:20191029T144009Z
DTSTART:20200124
LAST-MODIFIED:20191029T144009Z
LOCATION:Four Points by Sheraton, Wakefield, MA
ORGANIZER;CN=”Drew Tripp”:MAILTO:[email protected]
PRIORITY:5
SEQUENCE:0
SUMMARY:MBCA Annual clinic
TRANSP:OPAQUE
UID:7441360131d84cf3a077bfbe394da772
X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
END:VEVENT
END:VCALENDAR</C:calendar-data>
</D:prop>
</D:propstat>
</D:response>
<D:response>
<D:href>/WebDAV/cal/D0F7A50F-4285-4EB8-8294-F16EAC07FB78/edcd73a6005f46839f6faf66977118f8.ics</D:href>
<D:propstat>
<D:status>HTTP/1.1 200 OK</D:status>
<D:prop>
<D:getetag>637088233416814437</D:getetag>
<C:calendar-data xmlns:C=”urn:ietf:params:xml:ns:caldav”>BEGIN:VCALENDAR
CALSCALE:GREGORIAN
VERSION:2.0
PRODID:-//SmarterTools//SmarterMail//EN
METHOD:PUBLISH
CALSCALE:GREGORIAN
BEGIN:VEVENT
BUSYSTATUS:BUSY
CLASS:PUBLIC
DTEND:20200105
DTSTAMP:20191108T152221Z
DTSTART:20200102
LAST-MODIFIED:20191108T152221Z
PRIORITY:5
SEQUENCE:0
SUMMARY:ABCA Conference
TRANSP:OPAQUE
UID:edcd73a6005f46839f6faf66977118f8
X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
BEGIN:VALARM
ACTION:DISPLAY
SUMMARY:ABCA Conference
TRIGGER:-P1D
END:VALARM
END:VEVENT
END:VCALENDAR</C:calendar-data>
</D:prop>
</D:propstat>
</D:response>
<D:response>
<D:href>/WebDAV/cal/D0F7A50F-4285-4EB8-8294-F16EAC07FB78/8a20b72e35104d69bbf7f98cceaabd2b.ics</D:href>
<D:propstat>
<D:status>HTTP/1.1 200 OK</D:status>
<D:prop>
<D:getetag>637088239269607149</D:getetag>
<C:calendar-data xmlns:C=”urn:ietf:params:xml:ns:caldav”>BEGIN:VCALENDAR
CALSCALE:GREGORIAN
VERSION:2.0
PRODID:-//SmarterTools//SmarterMail//EN
METHOD:PUBLISH
CALSCALE:GREGORIAN
BEGIN:VEVENT
BUSYSTATUS:BUSY
CLASS:PUBLIC
DTEND:20191108T224500Z
DTSTAMP:20191108T153206Z
DTSTART:20191108T174500Z
LAST-MODIFIED:20191108T153206Z
LOCATION:83 Postgate Road, South Hamilton, MA 01982
PRIORITY:5
SEQUENCE:0
SUMMARY:TEst web event
TRANSP:OPAQUE
UID:8a20b72e35104d69bbf7f98cceaabd2b
BEGIN:VALARM
ACTION:DISPLAY
SUMMARY:TEst web event
TRIGGER:-PT5M
END:VALARM
END:VEVENT
END:VCALENDAR</C:calendar-data>
</D:prop>
</D:propstat>
</D:response>
</D:multistatus>Tag://C:calendar-data
<?xml version=”1.0″ encoding=”utf-8″?>
<D:multistatus xmlns:D=”DAV:”>
<D:response>
<D:href>/WebDAV/cal/D0F7A50F-4285-4EB8-8294-F16EAC07FB78/7441360131d84cf3a077bfbe394da772.ics</D:href>
<D:propstat>
<D:status>HTTP/1.1 200 OK</D:status>
<D:prop>
<D:getetag>637079568094308195</D:getetag>
<C:calendar-data xmlns:C=”urn:ietf:params:xml:ns:caldav”>BEGIN:VCALENDAR
CALSCALE:GREGORIAN
VERSION:2.0
PRODID:-//SmarterTools//SmarterMail//EN
METHOD:REQUEST
CALSCALE:GREGORIAN
BEGIN:VEVENT
ATTENDEE;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;RSVP=TRUE:MAILTO:jeremy
[email protected]
BUSYSTATUS:BUSY
CLASS:PUBLIC
DTEND:20200127
DTSTAMP:20191029T144009Z
DTSTART:20200124
LAST-MODIFIED:20191029T144009Z
LOCATION:Four Points by Sheraton, Wakefield, MA
ORGANIZER;CN=”Drew Tripp”:MAILTO:[email protected]
PRIORITY:5
SEQUENCE:0
SUMMARY:MBCA Annual clinic
TRANSP:OPAQUE
UID:7441360131d84cf3a077bfbe394da772
X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
END:VEVENT
END:VCALENDAR</C:calendar-data>
</D:prop>
</D:propstat>
</D:response>
<D:response>
<D:href>/WebDAV/cal/D0F7A50F-4285-4EB8-8294-F16EAC07FB78/edcd73a6005f46839f6faf66977118f8.ics</D:href>
<D:propstat>
<D:status>HTTP/1.1 200 OK</D:status>
<D:prop>
<D:getetag>637088233416814437</D:getetag>
<C:calendar-data xmlns:C=”urn:ietf:params:xml:ns:caldav”>BEGIN:VCALENDAR
CALSCALE:GREGORIAN
VERSION:2.0
PRODID:-//SmarterTools//SmarterMail//EN
METHOD:PUBLISH
CALSCALE:GREGORIAN
BEGIN:VEVENT
BUSYSTATUS:BUSY
CLASS:PUBLIC
DTEND:20200105
DTSTAMP:20191108T152221Z
DTSTART:20200102
LAST-MODIFIED:20191108T152221Z
PRIORITY:5
SEQUENCE:0
SUMMARY:ABCA Conference
TRANSP:OPAQUE
UID:edcd73a6005f46839f6faf66977118f8
X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
BEGIN:VALARM
ACTION:DISPLAY
SUMMARY:ABCA Conference
TRIGGER:-P1D
END:VALARM
END:VEVENT
END:VCALENDAR</C:calendar-data>
</D:prop>
</D:propstat>
</D:response>
<D:response>
<D:href>/WebDAV/cal/D0F7A50F-4285-4EB8-8294-F16EAC07FB78/8a20b72e35104d69bbf7f98cceaabd2b.ics</D:href>
<D:propstat>
<D:status>HTTP/1.1 200 OK</D:status>
<D:prop>
<D:getetag>637088239269607149</D:getetag>
<C:calendar-data xmlns:C=”urn:ietf:params:xml:ns:caldav”>BEGIN:VCALENDAR
CALSCALE:GREGORIAN
VERSION:2.0
PRODID:-//SmarterTools//SmarterMail//EN
METHOD:PUBLISH
CALSCALE:GREGORIAN
BEGIN:VEVENT
BUSYSTATUS:BUSY
CLASS:PUBLIC
DTEND:20191108T224500Z
DTSTAMP:20191108T153206Z
DTSTART:20191108T174500Z
LAST-MODIFIED:20191108T153206Z
LOCATION:83 Postgate Road, South Hamilton, MA 01982
PRIORITY:5
SEQUENCE:0
SUMMARY:TEst web event
TRANSP:OPAQUE
UID:8a20b72e35104d69bbf7f98cceaabd2b
BEGIN:VALARM
ACTION:DISPLAY
SUMMARY:TEst web event
TRIGGER:-PT5M
END:VALARM
END:VEVENT
END:VCALENDAR</C:calendar-data>
</D:prop>
</D:propstat>
</D:response>
</D:multistatus>
Hi,
using latest plugin on latest wordpress
ERROR: Your Server’s response is invalid and cannot be parsed – please enable Logging and check the Logfile !
Log created on 19:11:04 10:27:00
CalendarURL:https://server/cal.php/calendars/nwt/default/
<?xml version="1.0"?>
<d:multistatus xmlns:d="DAV:" xmlns:s="https://sabredav.org/ns" xmlns:cal="urn:ietf:params:xml:ns:caldav" xmlns:cs="https://calendarserver.org/ns/"/>Tag://cal:calendar-data
<?xml version="1.0"?>
<d:multistatus xmlns:d="DAV:" xmlns:s="https://sabredav.org/ns" xmlns:cal="urn:ietf:params:xml:ns:caldav" xmlns:cs="https://calendarserver.org/ns/"/>
Seems like the calendar url is wrong? username in baikal docker container is nwt, calendar token id is default, auth set to basic
I can bring up the page in browser (follows)
Nodes
Properties
d:principal-collection-set /cal.php/principals/
d:current-user-principal /cal.php/principals/nwt/
d:supported-privilege-set
d:all
d:read
d:read-acl
d:read-current-user-privilege-set
cal:read-free-busy
d:write
d:write-properties
d:write-content
d:unlock
d:bind
d:unbind
d:write-acl
d:share
d:current-user-privilege-set cal:read-free-busy, d:read, d:read-acl, d:read-current-user-privilege-set, d:write-properties, d:write, d:write-content, d:unlock, d:bind, d:unbind, d:write-acl, d:share
d:acl
Principal Privilege
/cal.php/principals/nwt d:share (protected)
/cal.php/principals/nwt/calendar-proxy-write d:share (protected)
/cal.php/principals/nwt d:write (protected)
/cal.php/principals/nwt/calendar-proxy-write d:write (protected)
/cal.php/principals/nwt d:write-properties (protected)
/cal.php/principals/nwt/calendar-proxy-write d:write-properties (protected)
/cal.php/principals/nwt d:read (protected)
/cal.php/principals/nwt/calendar-proxy-read d:read (protected)
/cal.php/principals/nwt/calendar-proxy-write d:read (protected)
d:authenticated cal:read-free-busy (protected)
d:owner /cal.php/principals/nwt/
cs:invite
<cs:user>
<cs:invite-accepted/>
<cs:access/>
<d:href>/cal.php/</d:href>
</cs:user>
d:share-access
<d:not-shared/>
d:invite
<d:sharee>
<d:href>/cal.php/</d:href>
<d:prop/>
<d:share-access>
<d:not-shared/>
</d:share-access>
<d:invite-accepted/>
</d:sharee>
d:share-resource-uri /ns/share/1
cal:max-resource-size 10000000
cal:supported-calendar-data
<cal:calendar-data content-type="text/calendar" version="2.0"/>
<cal:calendar-data content-type="application/calendar+json"/>
cal:supported-collation-set
<cal:supported-collation>i;ascii-casemap</cal:supported-collation>
<cal:supported-collation>i;octet</cal:supported-collation>
<cal:supported-collation>i;unicode-casemap</cal:supported-collation>
d:sync-token https://sabre.io/ns/sync/1
d:supported-report-set d:expand-property, d:principal-match, d:principal-property-search, d:principal-search-property-set, d:sync-collection, cal:calendar-multiget, cal:calendar-query, cal:free-busy-query
d:resourcetype d:collection, cal:calendar
cs:getctag 1
s:sync-token 1
cal:supported-calendar-component-set
<cal:comp name="VEVENT"/>
cal:schedule-calendar-transp
<cal:opaque/>
d:displayname default
cal:calendar-description Default calendar
cal:calendar-timezone
{https://apple.com/ns/ical/}calendar-order 0
{https://apple.com/ns/ical/}calendar-color
cs:allowed-sharing-modes
<cs:can-be-shared/>
Lastly, does this plugin list look right?
core The Core plugin provides a lot of the basic functionality required by WebDAV, such as a default implementation for all HTTP and WebDAV methods.
auth Generic authentication plugin
acl Adds support for WebDAV ACL (rfc3744)
browser Generates HTML indexes and debug information for your sabre/dav server
property-storage This plugin allows any arbitrary WebDAV property to be set on any resource.
sync Adds support for WebDAV Collection Sync (rfc6578)
caldav Adds support for CalDAV (rfc4791)
ics-export Adds the ability to export CalDAV calendars as a single iCalendar file.
caldav-schedule Adds calendar-auto-schedule, as defined in rfc6638
sharing This plugin implements WebDAV resource sharing
caldav-sharing Adds support for caldav-sharing.
imip Email delivery (rfc6047) for CalDAV scheduling
Any ideas or tips? I’d love to see this work! (Baikal from dockerhub image ckulka/baikal:latest )
]]>Hi, i’ve setup the application with my shared calendar. I’ve verify with the command curl -k -S –basic https://172.18.18.150/webdav/public-calendars/domain/Banquet -u username. the server reply MDaemon’s WebDAV server is running and properly configured .I’ve test with thunderbird working fine as well.
I’ve check in log setting nothing appear except Log created on 19:07:17 11:25:00
CalendarURL:https://172.18.18.150/webdav/public-calendars/domain/Banquet
Tag://cal:calendar-data
But no files are created on uploads/calendar directory. And i cannot find any informations about the issue. Maybe it’s coming the server certificat ? As i’m using option -k.
Thanks for ur help
Vincent
I have an internal website serving baikal and wordpress. The same url successfully resolves in other calendar clients and also in evolution on the same machine. Authentication is basic. The error “Invalid Calendar URL” appears. Please advise. Thanks.
]]>Hello,
is it possible to edit the cron time to 15 or 30 minutes? If you don’t want to put it for all in your plugin, is it easy to edit it in a file?
thx, Smorfy
]]>this is a short Note to those who encounter Problems with wp-caldav2ics not beeing able to login into their Caldav Server, see the currently 2 open Tickets here in the Support Forum.
so, if you run into this issue, first make sure that:
– the URL is correct, and points to your Calendar
– Username + Password are correct
if all is correct, and you still get messages like ‘Unauthorized’ in your Logfile,
it might be a Problem with the Authentication Method your Server uses.
Currently, wp-caldav2ics uses Basic Authorization, which works fine in most cases, but not all.
To narrow down what might be the real cause, I recommend using curl as Test Tool, which is extremely versatile, see the Manual Page.
And yes, curl is available for all relevant OSes, even for Windows ?? .
Once installed, you can fiddle around with your Setup by e.g. using this command:
curl -S --negotiate https://webmail.all-inkl.com/calendars/mycalendar -u testuser
which means you are trying to access your Calendar with Username ‘testuser’ and Auth Method ‘negotiate’.
You should then be prompted for a Password, and if all is ok, there will be an appropriate Response.
if not, something was wrong: URL, Username, Password or Auth Method …
Then, just try other Combinations.
Once you find a working Parameter set, which indicates the Auth Method ‘Basic’ as the culprit, just open a new Ticket here and post your Findings.
Log created on 19:02:08 10:36:41
CalendarURL:https://webmail.all-inkl.com/calendars/cal000c3e0/1/
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”https://www.w3.org/1999/xhtml”>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />
<title>Unauthorized – Fehler 401</title>
<style type=”text/css”><!–
html{width:100%;}body{font-family:Arial,Helvetica,sans-serif;overflow-x:hidden;overflow-y:auto;width:100%;background:#FFFFFF url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAAyCAYAAAB2zAqJAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAAB90RVh0U29mdHdhcmUATWFjcm9tZWRpYSBGaXJld29ya3MgOLVo0ngAAAAWdEVYdENyZWF0aW9uIFRpbWUAMDYvMjMvMTAMYx+VAAAARklEQVQYlZ2OOQ4AIAgEB8P/P6e+RwuNhYJXN4EdWIkpFwAVgQY0UvpIZQdP1hweK8vCvWPoftiwOFddXtxZFzU6BH7CK1QslgSrWWtimQAAAABJRU5ErkJggg==) repeat-x;margin:0;}h1{letter-spacing:-1px;color:#E24912;font-weight:normal;font-size:250%;text-align:right;margin:20px 10px 0 0;}h2{letter-spacing:1px;color:#E24912;font-weight:normal;font-size:90%;font-weight:bold;text-align:right;margin:5px 10px 0 0;}img{border:0;margin:0;}#underline{width:99%;text-align:right;}#infobox{width:100%;height:105px;background-color:#EBEBEB;border:1px solid #ccc;position:absolute;top:250px;}#infotext{float:left;color:#666;width:650px;font-size:14px;text-align:left;margin:5px 0;}#infotext h2{color:#E24912;margin:0 0 10px 0;text-align:left;}#infotext p{font-size:12px;}
–></style>
</head>
<body>
<h1>Fehler 401</h1>
<div id=”underline”>
</div>
<h2>Unauthorized</h2>
<div id=”infobox”>
<div style=”margin:5px auto;width:730px;”>
<div style=”float:left;width:80px;text-align:left;”>
</div>
<div id=”infotext”>
<h2>Die Anfrage kann nicht ohne gültige Authentifizierung durchgeführt werden.</h2>
<p>Die angeforderten Daten sind geschützt. Der Server kann die Daten nur dann senden, wenn eine entsprechende Authentifizierung durch Eingabe einer Benutzerkennung bestehend aus Benutzername und Passwort durch den Benutzer eingegeben wird. Dies wird in der Praxis meist durch eine .htaccess-Datei realisiert, welche die Authentifizierung der HTTP-Zugriffe steuert.</p>
</div>
</div>
</div>
</body>
</html>
Tag://cal:calendar-data
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”https://www.w3.org/1999/xhtml”>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />
<title>Unauthorized – Fehler 401</title>
<style type=”text/css”><!–
html{width:100%;}body{font-family:Arial,Helvetica,sans-serif;overflow-x:hidden;overflow-y:auto;width:100%;background:#FFFFFF url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAAyCAYAAAB2zAqJAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAAB90RVh0U29mdHdhcmUATWFjcm9tZWRpYSBGaXJld29ya3MgOLVo0ngAAAAWdEVYdENyZWF0aW9uIFRpbWUAMDYvMjMvMTAMYx+VAAAARklEQVQYlZ2OOQ4AIAgEB8P/P6e+RwuNhYJXN4EdWIkpFwAVgQY0UvpIZQdP1hweK8vCvWPoftiwOFddXtxZFzU6BH7CK1QslgSrWWtimQAAAABJRU5ErkJggg==) repeat-x;margin:0;}h1{letter-spacing:-1px;color:#E24912;font-weight:normal;font-size:250%;text-align:right;margin:20px 10px 0 0;}h2{letter-spacing:1px;color:#E24912;font-weight:normal;font-size:90%;font-weight:bold;text-align:right;margin:5px 10px 0 0;}img{border:0;margin:0;}#underline{width:99%;text-align:right;}#infobox{width:100%;height:105px;background-color:#EBEBEB;border:1px solid #ccc;position:absolute;top:250px;}#infotext{float:left;color:#666;width:650px;font-size:14px;text-align:left;margin:5px 0;}#infotext h2{color:#E24912;margin:0 0 10px 0;text-align:left;}#infotext p{font-size:12px;}
–></style>
</head>
<body>
<h1>Fehler 401</h1>
<div id=”underline”>
</div>
<h2>Unauthorized</h2>
<div id=”infobox”>
<div style=”margin:5px auto;width:730px;”>
<div style=”float:left;width:80px;text-align:left;”>
</div>
<div id=”infotext”>
<h2>Die Anfrage kann nicht ohne gültige Authentifizierung durchgeführt werden.</h2>
<p>Die angeforderten Daten sind geschützt. Der Server kann die Daten nur dann senden, wenn eine entsprechende Authentifizierung durch Eingabe einer Benutzerkennung bestehend aus Benutzername und Passwort durch den Benutzer eingegeben wird. Dies wird in der Praxis meist durch eine .htaccess-Datei realisiert, welche die Authentifizierung der HTTP-Zugriffe steuert.</p>
</div>
</div>
</div>
</body>
</html>
Hi all,
I just want to take on the last few requests here, which were all written in german – obviously because it can clearly be seen that the maintainer (=me) speaks and writes german ?? .
Anyways, I strongly recommend to write in english (if possible), as this is an international support site.
Not everybody looking for help here, can understand german, and, of course, Q/A here should also be helpful for those.
THX
Hallo!
Da ich mehrere CalDav-Kalender in einer WordPress-Umgebung ver?ffentlichen will, sind die zwei Plugins von hoernerfranz genau das was ich gesucht habe.
Leider bekomme ich in meinem Setting (nextcloud als CalDav-Server) zu keinem Ergebnis.
Das Log-File gibt folgendes Ergebnis:
(Originallink habe ich ver?ndert)
Log created on 19:01:28 11:12:56
CalendarURL:https://nextcloud.myserver.de/remote.php/dav/
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="https://sabredav.org/ns">
<s:exception>Sabre\DAV\Exception\ReportNotSupported</s:exception>
<s:message/>
<d:supported-report/>
</d:error>
Tag://cal:calendar-data
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="https://sabredav.org/ns">
<s:exception>Sabre\DAV\Exception\ReportNotSupported</s:exception>
<s:message/>
<d:supported-report/>
</d:error>
Ich habe das Plugin heute installiert, müsste somit das aktuelle 1.0.4 sein (im Backend wird 1.0 angezeigt?).
Liegt das an der noch nicht vorhandenen nextcloud-Unterstützung? Oder ist mein Link nicht korrekt?
Einen Zugang zu meiner nextcloud-Installation kann ich zur Verfügung stellen.
Viele Grü?e,
Jonas
Moin!
Ich habe vor einiger Zeit dein Plugin gefunden, das anscheinend genau das macht, was ich ben?tige.
Da ich Lehrer an einer Schule in Schleswig-Holstein bin und unsere Website betreue, würde ich gerne den ?ffentlichen Kalender unseres Schulservers (IServ) anzeigen lassen.
Leider erhalte ich ebenfalls (so wie die Person im anderen Thread) ein leeres ICS-File, in dem Folgendes steht:
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//hoernerfranzracing/wp-caldav2ics plugin
END:VCALENDAR
In der Cron-Logdatei auf der Seite deines Plugins im Backende steht dies:
Log created on 19:01:27 03:37:50
CalendarURL:https://schule-im-alsterland.org/caldav/caldav.php/+public/
UsernameMEINNAME
Pw:MEINPW
Invalid response from sessauthd!
Ich konnte nicht herausfinden, wie der andere User die weitere Logs herausgefunden hat. Vielleicht kannst du mich anleiten und mir dabei helfen, wie ich dir Infos geben kann, um das Problem zu l?sen.
Gerne gebe ich dir kurzzeitig einen Benutzerlogin zu unserem IServ-Bereich auf https://www.schule-im-alsterland.org, falls du einen ben?tigst.
Danke dir ??
Sven
Dear hoernerfranz,
Thank you for sharing your work and all your efforts!
I have the strange problem that the WebDAV calendar seems to be loaded properly (given the log). However, the generated calendar.ics file only contains the four header lines but no entries/appointments.
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//hoernerfranzracing/wp-caldav2ics plugin
END:VCALENDAR
Is there a way to debug and figure out what is the problem?
Thx, md2002
PS: Please don’t store username/password in the log files accessible for everyone!
]]>Hi –
I’m getting this error when I attempt to activate on my test system:
Plugin could not be activated because it triggered a fatal error.
Fatal error: Can’t use function return value in write context in /home/…/public_html/wp-content/plugins/wp-caldav2ics/Caldav2ics_Plugin.php on line 16
Any troubleshooting tips, or additional config information you’d like to see?
]]>