Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
ICS is recognized as PDF file | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium ICS is recognized as PDF file

ICS is recognized as PDF file

Posted: April 2, 2013 at 4:56 am

Viewing 5 reply threads


Raedorah

April 2, 2013 at 4:56 am

When I click on the iCal file icon link to save the event when I click it, my computer is recognizing the file as a PDF and asking me to save or open the file as a PDF. The same behavior exists on your demo site: http://staging.eventespresso.com/testdrive/

Are the http headers correctly configured in the php file? I haven’t looked, just asking if this might be the issue.

//set correct content-type-header
header('Content-type: text/calendar; charset=utf-8');
header('Content-Disposition: inline; filename=calendar.ics');

Thanks for your help,
~C


Dean

  • Support Staff

April 2, 2013 at 5:26 am

Hello Carlene,

What browser and version are you using as I had no issues downloading the file from the test drive site in the latest Chrome, Firefox and IE10.

Firefox does try to open the file as a pdf, but saves it correctly, which is the point, it isn’t meant to be opened by anything other than email calendars.


Raedorah

April 5, 2013 at 7:03 pm

Thanks for the feedback. Safari users eagerly await the fix;)


Sidney Harrell

  • Support Staff

April 7, 2013 at 7:15 pm

Developer ticket created and fix posted.
Thank You.


Raedorah

April 8, 2013 at 4:00 pm

Where is the fix? Please provide info, thanks!


Sidney Harrell

  • Support Staff

April 9, 2013 at 9:12 am

Sorry, should have been more clear. The fix has been posted to the development team, who will review it, test it, and merge it into the next version release.

Viewing 5 reply threads

The support post ‘ICS is recognized as PDF file’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso - Staging Server