• Hi,

    I have setup Events Manager in such a way that the user gets a booking confirmation email which allows them to download the .ics file.
    I am using the following #_EVENTICALLINK
    After I dowload it and click on it, it is not added to my calendar. I am using Apple mail and calendar.

    Any assistance would be greatly appreciated.

    Regards,
    Ross

Viewing 15 replies - 1 through 15 (of 21 total)
  • Do you have link to test?

    Thread Starter rosslhaydock

    (@rosslhaydock)

    Can you send me your email address and I will create you as a user

    First just the link that will download the ics.

    Thread Starter rosslhaydock

    (@rosslhaydock)

    Thread Starter rosslhaydock

    (@rosslhaydock)

    If i open the .ics file with a text editor I see the following:

    BEGIN:VCALENDAR
    VERSION:2.0
    PRODID:-//wp-events-plugin.com//5.95//EN
    TZID:Europe/Jersey
    X-WR-TIMEZONE:Europe/Jersey<br />
    <b>Fatal error</b>: Uncaught Error: Call to undefined function mb_strcut() in /home/jtcacademyonline/public_html/wp-content/plugins/events-manager/em-ical.php:107
    Stack trace:
    #0 /home/jtcacademyonline/public_html/wp-content/plugins/events-manager/templates/templates/ical.php(84): em_mb_ical_wordwrap(‘SUMMARY:Adaptiv…’)
    #1 /home/jtcacademyonline/public_html/wp-content/plugins/events-manager/events-manager.php(650): include(‘/home/jtcacadem…’)
    #2 /home/jtcacademyonline/public_html/wp-content/plugins/events-manager/em-ical.php(57): em_locate_template(‘templates/ical….’, true, Array)
    #3 /home/jtcacademyonline/public_html/wp-includes/class-wp-hook.php(286): em_ical_item(Object(WP_Query))
    #4 /home/jtcacademyonline/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #5 /home/jtcacademyonline/public_html/wp-includes/plugin.php(515): WP_Hook->do_action(Array)
    #6 /home/jtcacademyonline/public_html/wp-includes/class-wp-query.php(1006): do_action_ref_array(‘parse_query’, Array)
    #7 /home/jtcacademyonlin in <b>/home/jtcacademyonline/public_html/wp-content/plugins/events-manager/em-ical.php</b> on line <b>107</b><br />

    This does not look right

    Thread Starter rosslhaydock

    (@rosslhaydock)

    To download the icl?

    Hi Ross,

    No, you’re right.. It doesn’t look good.. I’ll dive into it.

    It’s strange that mb_strcut() is classified as “undefined”, because it was introduced in PHP 4.0.6.

    Just to make sure… What version of HP are your currently running?
    https://www.ads-software.com/plugins/display-php-version/

    Thread Starter rosslhaydock

    (@rosslhaydock)

    Thanks, Patrick.

    We have Events manager on one of our other sites, setup exactly the same and that one works.

    Here is the link to the other one

    https://www.lmsdemo.adaptive.za.com/events/red-bull-event/ical/

    You will be able to see the difference.

    YEs, that one works ?? I do hope it’s just your php version. That would solve everything. ??

    Thread Starter rosslhaydock

    (@rosslhaydock)

    I hope so too. Let me check and I will let you know.

    Anyway, if you’re not on PHP 7 or higher, please update anyway. WordPress 5.0 will want you to do that anyway… To update your PHP version, you can best contact your ISP.

    Thread Starter rosslhaydock

    (@rosslhaydock)

    The site that is not working is running the following:
    WordPress 4.9.8
    Running PHP version: 7.0.32

    The site that is working is running the following:
    WordPress 4.9.8
    Running PHP version: 5.6.36

    *twilight music* tuuduuutuuduuu
    The problem is that a basic php function is unknown. Could you try to reinstall the php?

    Thread Starter rosslhaydock

    (@rosslhaydock)

    Ok, so I reinstalled the PHP and I still get the same problem.
    I also installed the earlier version of PHP (the version on the site that is working) and I still get the same problem.

    I have also deactivated all the plugins and no difference.

    Not sure what else it could be?

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘Downloaded .ics File not adding to calendar’ is closed to new replies.