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

AppXprt
AppXprt Feb 10 '19
Oxwall confirmed working on AWS with PHP 7.2.10 and MySQL 5.7.23.
AppXprt
AppXprt Feb 11 '19
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 AppXprt Feb 11 '19
AppXprt
AppXprt Feb 11 '19
Oxwall on PHP 7.2 with newest Smarty is Much Quicker
The Forum post is edited by AppXprt Feb 11 '19
AppXprt
AppXprt Feb 11 '19
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 AppXprt Feb 11 '19
Sean
Sean Feb 12 '19
How do you update smarty? 

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


Thanks!

AppXprt
AppXprt Feb 12 '19
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 AppXprt Feb 12 '19
AppXprt
AppXprt Feb 12 '19
Removes deprecated each() usage...
AppXprt
AppXprt Feb 12 '19
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 AppXprt Feb 12 '19
Marco
Marco Mar 9 '19

Quote from Rob

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.

Hello Rob,


I'm glad to hear. for you information we released in the last time some new versions:
https://chamial.com/chamial/new-release/chamial-version-1-8-6-released/

https://chamial.com/chamial/new-release/chamial-version-1-8-7-released/

https://chamial.com/chamial/new-release/chamial-version-1-8-8-released/


And version 1.8.9 is on its way to finalize the update process. From the 1.9 versions we will update code to latest standards, php 7, and update the libraries.


The Forum post is edited by Marco Mar 9 '19
OW-Ghost
OW-Ghost May 20 '19
Have anyone tested PHP 7.3.5 on oxwall if working or not?


Thanks


Ow-ghost

The Forum post is edited by OW-Ghost May 20 '19
OW-Ghost
OW-Ghost May 20 '19
I testing 7.3.5 right now with latest smarty version...keep you updated if work or not...


thanks AppXprt for the smarty upgrade guide. very useful

The Forum post is edited by OW-Ghost May 20 '19
OW-Ghost
OW-Ghost May 20 '19
Another question:


Is MYSQL version 8 working at oxwall? someone tested?


Thanks


Marcus

AppXprt
AppXprt Jan 29 '20
7.3 and 7.4 seem to work well enough if you have the appropriate PHP modules installed. I haven't tried MySQL 8, currently my most current test run on 5.7.29.
The Forum post is edited by AppXprt Jan 29 '20
Pustak Sadan
Pustak Sadan May 1 '20
I tried to install Oxwall 1.8.4 with PHP7.3, Got some warning for "each() deprecated in file smarty_internal_compilebase.php"

replaced the code 78-102 with attached code

Attachments:
  each_issue.txt (0Kb)
AppXprt
AppXprt May 2 '20
The proper way to fix this issue is actually just to update the Smarty libraries.
The Forum post is edited by AppXprt May 2 '20
kalvindarwan
kalvindarwan Dec 20 '23
A contractor that has years of experience will blow any rookie contractor out of the water. UC Roofing Pros
James Walter
James Walter Jan 1
We offer 24/7 emergency roadside assistance to get you back on the road quickly. Elk Grove Mobile Mechanic