Menu

#680 PHP 7 Compatibility

v2.4
open
nobody
None
5
2018-02-06
2016-11-29
No

Fedora 25 includes PHP 7 and there are some compatibility issues - mostly relatd to regular express functions. Attached is a diff that I am sure is not complete, but covered my use of the application.

Thanks for the great too!

1 Attachments

Discussion

  • James Oldfield

    James Oldfield - 2017-04-11

    Extremely helpful, thank you.

     
  • Sylvain Miossec

    Sylvain Miossec - 2017-11-24

    phpicalendar was not working anymore. I spend quite some time understanding it was a problem of php version. Your patch is working well, thank you

     
  • Stuart Longland

    Stuart Longland - 2017-12-17

    Stumbled on this myself… I was either getting error 500s or just a blank page with 200. I had an inkling that it was an update of PHP (I had gone from 5.5.23 to 7.0.25), but wasn't sure where to start hunting as I had literally no debug information to go on.

    Applying the patch fixed it.

    I am concerned though as to whether phpicalendar is still maintained. The website seems to be inaccessible now, which does not bode well for the health of the project.

     
  • Marc BRYON

    Marc BRYON - 2018-01-31

    Sorry but how use your patch ???

    BR

     

    Last edit: Marc BRYON 2018-01-31
  • Marc BRYON

    Marc BRYON - 2018-02-05

    up plz !

     
    • Stuart Longland

      Stuart Longland - 2018-02-05

      What do you mean by those 8 characters?

       
  • Marc BRYON

    Marc BRYON - 2018-02-06

    modifications done ! but not shure there is something more now...

    Find files modified ;)

    cal/functions/admin_functions.php
    cal/functions/calendar_functions.php
    cal/functions/date_functions.php
    cal/functions/ical_parser.php
    cal/functions/init.inc.php
    cal/functions/list_functions.php
    cal/functions/parse/end_vevent.php
    cal/functions/parse/parse_tzs.php
    cal/functions/parse/recur_functions.php
    cal/functions/template.php
    cal/includes/event.php
    cal/includes/todo.php
    cal/lib/HTTP/WebDAV/Server.php
    cal/lib/bennu/iCalendar_rfc2445.php
    cal/search.php
    cal/week.php
    cal/year.php

     

    Last edit: Marc BRYON 2018-02-06

Log in to post a comment.