TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

March 29, 2024, 05:57:25 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,106
  • Total Topics: 21,213
  • Online today: 358
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 1
  • Guests: 297
  • Total: 298
  • @rjen

PHP 7 compatability for TP

Started by @rjen, May 23, 2017, 09:48:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lurkalot

Quote from: @rjen on June 11, 2017, 09:59:26 PM
This version of the file seems to work. To be honest this is not my main concern:

this one is, because it is completely breaking Tinyportal on the website when php 7..1 is activated:

Quote8: Array to string conversion
Bestand: /home/deb77453/domains/fjr-club.nl/public_html/Sources/TPortal.php
Regel: 2138

Thanks, for testing, will have to see if this one can be fixed as well.  Last fix fixed was given to me by Pete aka Arantor. (Thanks Pete if you're reading this).

lurkalot

#21
Quote from: @rjen on June 11, 2017, 09:59:26 PM
This version of the file seems to work. To be honest this is not my main concern:

this one is, because it is completely breaking Tinyportal on the website when php 7..1 is activated:

Quote8: Array to string conversion
Bestand: /home/deb77453/domains/fjr-club.nl/public_html/Sources/TPortal.php
Regel: 2138

Ok. try replacing /Sources/TPortal.php with the one attached. Hopefully it will fix that issue with php 7..1

@rjen

After replacing both files TP1.2R3 now works without errors on PHP version 7.1.

After succesfully testing it on my test server, I have now moved the code into the productive forum and switched that server to PHP7.1 as well.
So far so good: no error messages in the logs, and the forum operates fine.

I will let it run for a day or so and report back.

Maybe now it is time to release an official version op TP1.2R???

Running Latest TP on SMF2.1 at: www.fjr-club.nl

lurkalot

Quote from: @rjen on June 12, 2017, 12:49:14 PM
After replacing both files TP1.2R3 now works without errors on PHP version 7.1.

After succesfully testing it on my test server, I have now moved the code into the productive forum and switched that server to PHP7.1 as well.
So far so good: no error messages in the logs, and the forum operates fine.

I will let it run for a day or so and report back.

Maybe now it is time to release an official version op TP1.2R???

Nice one.  8) Getting somewhere at least. As you correctly ascertained, those fixes can be applied to TP1.2 and TP2 for SMF 2.1 as well. Credit again goes to Pete AKA Arantor for these fixes.

As for the new release, well yes I'd like to, but atm I've no idea what 2.0.15 is going to include yet, and whether it'll break anything else related to TP.  Let us know if you find any problems in testing, thank you.   

@rjen

After 24 hours nothing new to report: all working OK, no errors, and no complaints from users.
Running Latest TP on SMF2.1 at: www.fjr-club.nl

lurkalot

Quote from: @rjen on June 13, 2017, 01:30:27 PM
After 24 hours nothing new to report: all working OK, no errors, and no complaints from users.

Looking good then, thank you.  By the way have you given the various options a workout on your test site, I would, but don't have a php 7.1 environment set up yet, looks like you're the only tester.  ;)

lurkalot

Quote from: @rjen on June 13, 2017, 01:30:27 PM
After 24 hours nothing new to report: all working OK, no errors, and no complaints from users.

Everything still ok?  If so I might put a pre release of TP 1.3R in the public beta board.  It contains all those fixes and version changes so we can keep track.  I'm running it here, http://thegardenmachineryforum.co.uk atm.

@rjen

Everything is working fine. No complaints and errors on the 'live' forum.

This evening I gave the test forum a whirl and I do not see any issues:

- created a new catageory
- created a new article
- added the article to the homepage
- activated a few standard blocks
- added entries into a menu
- added a menu bloch to the site
- changed the menu styling

Everything seems to work fine op PHP 7.1. I get no errors in the logs.

Running Latest TP on SMF2.1 at: www.fjr-club.nl

lurkalot

Quote from: @rjen on June 17, 2017, 09:04:47 PM
Everything is working fine. No complaints and errors on the 'live' forum.

This evening I gave the test forum a whirl and I do not see any issues:

- created a new catageory
- created a new article
- added the article to the homepage
- activated a few standard blocks
- added entries into a menu
- added a menu bloch to the site
- changed the menu styling

Everything seems to work fine op PHP 7.1. I get no errors in the logs.

Excellent news.  Thanks for doing that for us, it's appreciated.  Getting ever closer to a release version methinks. 

lurkalot

Quote from: @rjen on June 17, 2017, 09:04:47 PM
Everything is working fine. No complaints and errors on the 'live' forum.

This evening I gave the test forum a whirl and I do not see any issues:

- created a new catageory
- created a new article
- added the article to the homepage
- activated a few standard blocks
- added entries into a menu
- added a menu bloch to the site
- changed the menu styling

Everything seems to work fine op PHP 7.1. I get no errors in the logs.

Did you try adding front panel block?  Does that throw a error in the log after visiting the front page?