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

Recent

Welcome to TinyPortal. Please login or sign up.

March 29, 2024, 07:22:34 AM

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

Elkarte TinyPortal Testing

Started by tino, January 05, 2021, 01:55:34 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lurkalot

OK, clean install of ElkArte and ElkTinyPortal RC2

Straight out of the box and without changing anything, I'm getting a error on page when adding a html/javascript block,

"Call to undefined method TinyPortal\Model\Subs::get_boards()"

tino

Quote from: lurkalot on February 07, 2021, 10:35:00 PM
OK, clean install of ElkArte and ElkTinyPortal RC2

Straight out of the box and without changing anything, I'm getting a error on page when adding a html/javascript block,

"Call to undefined method TinyPortal\Model\Subs::get_boards()"

Must of missed that one when converting them across. It should be TPSubs::getInstance()->boards()

tino

There will probably be a few of those around, I tried to change most but I'm sure I've missed more than a few.

lurkalot

Quote from: tino on February 07, 2021, 10:44:52 PM

Must of missed that one when converting them across. It should be TPSubs::getInstance()->boards()


Thanks.

Just about to clean install ElkArte again, my last install (ElkArte, not TP) did something strange.  Or should I say I did.  :-[ Seems if it takes a while to install and you happen to click the continue button while you're waiting it adds duplicate membergroups. Think this is a bug in ElkArte.

tino

Just rebuilt the tag with the bug fixes in for what you raised.

tino

Quote from: @rjen on February 07, 2021, 09:17:50 PM
Just removed the old install completely and installed the new package

Did that resolve the language file issue?

@rjen

Quote from: tino on February 08, 2021, 12:44:03 AM
Quote from: @rjen on February 07, 2021, 09:17:50 PM
Just removed the old install completely and installed the new package

Did that resolve the language file issue?

Installed the updated package and the language issue is now solved.
Running Latest TP on SMF2.1 at: www.fjr-club.nl

lurkalot

Another one for you tino.

Clicking the View Article link gives error on page, only if the article is not Approved, or Not Active. It has to have both set to Approved and Active before you can view the article.

Call to undefined function TinyPortal\Controller\TP_error()

And these in log,

ype of error: General
Unknown Error: Non-static method TinyPortal\Model\Subs::chain() should not be called statically
http://elkarte4.test/index.php?action=admin;area=tparticles;sa=editarticle;article=1
File: C:/laragon/www/elkarte4/TinyPortal/Model/Article.php
Line: 597

   Type of error: General
Unknown Error: Non-static method TinyPortal\Model\Subs::chain() should not be called statically
http://elkarte4.test/index.php?action=admin;area=tparticles;sa=articles;cu=3
File: C:/laragon/www/elkarte4/TinyPortal/Model/Article.php
Line: 597

Type of error: General
Unknown Error: Non-static method TinyPortal\Model\Subs::chain() should not be called statically
http://elkarte4.test/index.php?action=admin;area=tparticles;sa=articles
File: C:/laragon/www/elkarte4/TinyPortal/Model/Article.php
Line: 597

tino

Thanks, I'll sort those later tonight.

Same issue as last time. I haven't moved it all across it seems.

lurkalot

Quote from: tino on February 08, 2021, 09:04:02 PM
Thanks, I'll sort those later tonight.

Same issue as last time. I haven't moved it all across it seems.

tino, I'm guessing this error is also stopping the articles displaying on the front page, and the reason the "Toggle show on front page" button wont stay selected? If not there's another issue.