• Resolved OrganicIT

    (@organicit)


    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
Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author Alan Fuller

    (@alanfuller)

    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.

    Thanks

    Plugin Author Alan Fuller

    (@alanfuller)

    Also, assuming mac – can you check to calendar slider is on as per this https://discussions.apple.com/thread/250659885

    Thread Starter OrganicIT

    (@organicit)

    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 …

    It’s generating this link:
    http://bund-seligenstadt.de/event/fruehblueherrundgang-nsg-langhorst/’http:/bund-seligenstadt.de/wp-admin/admin-ajax.php?action=qem_download_ics&id=277’

    Since my site is public anyway here’s the link:
    Home: http://bund-seligenstadt.de
    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.

    Thread Starter OrganicIT

    (@organicit)

    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?

    Plugin Author Alan Fuller

    (@alanfuller)

    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?

    Thread Starter OrganicIT

    (@organicit)

    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 …

    Plugin Author Alan Fuller

    (@alanfuller)

    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 )

    Plugin Author Alan Fuller

    (@alanfuller)

    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.

    Plugin Author Alan Fuller

    (@alanfuller)

    Regarding the 404 I can get that ONLY in safari – inspecting the code the links look good.

    Thread Starter OrganicIT

    (@organicit)

    Plugin Author Alan Fuller

    (@alanfuller)

    It only happens in Safari for me – clear your chrome cache

    Thread Starter OrganicIT

    (@organicit)

    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 …

    Plugin Author Alan Fuller

    (@alanfuller)

    File to change

    You can use the plugin editor dashboard>plugins>editor

    quick-event-manager

    legacy/quick-event-manager.php

    Line 2475 current value
    header( 'Content-Type: text/csv' );

    change to

    header( 'Content-Type: text/calendar' );

    See if that fixes the ICS issue

    Thread Starter OrganicIT

    (@organicit)

    Thread Starter OrganicIT

    (@organicit)

    Content Type change worked for Safari !!! Perfect !!!

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Download Event Button does not work in Safari’ is closed to new replies.