News:

Wondering if this will always be free?  See why free is better.

Main Menu

TinyPortal

Started by lurkalot, February 12, 2005, 04:43:00 AM

Previous topic - Next topic

@rjen

You are sure it is related to TinyPortal?

First make sure that you are on the latest version: it supports php 8.1 fine.

If the problem persists it may be caused by outdated php code in your blocks. Deactivate all blocks and switch to php version 8.1 again.

Then activate the blocks one by one to find the problem
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

cihancan

I disabled all of them in case there might be a coding error in the blocks I created. Only the TinyPortal Online block remains. Even this way it throws an error. It only shows articles if you close all blocks and articles remain. Could it be an error in the front panel or general settings?

@rjen

You still did not mention what version you are using
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

cihancan

Quote from: @rjen on August 14, 2023, 08:44:28 AMYou still did not mention what version you are using
PHP 7.4

@rjen

I meant TinyPortal
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

cihancan


@rjen

So you have this problem with php 7.4?

Can you share a link to the forum?
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

cihancan

First of all, thank you for your interest. It works flawlessly in PHP 7.4 version. The problem is when I upgrade to 8.0 or 8.1 a white page appears.
Website link:
 https://tp.mehmetkuru.net/

Kindred

Smf 2.0.19 does not support php 8,nor php 8.1, nor php 8.2

Upgrade to smf 2.1.4
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

@rjen

The site linked to is 2.1.4, so should work fine.

Two questions:
1. What other mods do you have installed? Are this php 8 ready!

2. When you switch to php 8 you get a white page. You should have an error in your server error log... what is it?
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

cihancan

Sir, here are some photos of the white page and error logs that occurred when I upgraded to PHP 8.1. I can also send the error_log file if you want.

@rjen

#3511
I was actually asking for the SERVER eror log, that should explain the  HTTP error 500

The server error log is not the SMF log, but in fact is found in the admin panel from your webhost...
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

@rjen

Quote from: cihancan on August 15, 2023, 02:49:55 AMSir, here are some photos of the white page and error logs that occurred when I upgraded to PHP 8.1. I can also send the error_log file if you want.

That looks like something isn't loading properly.

We define them in /TinyPortal/Block.php

Can you check if that file exists on the server?
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

landyvlad

Since the 14th of August (til today - 28 August) my error log shows 21,011 errors (not a typo) all related to TinyPortal and specifically the following:

Quote21010

 Today at 09:38 AM
 VladTepes
 203.13.3.93
 a8b9656c8343059459a5516a4c7d6aa6
 https://gsx1400owners.org/forum/index.php?action=admin;area=logs;sa=errorlog;desc=
 /home/gsxowner/public_html/forum/Themes/default/GenericMenu.template.php (Line 282)  Backtrace information

Type of error: Undefined
Error messageSelect
2: Undefined array key "label"
21009


and
QuoteToday at 09:17 AM
 Guest
 52.167.144.219
 ca43e9a3f29e328f14005dccd528fe73
 https://gsx1400owners.org/forum/index.php?topic=4594.0
 /home/gsxowner/public_html/forum/Themes/default/TPsubs.template.php(625) : eval()'d code (Line 19)  Backtrace information

Type of error: General
Error messageSelect
2: Trying to access array offset on value of type null

I am running SMF 2.1.4 and TinyPortal 2.3.1 

Assistance would be appreciated.
Thanks.
"Put as much effort into your question as you'd expect someone to give in an answer"

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Be the person your dog thinks you are.

landyvlad

Further to the above, I ensured all my other mods were updated, just in case that was the issue - no.

I cleared the error log after posting the above and have already accumulated 295 errors this morning.
Aside from one they all appear to be related to TPsubs.template.php 
"Put as much effort into your question as you'd expect someone to give in an answer"

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Be the person your dog thinks you are.

Chen Zhen

It shows an eval() error so I believe one of your PHP blocks is causing the errors.

Did you add or edit a PHP block around the middle of August?

Try disabling your PHP blocks one at a time until you figure out which one is causing it.

My SMF Mods & Plug-Ins

WebDev

"Either you repeat the same conventional doctrines everybody is saying, or else you say something true, and it will sound like it's from Neptune." - Noam Chomsky

lurkalot

Quote from: landyvlad on August 27, 2023, 07:48:14 PMSince the 14th of August (til today - 28 August) my error log shows 21,011 errors (not a typo) all related to TinyPortal

Landy, I suspect your error log has been filling up since Thursday, 16 March when you installed "Stop Forum Spam", version 1.4

landyvlad

Yes indeed.
So what's the problem between SFS and TP?
"Put as much effort into your question as you'd expect someone to give in an answer"

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Be the person your dog thinks you are.

Steve

Can one of you guys give me step-by-step instructions on creating the shoutbox (and no other modules until I learn more) which will show at the top of the main index?
DO NOT pm me for support!

lurkalot

Quote from: Steve on October 07, 2023, 07:59:39 AMCan one of you guys give me step-by-step instructions on creating the shoutbox (and no other modules until I learn more) which will show at the top of the main index?

TP Admin > Blocks

Scroll down to Upper blocks and click add block.

Give it a Title then scroll down and Choose type of block = Shoutbox Then click save.

On next page choose one of the horizontal layouts, then scroll down and choose where you want it to display. Turn it on at the top then > Save.

Then you can just turn off any of the other blocks as desired.  Panels will not show if there's no active blocks in them. 

Edit the shoutbox block to change shoutbox settings as required,

Title
Height of shoutbox in pixels
Shoutbox layout
Show avatars Yes No
Position of new messages Top Bottom
Position of the post bar Top Bottom
etc, etc.

Advertisement: