Re: PHP7
"Janky Jay, III" <[email protected]>
| Newsgroups | gmane.mail.virus.maiamailguard |
|---|---|
| Message-ID | <[email protected]> |
So, I'm shooting to get the Maia port updated for FreeBSD in order to
work with PHP7 (as almost all PHP applications have migrated to). The
install goes fine, configtest.pl/configtest.php both look good.
Everything installs as expected and looks good after a few minor changes
to the port. However, I'm getting a blank login page which I haven't
been able to figure out (yet) and was curious if anyone else has run
into this yet (forgive me if this has already been covered but I
couldn't find any info on the mailing lists or Github page...). Below
is snippet from the log which has some warnings and finally the fatal
error. Any help would be greatly appreciated!
If the below doesn't come out very readable, it can also be found at
http://paste.purplehat.org/view/26532b5f
[Sat Sep 15 10:54:10.922180 2018] [php7:notice] [pid 91494] [client
172.28.35.18:20952] PHP Notice: Only variables should be assigned by
reference in /usr/local/www/maia/maia_log.php on line 87
[Sat Sep 15 10:54:10.922389 2018] [php7:notice] [pid 91494] [client
172.28.35.18:20952] PHP Notice: Only variables should be assigned by
reference in /usr/local/www/maia/maia_log.php on line 92
[Sat Sep 15 10:54:11.019177 2018] [php7:notice] [pid 91494] [client
172.28.35.18:20952] PHP Notice: Only variables should be assigned by
reference in /usr/local/www/maia/maia_log.php on line 87
[Sat Sep 15 10:54:11.019308 2018] [php7:notice] [pid 91494] [client
172.28.35.18:20952] PHP Notice: Only variables should be assigned by
reference in /usr/local/www/maia/maia_log.php on line 92
[Sat Sep 15 10:54:11.019874 2018] [php7:warn] [pid 91494] [client
172.28.35.18:20952] PHP Warning: count(): Parameter must be an array or
an object that implements Countable in /usr/local/share/pear/MDB2.php on
line 826
[Sat Sep 15 10:54:11.021245 2018] [php7:notice] [pid 91494] [client
172.28.35.18:20952] PHP Notice: A non well formed numeric value
encountered in /usr/local/share/pear/MDB2/Driver/mysqli.php on line 1154
[Sat Sep 15 10:54:11.079592 2018] [php7:notice] [pid 91494] [client
172.28.35.18:20952] PHP Notice: A non well formed numeric value
encountered in /usr/local/share/pear/MDB2/Driver/mysqli.php on line 1154
[Sat Sep 15 10:54:11.102862 2018] [php7:notice] [pid 91494] [client
172.28.35.18:20952] PHP Notice: A non well formed numeric value
encountered in /usr/local/share/pear/MDB2/Driver/mysqli.php on line 1154
[Sat Sep 15 10:54:11.103505 2018] [php7:notice] [pid 91494] [client
172.28.35.18:20952] PHP Notice: A non well formed numeric value
encountered in /usr/local/share/pear/MDB2/Driver/mysqli.php on line 1154
[Sat Sep 15 10:54:11.103983 2018] [php7:notice] [pid 91494] [client
172.28.35.18:20952] PHP Notice: A non well formed numeric value
encountered in /usr/local/share/pear/MDB2/Driver/mysqli.php on line 1154
[Sat Sep 15 10:54:11.104440 2018] [php7:notice] [pid 91494] [client
172.28.35.18:20952] PHP Notice: A non well formed numeric value
encountered in /usr/local/share/pear/MDB2/Driver/mysqli.php on line 1154
[Sat Sep 15 10:54:11.104933 2018] [php7:notice] [pid 91494] [client
172.28.35.18:20952] PHP Notice: A non well formed numeric value
encountered in /usr/local/share/pear/MDB2/Driver/mysqli.php on line 1154
[Sat Sep 15 10:54:11.120424 2018] [php7:notice] [pid 91494] [client
172.28.35.18:20952] PHP Notice: A non well formed numeric value
encountered in /usr/local/share/pear/MDB2/Driver/mysqli.php on line 1154
[Sat Sep 15 10:54:11.120929 2018] [php7:notice] [pid 91494] [client
172.28.35.18:20952] PHP Notice: A non well formed numeric value
encountered in /usr/local/share/pear/MDB2/Driver/mysqli.php on line 1154
[Sat Sep 15 10:54:11.133056 2018] [php7:error] [pid 91494] [client
172.28.35.18:20952] PHP Fatal error: Uncaught Error: Call to undefined
method ThemeSmarty::addPluginsDir() in
/usr/local/www/maia/smarty.php:99\nStack trace:\n#0
/usr/local/www/maia/smarty.php(189):
ThemeSmarty->ThemeSmarty('desert_sand')\n#1
/usr/local/www/maia/login.php(122):
require_once('/usr/local/www/...')\n#2 {main}\n thrown in
/usr/local/www/maia/smarty.php on line 99
On 11/30/17 7:56 AM, Derek Atkins wrote:
> "Ian R. Justman" <ianj-/[email protected]> writes:
>
>> And as far as I know, the PHP side of the house has yet to be updated
>> to support PHP7. Given what little I know of PHP in general (and how
>> much the whole notion of PHP scares me when it comes to security*1,
>> I'm scared to death of even thinking of trying.
> I've been led to believe (although I have not yet tested it) that maia
> does support PHP7. There were certainly some updates to the config
> tester for PHP7.
>
> I'm in the process of testing (on a Fedora system) so I'll let you all
> know what I find once I get that far.
>
> -derek
_______________________________________________
Maia-users mailing list
[email protected]
http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
signature.asc
(application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQT3labtx1DPvRcqv5cYrcyxRslmfgUCW5056gAKCRAYrcyxRslm fohAAJ9FmZK5VscXlSyke/Yh6e3q6/pECACdFKl6+YKDWi12k07Jjtwy18nHTg8= =cD2b -----END PGP SIGNATURE-----