Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Feb 2021 14:02:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 253347] www/davical missing dependecy
Message-ID:  <bug-253347-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253347

            Bug ID: 253347
           Summary: www/davical missing dependecy
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: rigoletto@freebsd.org
          Reporter: dinoex@FreeBSD.org
          Assignee: rigoletto@freebsd.org
             Flags: maintainer-feedback?(rigoletto@freebsd.org)

FreeBSD 12.2, PHP 7.4

Login successful, when trying to "Create Principal" page fails with:

Exception [0] Call to undefined function session_id()
At line 20 of /usr/local/www/davical/inc/csrf_tokens.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Stack Trace =3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
/usr/local/www/davical/htdocs/admin.php[28] include_once()
/usr/local/www/davical/inc/ui/principal-edit.php[1143] principal_editor()
/usr/local/www/davical/inc/ui/principal-edit.php[190] getCsrfField()
/usr/local/www/davical/inc/csrf_tokens.php[95] getCsrf()
/usr/local/www/davical/inc/csrf_tokens.php[79] sessionExists()


Workarund:
pkg install php74-session

Suggested Fix:
Please add "session" to "USE_PHP".

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253347-7788>