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

Recent

Welcome to TinyPortal. Please login or sign up.

March 29, 2024, 04:47:40 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,105
  • Total Topics: 21,213
  • Online today: 292
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 297
  • Total: 297

Problem by using newer PHP version

Started by GER_SMF, June 21, 2021, 11:17:17 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

GER_SMF

Link to my forum: Not mentioned for security reasons
SMF version: 2.0.15
TP version: 1.107
Default Forum Language: German
Theme name and version: equal
Browser Name and Version: Different browsers
Mods installed: Not mentioned for security reasons
Related Error messages:


Fatal error: Uncaught Error: Cannot create references to/from string offsets in C:\xampp_MDB\htdocs\Sources\TPortal.php:2533 Stack trace: #0 C:\xampp_MDB\htdocs\Themes\default\TPBlockLayout.template.php(45): TPortal_panel('left') #1 C:\xampp_MDB\htdocs\Sources\Load.php(2008): template_tp_above() #2 C:\xampp_MDB\htdocs\Sources\Subs.php(3441): loadSubTemplate('tp_above', true) #3 C:\xampp_MDB\htdocs\Sources\Subs.php(2883): template_header() #4 C:\xampp_MDB\htdocs\Sources\Errors.php(328): obExit(NULL, true, false, true) #5 C:\xampp_MDB\htdocs\Sources\Errors.php(165): setup_fatal_error_context('Cannot create r...') #6 C:\xampp_MDB\htdocs\index.php(122): fatal_error('Cannot create r...', false) #7 [internal function]: {closure}(Object(Error)) #8 {main} thrown in C:\xampp_MDB\htdocs\Sources\TPortal.php on line 2533

Line 2533:
$block = &$context['TPortal'][$panelside][$side][$i];
if(!isset($block['frame']))
continue;


Zu aller Erst (in English below) :

Wir haben bestimmt einige zu alte SMF/TPortal Versionen, das hängt damit zusammen, dass SMF durch die vielen Code-Änderungen der MOds etc. keine automatischen Updates mehr zulässt.

Wir fahren ein SMF Forum mit mehreren tausend Benutzern und ca.  35 Modifikationen.

Der  Web-Dienstleister stellt auf mariaDB und eine höhere PHP Version um, das wollte ich jetzt mit einer lokalen Web-Version testen und beim Aufruf der index.php kommt der obige Fehler.

Wie kann ich das alte TPortal manuell entfernen (ohne SMF aufrufen zu können) und die neue manuell installieren?

Server local:
Apache/2.4.47
10.4.19-MariaDB
PHP-Version: 7.3.28

QuoteEnglish:
We certainly have some SMF/TPortal versions that are too old, this is due to the fact that SMF no longer allows automatic updates due to the many code changes to MOds etc.

We run a SMF forum with several thousand users and about 35 modifications.

The web service provider is switching to mariaDB and a higher PHP version, I wanted to test this now with a local web version and when calling the index.php the above error comes up.
How can I remove the old TPortal manually (without being able to call SMF) and install the new one manually?

Greetings & THX
GER_SMF

@rjen

Without access to SMF that is pretty tedious: you require FTP access to the files to uninstall and manually remove the code edits.
Installing the new version without the package manager will require FTP access and Database access. But I do not see why you would try that.

You may need to manually uninstall, then upgrade your SMF install and use the package manager to install TP 2.0.1.
You old TP content will still be available in the new install
Running Latest TP on SMF2.1 at: www.fjr-club.nl

GER_SMF

Hi Arjen,

thx for the info.

Which TP version I can use with SMF 2.0.15? TP 2.0.1.?

Greetins
GER_SMF

@rjen

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

@rjen

Just checked the (very old) installer of TP1.0..

To fully install you will also need to remove three hooks from the database, table smf_settings...

'integrate_pre_include' => '$sourcedir/TPassimilate.php',
'integrate_load_permissions' => 'tpAddPermissions',
'integrate_buffer' => 'tpAddCopy',
Running Latest TP on SMF2.1 at: www.fjr-club.nl