We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

PHP 7.2 | Forum

ViXiV Technologies
Oxwall confirmed working on AWS with PHP 7.2.10 and MySQL 5.7.23.
Rob
Rob Feb 11
Will there be a platform update.?
ViXiV Technologies
Not Sure, but I'm working on updates for my private Oxwall Fork...


Smarty can also be updated to Latest version 3.1.33 to eliminate a few issues and eliminate warning regarding php each() deprecation.

https://github.com/smarty-php/smarty


Anyone running Oxwall under PHP 7.2 will be familiar with this Warning message:


[Notice] Message: The each() function is deprecated. This message will be suppressed on further calls File: /var/www/html/scene/sc_libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_compilebase.php Line:78

Updating Smarty removes this deprecated each() function...


I may make a plugin for this, but I would suspect Oxwalls next release will cover this.


The Forum post is edited by ViXiV Technologies Feb 11
ViXiV Technologies
Oxwall on PHP 7.2 with newest Smarty is Much Quicker
The Forum post is edited by ViXiV Technologies Feb 11
Rob
Rob Feb 11

We have updated a website to 1.8.5 trough the website https://www.chamial.com/oxwall-new-updates/ and that went without problems.

Then we got the message on the website that there was a platform update.

We have also implemented this update, so that the website now runs under the version "Platform version 1.8.6 (build 10805)".

Up untill now, we do not experience any problems yet.

We do think that the update was carried out by Chamial and not from Oxwall.

ViXiV Technologies
Yes you are correct, glad to hear that it went as planned and thank you for the nice review on my plugins!
The Forum post is edited by ViXiV Technologies Feb 11
Sean
Sean Feb 12
How do you update smarty? 

I just updated to php 7.2 and I'm getting that each error.


Thanks!

ViXiV Technologies
Grab the release you want (3.1.33 is latest and working):

https://github.com/smarty-php/smarty/releases


Unzip to contents of smarty directory in zip (smarty-3.1.33/*) to :


ow_libraries/vendor/smarty/smarty/


Should I make a plugin for this or is this simple and straight forward enough for everyone?

The Forum post is edited by ViXiV Technologies Feb 12
Rob
Rob Feb 12

Smarty updated, but we see no difference LOL.

We can see the difference in the folders.

1 folder (lexer) is apparently not updated, plus 2 files to know:

.travis.yml

coping.lib

ViXiV Technologies
Removes deprecated each() usage...
Rob
Rob Feb 12

Of course.? LOL


You've lost me already, Zach.

I am not a developer, but I like to learn, that's why I try things out.

ViXiV Technologies
This doesn't really matter at the moment until the each() function is removed from PHP (7.3 they are saying?.)


For those running 7.2 it removes error / warning messages related to its deprecation.


Basically means Smarty is ready for future versions of PHP (7.3+) and prevents Oxwall's Smarty system from breaking in the future.


I'm working on OxBackup and OxUpdater that pulls latest Oxwall version from github, installs updates and updates Smarty and possibly other vendor libraries once I have a chance to test further updates.



The Forum post is edited by ViXiV Technologies Feb 12