News: When asking for support, it helps us and you, if you read the Posting Guidelines

Login  |  Register
* * *
TinyPortal on Twitter
Welcome, Guest. Please login or register.
Did you miss your activation email?
June 26, 2017, 11:16:13 AM

Login with username, password and session length

Recent

Members
Stats
  • Total Posts: 181136
  • Total Topics: 20323
  • Online Today: 85
  • Online Ever: 383
  • (January 02, 2015, 05:58:49 AM)
Users Online
Users: 1
Guests: 53
Total: 54

Please read the Posting Guidelines


Author Topic: PHP 7 compatability for TP  (Read 3888 times)

0 Members and 1 Guest are viewing this topic.

Offline lurkalot

  • Administrator
  • *
  • Posts: 3552
    • Camera Craniums
Re: PHP 7 compatability for TP
« Reply #20 on: June 11, 2017, 03:13:35 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:

Quote
8: 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).
Mick aka lurkalot.  Running TP1.2 and TP1.2R

Camera Craniums Running SMF 2.0.13 / Tinyportal 1.2
Guitarist Guild Running SMF 2.0.13 / Tinyportal 1.2R Beta
The Garden Machinery Forum Running SMF 2.0.13 / Tinyportal 1.2R Beta

Offline lurkalot

  • Administrator
  • *
  • Posts: 3552
    • Camera Craniums
Re: PHP 7 compatability for TP
« Reply #21 on: June 11, 2017, 04:47:33 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:

Quote
8: 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
« Last Edit: June 12, 2017, 12:15:33 AM by lurkalot »
Mick aka lurkalot.  Running TP1.2 and TP1.2R

Camera Craniums Running SMF 2.0.13 / Tinyportal 1.2
Guitarist Guild Running SMF 2.0.13 / Tinyportal 1.2R Beta
The Garden Machinery Forum Running SMF 2.0.13 / Tinyportal 1.2R Beta

Offline @rjen

  • Beta Tester
  • *
  • Posts: 139
    • FJR-club Nederland
Re: PHP 7 compatability for TP
« Reply #22 on: June 12, 2017, 05:49:14 AM »
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 Tinyportal 1.3R on SMF 2.0 at: www.fjr-club.nl
Testing Tinyportal 1.3R on SMF 2.0 at: https://test.fjr-club.nl
Testing Tinyportal 2.0 on SMF 2.1 at: https://test2.fjr-club.nl

Offline lurkalot

  • Administrator
  • *
  • Posts: 3552
    • Camera Craniums
Re: PHP 7 compatability for TP
« Reply #23 on: June 12, 2017, 10:57:19 AM »
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.   
Mick aka lurkalot.  Running TP1.2 and TP1.2R

Camera Craniums Running SMF 2.0.13 / Tinyportal 1.2
Guitarist Guild Running SMF 2.0.13 / Tinyportal 1.2R Beta
The Garden Machinery Forum Running SMF 2.0.13 / Tinyportal 1.2R Beta

Offline @rjen

  • Beta Tester
  • *
  • Posts: 139
    • FJR-club Nederland
Re: PHP 7 compatability for TP
« Reply #24 on: June 13, 2017, 06:30:27 AM »
After 24 hours nothing new to report: all working OK, no errors, and no complaints from users.
Running Tinyportal 1.3R on SMF 2.0 at: www.fjr-club.nl
Testing Tinyportal 1.3R on SMF 2.0 at: https://test.fjr-club.nl
Testing Tinyportal 2.0 on SMF 2.1 at: https://test2.fjr-club.nl

Offline lurkalot

  • Administrator
  • *
  • Posts: 3552
    • Camera Craniums
Re: PHP 7 compatability for TP
« Reply #25 on: June 13, 2017, 10:34:51 AM »
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.  ;)
Mick aka lurkalot.  Running TP1.2 and TP1.2R

Camera Craniums Running SMF 2.0.13 / Tinyportal 1.2
Guitarist Guild Running SMF 2.0.13 / Tinyportal 1.2R Beta
The Garden Machinery Forum Running SMF 2.0.13 / Tinyportal 1.2R Beta

Offline lurkalot

  • Administrator
  • *
  • Posts: 3552
    • Camera Craniums
Re: PHP 7 compatability for TP
« Reply #26 on: June 16, 2017, 12:41:50 AM »
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.
Mick aka lurkalot.  Running TP1.2 and TP1.2R

Camera Craniums Running SMF 2.0.13 / Tinyportal 1.2
Guitarist Guild Running SMF 2.0.13 / Tinyportal 1.2R Beta
The Garden Machinery Forum Running SMF 2.0.13 / Tinyportal 1.2R Beta

Offline @rjen

  • Beta Tester
  • *
  • Posts: 139
    • FJR-club Nederland
Re: PHP 7 compatability for TP
« Reply #27 on: June 17, 2017, 02: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.

Running Tinyportal 1.3R on SMF 2.0 at: www.fjr-club.nl
Testing Tinyportal 1.3R on SMF 2.0 at: https://test.fjr-club.nl
Testing Tinyportal 2.0 on SMF 2.1 at: https://test2.fjr-club.nl

Offline lurkalot

  • Administrator
  • *
  • Posts: 3552
    • Camera Craniums
Re: PHP 7 compatability for TP
« Reply #28 on: June 18, 2017, 03:16:59 AM »
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. 
Mick aka lurkalot.  Running TP1.2 and TP1.2R

Camera Craniums Running SMF 2.0.13 / Tinyportal 1.2
Guitarist Guild Running SMF 2.0.13 / Tinyportal 1.2R Beta
The Garden Machinery Forum Running SMF 2.0.13 / Tinyportal 1.2R Beta