[SM-USERS] SM and PHP8
I am testing a FreeBSD package for squirrelmail built for PHP8. I get this error when I connect to the test server: [Sun Oct 24 12:01:56.267457 2021] [php:error] [pid 13492] [client 216.185.71.41:15698] PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /usr/local/www/squirrelmail/functions/strings.php on line 634 Is squirrelmail usable with PHP8? -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Unencrypted messages have no legal claim to privacy Do NOT open attachments nor follow links sent by e-Mail James B. Byrnemailto:byrn...@harte-lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 - squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@lists.sourceforge.net List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
Re: [SM-USERS] SM and PHP8
On Sun, October 24, 2021 4:11 pm, James B. Byrne via squirrelmail-users wrote: > I am testing a FreeBSD package for squirrelmail built for PHP8 You need to indicate what version > I get this > error when I connect to the test server: > > [Sun Oct 24 12:01:56.267457 2021] [php:error] [pid 13492] [client > 216.185.71.41:15698] PHP Fatal error: Array and string offset access > syntax > with curly braces is no longer supported in > /usr/local/www/squirrelmail/functions/strings.php on line 634 Please show that line (and a few lines before/after it). I suspect this is a problem in the FreeBSD package and not in our current code, but I can take a look if you give some context. > Is squirrelmail usable with PHP8? Yes. -- Paul Lesniewski SquirrelMail Team Please support Open Source Software by donating to SquirrelMail! http://squirrelmail.org/donate_paul_lesniewski.php - squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@lists.sourceforge.net List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
Re: [SM-USERS] SM and PHP8
On Sun, October 24, 2021 12:28, Paul Lesniewski wrote: > > > On Sun, October 24, 2021 4:11 pm, James B. Byrne via squirrelmail-users > wrote: >> I am testing a FreeBSD package for squirrelmail built for PHP8 > > You need to indicate what version > This is all the info that I can get. The package iteself will not open so I cannot tell what version SM thinks it is. However, the packaged version for php7.3 says this: SquirrelMail version 1.4.23 [SVN] By the SquirrelMail Project Team # pkg info squirrelmail-php80-20200422 squirrelmail-php80-20200422 Name : squirrelmail-php80 Version: 20200422 Installed on : Sun Oct 24 11:41:07 2021 EDT Origin : mail/squirrelmail Architecture : FreeBSD:12:* Prefix : /usr/local Categories : mail www Licenses : GPLv2+ Maintainer : uzs...@uzsolt.hu WWW: http://www.squirrelmail.org/ Comment: Webmail system which accesses mail over IMAP Options: DATABASE : off DOCS : on LDAP : off Annotations: cpe: cpe:2.3:a:squirrelmail:squirrelmail:20200422:freebsd12:x64 flavor : php80 repo_type : binary repository : FreeBSD Flat size : 2.92MiB Description: SquirrelMail is a standards-based webmail package written in PHP. It includes built-in pure PHP support for the IMAP and SMTP protocols, and all pages render in pure HTML 4.0 (with no Javascript required) for maximum compatibility across browsers. It has very few requirements and is very easy to configure and install. SquirrelMail has a all the functionality you would want from an email client, including strong MIME support, address books, and folder manipulation WWW: http://www.squirrelmail.org/ -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Unencrypted messages have no legal claim to privacy Do NOT open attachments nor follow links sent by e-Mail James B. Byrnemailto:byrn...@harte-lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 - squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@lists.sourceforge.net List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
Re: [SM-USERS] SM and PHP8
On Sun, October 24, 2021 5:29 pm, James B. Byrne wrote: > > > On Sun, October 24, 2021 12:28, Paul Lesniewski wrote: >> >> >> On Sun, October 24, 2021 4:11 pm, James B. Byrne via squirrelmail-users >> wrote: >>> I am testing a FreeBSD package for squirrelmail built for PHP8 >> >> You need to indicate what version >> > > This is all the info that I can get. The package iteself will not open so > I > cannot tell what version SM thinks it is. You can't look at the code running on your own server? In any case, the problem is almost certainly that the package is built on slightly outdated upstream code. -- Paul Lesniewski SquirrelMail Team Please support Open Source Software by donating to SquirrelMail! http://squirrelmail.org/donate_paul_lesniewski.php - squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@lists.sourceforge.net List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
Re: [SM-USERS] SM and PHP8
On Sun, October 24, 2021 13:42, Paul Lesniewski wrote: > > You can't look at the code running on your own server? > ./functions/strings.php:$version = '1.4.23 [SVN]'; -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Unencrypted messages have no legal claim to privacy Do NOT open attachments nor follow links sent by e-Mail James B. Byrnemailto:byrn...@harte-lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 - squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@lists.sourceforge.net List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users