Firefox PHP

Phorum 5.2 and php7

Posted by pat 
pat
Phorum 5.2 and php7
September 13, 2018 08:45PM
Hi, will phorum work with php7?
Re: Phorum 5.2 and php7
May 29, 2019 08:00PM
Hello, everyone, I got a new framework for the PHP 7 from the developers of kaspersky antivirus error 1922 where I can store more data in the database.
Re: Phorum 5.2 and php7
June 20, 2019 12:34AM
I am experimenting with PHP 7.3.6 and it's working, although I'm finding a few problems and warnings...

First off, in the admin.php under Global Settings

"Censor List" causes badwords.php to throw this warning:
Quote

PHP warning: Use of undefined constant string - assumed 'string' (this will throw an Error in a future version of PHP)

PHP warning generated at /var/www/html/phorum/include/admin/badwords.php:173

Back trace:

Function include_once called at
{path to Phorum}/admin.php:108


"Cache Settings" does not work at all, and throws this warning:

Quote

PHP warning: count(): Parameter must be an array or an object that implements Countable

PHP warning generated at /var/www/html/phorum/include/admin/PhorumInputForm.php:211

Back trace:

Function show called at
{path to Phorum}/include/admin/mods.php:146
----
Function include_once called at
{path to Phorum}/admin.php:108

Same warning from:
Quote

Function show called at
{path to Phorum}/mods/event_logging/settings/logviewer.php:209
----
Function include called at
{path to Phorum}/mods/event_logging/settings.php:54
----
Function include_once called at
{path to Phorum}/include/admin/modsettings.php:29

and

Function show called at
{path to Phorum}/include/admin/users.php:451


Then, logged in to the main phorum, and went to Recent messages:
Quote

PHP warning: Illegal string offset 'cache_version'

PHP warning generated at /var/www/html/phorum/mods/recent_messages/recent_messages.php:252

Back trace:

Function phorum_mod_recent_messages_addon called at
{path to Phorum}/common.php:1887
----
Function phorum_hook called at
{path to Phorum}/addon.php:140


Made a post successfully but got this notice:
Quote

PHP notice: A non well formed numeric value encountered

PHP notice generated at /var/www/html/phorum/include/upload_functions.php:113

Back trace:

Function phorum_phpcfgsize2bytes called at
{path to Phorum}/include/upload_functions.php:36
----
Function phorum_get_system_max_upload called at
{path to Phorum}/posting.php:625

...
Steve Healy, Phorum hacker, currently on: (version 5.2.19)
contributions:
Birthdays mod, Top Users mod, Icon legend.tpl, (plus a handful of bugfixes and old 5.0 creations)
Sorry, only registered users may post in this forum.

Click here to login