• Resolved joopsprokel

    (@joopsprokel)


    I use ical eventlist free. Since the update version 4.33 i get following error in admin mode:
    ———–
    Message displayed to logged in admin only:

    Unable to create DateTime object from 2016-0- 00:00:00
    DateTime::__construct(): Failed to parse time string (2016-0- 00:00:00) at position 6 (-): Unexpected character
    —————-
    Previous version worked perfect.

    https://ww.wp.xz.cn/plugins/amr-ical-events-list/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author anmari

    (@anmari)

    It may be an error in your ice file or at least related to the data in your ice file
    2016-0- 00:00:00 is not a valid date time string

    Please either look at the contents of your ice file in something like notepad text editor to see if you can see what it is complaining about or post the url here and I’ll look at it.

    Thread Starter joopsprokel

    (@joopsprokel)

    This file is a save file from a outlook2013 calendar http://www.sprokel.eu/ics/Jaaragenda.ics
    I can’t find the text in the file and the file hasn’t changed i a month so in the previous version of eventlist the error should also be present

    Plugin Author anmari

    (@anmari)

    That file has HTAB ‘folded’ lines. Interestingly
    This validator spews at the first line fold and stops
    http://severinghaus.org/projects/icv/?url=http%3A%2F%2Fwww.sprokel.eu%2Fics%2FJaaragenda.ics

    This validator spews at the TZID’s as they are non-standard ICS timezones (es microsoft is just doing it’s own thing). THe validator doesn’t go any further after that

    Invalid TZID value (“W. Europe Standard Time”) near line # 29Reference: 3.2.19. Time Zone Identifier

    So some applications may not like the file if you expecting to allow people to subscribe to the file.

    My plugin does convert the MS tz to a valid one Europe/Berlin, so that’s not the problem BUT then my plugin does not yet allow for HTAB folding, so it fails the first time on this line:

    EXDATE;TZID=”W. Europe Standard Time”:20151221T093000,20160314T093000,20160
    328T093000,20160411T093000

    SOOO….. for a quickfix you could do a search and replace the tab with a space and the file will at least work with this plugin. Your file is also getting large: 241 events, some events old which the plugin has to parse all of.
    (or could consider creating events directly in wp using amr-events http://icalevents.com/ which then only extracts out of the DB within a date range.)

    Future versions of plugin will check for CrLF follwed by HTAB as an alternative to the CRFL space line folding.

    Thread Starter joopsprokel

    (@joopsprokel)

    Thanks for your answer. As i depend on the microsoft conversion and manually editing is no option i’ll have to wait untill there is a compatible plugin. I wil be monitoring your plugin though. Thanks again.

    Thread Starter joopsprokel

    (@joopsprokel)

    Hi you updated the version to 434 but i am sorry to say that now it stopped working all together i only get an exlamaton character instead of a calendar. The ics file i use is still the same and the site has not changed. Version 432 still works.

    Plugin Author anmari

    (@anmari)

    Yup – something went odd there. HTAB should be fine in 4.35 now.

    HOWEVER in your particular file at http://www.sprokel.eu/ics/Jaaragenda.ics there is an admin message

    your TZID now has a double space in the

    BEGIN:VTIMEZONE
    TZID:W.  Europe Standard Time

    it seems ok in the VEVENT dates
    DTSTART;TZID="W. Europe Standard Time":20151126T193000

    since the official microsoft timezone listing does NOT have a double space AND those timezones are not official ICS timezones anyway, there is nothing further that the plugin can do about that. Did you edit the file perhaps ? or is that a MS bug?

    Thread Starter joopsprokel

    (@joopsprokel)

    You are right. I made a fresh export from outlook and the only error that stil exists , in version 435 ,is the timezone error wich is handled to the server default wich is allright. Thanks for your effort and your fine plugin.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Error since version 4.33 update’ is closed to new replies.