Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

July 02, 2022, 10:58:39 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 193409
  • Total Topics: 21081
  • Online today: 67
  • Online ever: 1035
  • (November 26, 2020, 04:45:12 AM)
Users Online
Users: 1
Guests: 52
Total: 53

Author Topic: Elkarte TinyPortal Testing  (Read 17262 times)

0 Members and 1 Guest are viewing this topic.

Offline McFly

  • Jr. Member
  • **
  • Posts: 71
    • Die Annoholiker
Re: Elkarte TinyPortal Testing
« Reply #120 on: January 20, 2022, 09:22:46 AM »
It would be much easier if the version numbers were continuous ...  ;)

I have just replaced the correctly working installation (RC3 from 21 Nov 21) with the latest version (RC3 from 8 Jan 22) and it still works correctly.

The not correctly working installation is the latest one with data transfer from SMF 2.0.19 to Elkarte, which I did now on Tuesday.
"I'm not going to censor myself to comfort your ignorance."

Testsites (may be online or not ;-) )
ElkArte 1.1.x & TP on Apache2.4.48, PHP 8.1.2 FPM/FastCGI, MariaDB 10.5.12

Offline tino

  • Developer
  • *
  • Posts: 2596
Re: Elkarte TinyPortal Testing
« Reply #121 on: January 20, 2022, 09:29:18 AM »
It would be much easier if the version numbers were continuous ...  ;)

I have just replaced the correctly working installation (RC3 from 21 Nov 21) with the latest version (RC3 from 8 Jan 22) and it still works correctly.

The not correctly working installation is the latest one with data transfer from SMF 2.0.19 to Elkarte, which I did now on Tuesday.

It would be but RC3 isn’t released, so it’s technically the git commit. If I released every time I fixed something we’d be at RC99103 by now. As I like to break things!

If you know how to pull the git commit into the code after the commit has been done then I’d happily use that as the version.

Offline McFly

  • Jr. Member
  • **
  • Posts: 71
    • Die Annoholiker
Re: Elkarte TinyPortal Testing
« Reply #122 on: January 20, 2022, 09:48:39 AM »
I'm going slightly mad!  :idiot2:

Just switched the non working installation from PHP 7.4 to PHP 8.0.14 as a test. Result was an error:

Error: undefined
Warning: Undefined array key "icon_max_size"

After switching back to PHP 7.4, I was able to log in again. And ... TADAAAAA ... now it runs correctly.  8)

EDIT:

Ah ... ok ... I think it's the "Forward after login" setting. The portal type must be set to "Standalone" if the redirection after login to the front page should work correctly. Or respectively, with the setting, calling the forum works again.

But still got undefined-sub-action-errors on adding downloads or galleries.
"I'm not going to censor myself to comfort your ignorance."

Testsites (may be online or not ;-) )
ElkArte 1.1.x & TP on Apache2.4.48, PHP 8.1.2 FPM/FastCGI, MariaDB 10.5.12

Offline McFly

  • Jr. Member
  • **
  • Posts: 71
    • Die Annoholiker
Re: Elkarte TinyPortal Testing
« Reply #123 on: January 20, 2022, 10:20:47 AM »
The icon-max-size / icon-width warning under PHP8 becomes a notice under PHP7:

TPortalAdmin.english.php, line 248
Code: [Select]
$txt['tp-adminiconsinfo'] = 'PNG, JPG or GIF, Max-size: ' .$context['TPortal']['icon_max_size']. ' KB. Images will be resized so the shortest side is ' .$context['TPortal']['icon_width']. ' px, while retaining aspect ratio. Note that the top area of the image will be used as article icon.';
"I'm not going to censor myself to comfort your ignorance."

Testsites (may be online or not ;-) )
ElkArte 1.1.x & TP on Apache2.4.48, PHP 8.1.2 FPM/FastCGI, MariaDB 10.5.12

Offline tino

  • Developer
  • *
  • Posts: 2596
Re: Elkarte TinyPortal Testing
« Reply #124 on: January 20, 2022, 10:55:29 AM »
Downloads, Gallaries and Menu I will probably disable as options soon. As I want to try and package a release with minimal issues.

I'll look at the icon warning. It will be a setting somewhere which isn't being set.

Offline McFly

  • Jr. Member
  • **
  • Posts: 71
    • Die Annoholiker
Re: Elkarte TinyPortal Testing
« Reply #125 on: January 21, 2022, 04:44:04 AM »
Updated version of german formal translation.  :)
"I'm not going to censor myself to comfort your ignorance."

Testsites (may be online or not ;-) )
ElkArte 1.1.x & TP on Apache2.4.48, PHP 8.1.2 FPM/FastCGI, MariaDB 10.5.12

Offline tino

  • Developer
  • *
  • Posts: 2596
Re: Elkarte TinyPortal Testing
« Reply #126 on: January 21, 2022, 01:24:48 PM »
It's about time I drafted the next RC release so providing no bugs are reported against this pre-release then I'll get it released early February.

https://github.com/Tinyportal/ElkTP/archive/refs/heads/master.zip
« Last Edit: January 22, 2022, 09:05:37 AM by tino »

Offline McFly

  • Jr. Member
  • **
  • Posts: 71
    • Die Annoholiker
Re: Elkarte TinyPortal Testing
« Reply #127 on: January 22, 2022, 07:07:30 AM »
Under PHP8+ I get the following error:

Error: Undefined
Warning: Undefined array key "portal_type"
File: .../TinyPortal/Views/TPortalAdmin.template.php
Line: 112

The selection field for the portal type is corrupted and the other options are cut off, the administration page ends abruptly there.

It is also still not possible to create a PHP block because the editor field is hidden.

I'll check the PHP7.4 installation later.
"I'm not going to censor myself to comfort your ignorance."

Testsites (may be online or not ;-) )
ElkArte 1.1.x & TP on Apache2.4.48, PHP 8.1.2 FPM/FastCGI, MariaDB 10.5.12

Offline tino

  • Developer
  • *
  • Posts: 2596
Re: Elkarte TinyPortal Testing
« Reply #128 on: January 22, 2022, 07:32:53 AM »
Under PHP8+ I get the following error:

Error: Undefined
Warning: Undefined array key "portal_type"
File: .../TinyPortal/Views/TPortalAdmin.template.php
Line: 112

The selection field for the portal type is corrupted and the other options are cut off, the administration page ends abruptly there.

It is also still not possible to create a PHP block because the editor field is hidden.

I'll check the PHP7.4 installation later.

That’s an issue when you don’t do a clean install!

I’ll fix that in the install options. If you can get to the TPAdmin settings and set it still through there it will work again.

Offline tino

  • Developer
  • *
  • Posts: 2596
Re: Elkarte TinyPortal Testing
« Reply #129 on: January 22, 2022, 09:06:29 AM »
Fixed the error and also one to do with Guest Access. Killed the release and will just work from the master until it's ready to tag, obviously I went to early.