All I get is a text page:
BEGIN:VCALENDAR VERSION:2.0 PRODID:-//hacksw/handcal//NONSGML v1.0//EN CALSCALE:GREGORIAN BEGIN:VEVENT UID:624d4d6f7af86 DTSTAMP:20220406T082103 DTSTART:20220410T140000 DTEND:20220410T170000 LOCATION: DESCRIPTION:LOCATION TEXT HERE URL;VALUE=URI: SUMMARY:Summary here ... END:VEVENT END:VCALENDAR
When you say ‘download event’ I’m assuming ( based on the above ) you mean add to calendar.
Can you let me know what version of Safari on what type of operating system.
Also, assuming mac – can you check to calendar slider is on as per this https://discussions.apple.com/thread/250659885
Monterey 12.3.1 … Safari 15.4 … the latest.
I am using the option “Add download button to event” in section “Download to calendar” in tab Display of the settings menu. If I hit this button the text pasted above appears on the screen.
Even worse: When I click on the generated link appearing when I click on the events overview widget I have embedded on my site I am getting this:
ERROR 404, Page not found …
Since my site is public anyway here’s the link:
The problem is with the event on April 10th but literally with every event … I am just pushing in the new ones for this year.
Nope. No IOS here … MacOS … but that option is only relevant coming out of the Mail App … but I am natively in the browser. The problem seems to be that the output is not properly marked as a download file … so browser thinks this is something to display … not to download?
It seems to work OK in other browsers. I’m awaiting for my steam driven Mac to rebuild.
But I wondering is it is related to lack of SSL and Safari is trying to do things to ‘protect you’.
Can you apply an SSL to your site?
Sorry. No. We are a environmental NGO here in Germany. Constantly in lack of money. So decision was not to buy SSL. 🙁 …
Concerning other browsers: Yes! I can confirm Chrome is working with the Link in the button. However the link in the pop up from the calendar widget still ends up in 404 … so seems to be 2 different issues …
OK On the mac/safari I can see the download issue.
For “ERROR 404, Page not found” can you screen shot exactly where as I’m not sure where you mean and can’t find it ( you can use any image sharing link here )
We are a environmental NGO here in Germany. Constantly in lack of money. So decision was not to buy SSL
An Germany is the most litigious country for GDPR and personal data protection and yet you will transmit encrypted personal data – maybe that is something you should re visit as it alo puts visitors off. And LetsEncrypt certificate is Free and 99% of hosts provide support for that for free.
Anyway – that not on topic.
Can you try something for me – by changing a line in the plugin. I will direct you where.
Regarding the 404 I can get that ONLY in safari – inspecting the code the links look good.
It only happens in Safari for me – clear your chrome cache
Sent you the 404 from Chrome … Concerning SSL, yes sad thing. Our cheap provider does not offer it for this contract … we would need to upgrade … twice the price now … I will discuss … but takes time. We did not need it as we have no submits at all … just a more or less stupid contact form …
File to change
You can use the plugin editor dashboard>plugins>editor
Line 2475 current value
header( 'Content-Type: text/csv' );
header( 'Content-Type: text/calendar' );
See if that fixes the ICS issue
Cleared the cache … got the error again in Chrome:
This url generated:
Try to open it … leads to 404
- The topic ‘Download Event Button does not work in Safari’ is closed to new replies.