Support

Home Forums Event Espresso Premium "Add to Calendar" Links

"Add to Calendar" Links

Posted: June 30, 2014 at 10:27 am

Viewing 8 reply threads


Greg Davis

June 30, 2014 at 10:27 am

I am trying to figuring out why I get a 403 error when clicking on the .ics “Add to calendar” links that are found on this page: http://kennett-design.com/event-listing/ when using Safari & Firefox browser. They work find with Chrome (downloads the ics file).

I see the 403 error in those browsers which is located at this address (for example):

http://kennett-design.com/?iCal=true¤tyear=2014¤tmonth=06¤tday=30¤ttime=075257&startyear=2014&startmonth=07&startday=01&starttime=190000&endyear=2014&endmonth=07&endday=01&endtime=210000&event_summary=Book%20Your%20Private%20Event&site_url=http://kennett-design.com

In playing with the format of the URL, I trimmed down the URL to http://kennett-design.com/?iCal=true and that took, it made me download a .ics file. With that doing that, it prompted me to believe that one or more of the queries in the URL was causing the 403 for whatever reason.

I started from right to left and knocked out site_url=http://kennett-design.com from the far right. In doing so, in all browsers I was able to download the .ics file. I believe the issue here is that the plugin for that calendar link is not configured correctly or possibly not updated and/or broken.

The link I deduced to make it work:

http://kennett-design.com/?iCal=true¤tyear=2014¤tmonth=06¤tday=30¤ttime=075257&startyear=2014&startmonth=07&startday=01&starttime=190000&endyear=2014&endmonth=07&endday=01&endtime=210000&event_summary=Book%20Your%20Private%20Event

Is this a bug in the way the URL is being put out from EE? Can that be changed so that it works in all browsers (like the bottom link)?


Lorenzo Orlando Caum

  • Support Staff

June 30, 2014 at 11:04 am

Hi Greg,

Are you running any security plugins or a plugin that scrambles email addresses on the website so as to hide the information from web bots?


Lorenzo


Greg Davis

June 30, 2014 at 12:28 pm

No and I get the problem on both Mac & PC. Other users have same problem. Did you try it?


Lorenzo Orlando Caum

  • Support Staff

June 30, 2014 at 1:38 pm

Hi,

I’m running Chrome and it shows the 403 message when I click on any of those ical links.

Was it working before and stopped working?

I can’t find any other reports of this issue so I’m a bit puzzled on why this is happening.


Lorenzo


Greg Davis

June 30, 2014 at 2:17 pm

Is the URL format correct according to EE? It looks like there is an extra bit at the end “&site_url=http://kennett-design.com” which is causing the problem. If you compare the 2 URL strings above that seems to be the difference. When you remove that from the end it works.

What should the URL string be as per EE specs?


Lorenzo Orlando Caum

  • Support Staff

June 30, 2014 at 2:28 pm

Hello,

I enabled that feature over on our testdrive site so we can take a look.

I just tested on this event and it immediately downloaded:

http://testdrive.eventespresso.com/?ee=29740


Lorenzo


Greg Davis

July 4, 2014 at 11:18 am

Thanks for setting up that test site. I do see that the calendar links work fine there. I also notice that the URL in those links are different from what is being generated out of my site. What would cause that difference?


Lorenzo Orlando Caum

  • Support Staff

July 5, 2014 at 4:42 pm

Hello,

Have you tested on defaults with only Event Espresso running to rule out a conflict with another plugin?


Lorenzo


Greg Davis

July 7, 2014 at 8:21 pm

I finally found the problem! I wanted to follow-up on this thread for others and future reference. There was a conflict with a setting in the iThemes Security Pro plugin.

The issue was with having the option set to filter out “Suspicious Query Strings”. After I turned this off the URL in the calendar link was working again. Here is a screenshot for reference: https://dl.dropboxusercontent.com/u/4138085/it-sec-pro-setting.gif

Viewing 8 reply threads

The support post ‘"Add to Calendar" Links’ 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