SMF version: SMF21rc3
TP version: TinyPortal-2.0.0
Template error while viewing comments - "Unable to load the 'main' template".
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?
Its in the user block
Cause is a mystery to me, but I am sure that tino knows where it breaks..
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
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.
I can confirm, I get the same error, fresh install SMF 2.1 RC3 - TP 2.0.0
Some of the same errors were reported here (https://www.tinyportal.net/index.php?topic=36518.0l) by me, but a different problem.
Quote from: Lesmond on December 07, 2020, 03:12:53 PM
Some of the same errors were reported here (https://www.tinyportal.net/index.php?topic=36518.0l) by me, but a different problem.
Sorry what errors are similar?
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
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.
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
Thanks fixed for me, needs to be fixed here too :)
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
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. ;)