[Bug 263284] Squirrelmail-php81 has runtime errors that prevent functioning

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 14 Apr 2022 19:35:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263284

            Bug ID: 263284
           Summary: Squirrelmail-php81 has runtime errors that prevent
                    functioning
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: byrnejb@harte-lyne.ca

FreeBSD-13.0p11
squirrelmail-php81-20211024

Visiting the /src/configtest.php page display nothing and gives this Apache-2.4
error:


[Thu Apr 14 15:23:04.169839 2022] [php:error] [pid 18501] [client
216.185.71.41:49341] PHP Fatal error:  Uncaught Error: Call to undefined
function session_set_cookie_params() in
/usr/local/www/squirrelmail/functions/global.php:481\n
Stack trace:\n
#0 /usr/local/www/squirrelmail/functions/global.php(461): sqsession_start()\n
#1 /usr/local/www/squirrelmail/functions/global.php(176):
sqsession_is_active()\n
#2 /usr/local/www/squirrelmail/src/configtest.php(41):
include('/usr/local/www/...')\n
#3 {main}\n  thrown in /usr/local/www/squirrelmail/functions/global.php on line
481

Steps to reproduce:
1. Install squirrelmail-php81 and dependencies
2. Configure squirrelmail (/usr/local/www/squirrelmail/configure)
3. Alter /usr/local/www/squirrelmail/src/configtest.php ro to remove die
statement
4. Configure Apache24 server to load squirrelmail root directory
5. Start Apache24 service
6. Visit squirrelmail URL with /src/configtest.php after domain.

Expected result: Squirrelmail configuration displayed

Actual Result:  Blank page displayed with error in Apache log as given above.

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