Support

Home Forums Event Espresso Premium iCal link not working

iCal link not working

Posted: April 15, 2014 at 8:29 am

Viewing 10 reply threads


Antony HILF

April 15, 2014 at 8:29 am

Hi,

The iCal link for my events is not working. As it is now all events happen on January 1970. I’ve read a post about this subject and made the following change:
'start_date' => event_espresso_no_format_date($start_date, get_option('date_format')),
'end_date' => event_date_display($end_date, get_option('date_format')),

by

'start_date' => date($start_date, get_option('date_format')),
'end_date' => date($end_date, get_option('date_format')),

Now it uses current date as the start date instead of using the start date of the event. You can check it here.

Thanks for your help!


Lorenzo Orlando Caum

  • Support Staff

April 15, 2014 at 11:22 am

Hello,

Could you reverse your changes? Also, could you share the version number of the calendar addon that you are running?


Lorenzo


Antony HILF

April 16, 2014 at 1:22 am

Hello,

thanks for your reply Lorenzo! Changes have been reversed. I am using Event Espresso 3.1.36.5.P with no calendar add-on. Do I need to install the calendar add-on to get the iCal link working?

Thanks a lot!


Antony HILF

April 16, 2014 at 2:13 am

Anyway, even with the calendar add-on, the iCal link still don’t work. When I click the iCal link I can see in the url bar that the current date is the date of today but when I open the iCal file the date is not current date or date of the event, it’s january 1970…


Tony

  • Support Staff

April 16, 2014 at 4:24 am

Can you tell me which version of PHP is running on the server, if you go to Event Espresso -> System Status. Under server environment you’ll find PHP Version.

  • This reply was modified 10 years, 7 months ago by Tony.


Antony HILF

April 16, 2014 at 4:35 am

Sure, it’s 5.4.27


Tony

  • Support Staff

April 16, 2014 at 4:37 am

Also if you edit that event, can you post the current dates set within Event Date/Times section and the format in which they are currently in.

A screenshot may be easier, for example http://take.ms/LucxK


Antony HILF

April 16, 2014 at 4:45 am

No worries, here it is: http://cl.ly/V3Jc


Dean

April 16, 2014 at 5:45 am

Hi Antony,

There is definitely a difference between the ical on 3.1.36.4 and 3.1.36.5. I will investigate this more and if not reasonable fix can be found, I will pass this over to the developers to look into.

Thanks for letting us know about this.


Dean

April 16, 2014 at 5:47 am

Oh and you may wish to look at the times on the event, it starts at 8pm and ends at 5pm, so the ical will import with incorrect times.


Dean

April 16, 2014 at 5:58 am

OK, I see the problem. You have the date format as D j M (Wed 16 Apr) and for some reason the ical hates it. If you change the format to one of the defaults OR to any format that includes the year (such as D j M Y – Wed 16 Apr 2014) then it will work fine.

The key being that there is a day, a month and a year in the date format.


Antony HILF

April 16, 2014 at 6:09 am

Thank you. You are right, I didn’t pay much attention but I am pretty sure it was working under 3.1.36.4 as I did my first set of test under 3.1.36.4. I have corrected the time of ending (thank you, I didn’t notice it!).

Alright, keep me updated hen you have more infos please.


Antony HILF

April 16, 2014 at 6:23 am

Bingo! You are a genius :)! Thanks a lot!

Viewing 10 reply threads

The support post ‘iCal link not working’ 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