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

Recent

Welcome to TinyPortal. Please login or sign up.

April 28, 2024, 08:40:12 PM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,173
  • Total Topics: 21,219
  • Online today: 130
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 1
  • Guests: 123
  • Total: 124
  • @rjen

Main template errors for Show latest comments

Started by wylek, December 05, 2020, 09:31:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wylek

SMF version: SMF21rc3
TP version: TinyPortal-2.0.0

Template error while viewing comments - "Unable to load the 'main' template".


tino

Quote from: wylek on December 05, 2020, 09:31:29 PM
SMF version: SMF21rc3
TP version: TinyPortal-2.0.0

Template error while viewing comments - "Unable to load the 'main' template".

I'm not even sure where that link is?

@rjen

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

@rjen

Cause is a mystery to me, but I am sure that tino knows where it breaks..
Running Latest TP on SMF2.1 at: www.fjr-club.nl

tino

Quote from: @rjen on December 06, 2020, 02:29:53 PM
Cause is a mystery to me, but I am sure that tino knows where it breaks..

It'll be a sub_template is not set. I wish SMF handled them better tbf

lurkalot

Quote from: tino on December 06, 2020, 07:47:35 PM
Quote from: @rjen on December 06, 2020, 02:29:53 PM
Cause is a mystery to me, but I am sure that tino knows where it breaks..

It'll be a sub_template is not set. I wish SMF handled them better tbf

I hadn't noticed this bug until it was pointed out, I can see it blurts an error on page.

Lesmond

#6
I can confirm, I get the same error, fresh install SMF 2.1 RC3 - TP 2.0.0

Lesmond

#7
Some of the same errors were reported here by me, but a different problem.

tino

Quote from: Lesmond on December 07, 2020, 03:12:53 PM
Some of the same errors were reported here by me, but a different problem.

Sorry what errors are similar?

Lesmond

Ok the same places I mean, maybe I'm wrong, not being a coder :( :idiot2:

#3: template_main()
Called from /home/vol11_7/byethost7.com/b7_24299229/htdocs/testsite7/Sources/Load.php on line 2636

#4: loadSubTemplate()
Called from /home/vol11_7/byethost7.com/b7_24299229/htdocs/testsite7/Sources/Subs.php on line 3472

#5: obExit()
Called from /home/vol11_7/byethost7.com/b7_24299229/htdocs/testsite7/index.php on line 176

tino

Quote from: Lesmond on December 08, 2020, 11:32:58 AM
Ok the same places I mean, maybe I'm wrong, not being a coder :( :idiot2:

#3: template_main()
Called from /home/vol11_7/byethost7.com/b7_24299229/htdocs/testsite7/Sources/Load.php on line 2636

#4: loadSubTemplate()
Called from /home/vol11_7/byethost7.com/b7_24299229/htdocs/testsite7/Sources/Subs.php on line 3472

#5: obExit()
Called from /home/vol11_7/byethost7.com/b7_24299229/htdocs/testsite7/index.php on line 176


That's just the standard SMF calls and any template error will generate that.

tino

Quote from: wylek on December 05, 2020, 09:31:29 PM
SMF version: SMF21rc3
TP version: TinyPortal-2.0.0

Template error while viewing comments - "Unable to load the 'main' template".

This is now fixed in; https://github.com/Tinyportal/TinyPortal/commit/78e0d1ae3077e5f93074b0c604502d1606a1743c

Lesmond

Thanks fixed for me, needs to be fixed here too :)

lurkalot

Quote from: Lesmond on December 10, 2020, 02:00:07 PM
Thanks fixed for me, needs to be fixed here too :)

Yep, it will be next time I replace the portal.  O0

lurkalot

Quote from: lurkalot on December 10, 2020, 05:39:19 PM
Quote from: Lesmond on December 10, 2020, 02:00:07 PM
Thanks fixed for me, needs to be fixed here too :)

Yep, it will be next time I replace the portal.  O0

Which I have now done, thanks for the reminder.  ;)