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
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)
Re: Phorum 5.2 and php7
October 20, 2019 04:52PM
Hello,
I am testing my 5.2.22 installation, that used to run on PHP 5.6, on PHP 7.2

I have done just some very simple tests on the main operations:
- login
- change my password
- post
- reply
- save general settings in admin
and a few others.

I haven't see, so far, any evident problem. I also see warnings, but I saw warnings even on PHP 5.6 and it's hard to say if the warnings compromise the correct functioning of the program without analyzing the related code line by line.

Does anyone know something more about this? Should we trust the use of phorum 5.2.22 on PHP 7.2?

Thanks!

Best,
Re: Phorum 5.2 and php7
February 12, 2020 09:57PM
version 5.2.20 PHP: 7.3.14


Cache Settings - not work
Database Integrity - not work


What to do?
Re: Phorum 5.2 and php7
February 22, 2020 05:58AM
My server just got updated tonight to PHP 7 and all I can see is the header. Everything after that is gone! My entire site is built on phorum so it's a major issue. Anyone having any luck getting things running with PHP7?


Jake Morgan

www.PULLOFF.com
Independent Pulling News
Sorry, only registered users may post in this forum.

Click here to login