Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

December 05, 2022, 01:21:21 PM

Login with username, password and session length
Members
  • Total Members: 3853
  • Latest: tty456
Stats
  • Total Posts: 193627
  • Total Topics: 21108
  • Online today: 83
  • Online ever: 3540
  • (September 02, 2022, 06:38:54 PM)
Users Online
Users: 2
Guests: 65
Total: 67

Author Topic: Elkarte TinyPortal Testing  (Read 19700 times)

0 Members and 1 Guest are viewing this topic.

Online lurkalot

  • Administrator
  • *
  • Posts: 7415
    • Camera Craniums
Re: Elkarte TinyPortal Testing
« Reply #50 on: February 07, 2021, 03: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()"

Offline tino

  • Developer
  • *
  • Posts: 2641
Re: Elkarte TinyPortal Testing
« Reply #51 on: February 07, 2021, 03:44:52 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()

Offline tino

  • Developer
  • *
  • Posts: 2641
Re: Elkarte TinyPortal Testing
« Reply #52 on: February 07, 2021, 04:09:13 PM »
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.

Online lurkalot

  • Administrator
  • *
  • Posts: 7415
    • Camera Craniums
Re: Elkarte TinyPortal Testing
« Reply #53 on: February 07, 2021, 04:12:57 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.

Offline tino

  • Developer
  • *
  • Posts: 2641
Re: Elkarte TinyPortal Testing
« Reply #54 on: February 07, 2021, 05:43:34 PM »
Just rebuilt the tag with the bug fixes in for what you raised.

Offline tino

  • Developer
  • *
  • Posts: 2641
Re: Elkarte TinyPortal Testing
« Reply #55 on: February 07, 2021, 05:44:03 PM »
Just removed the old install completely and installed the new package

Did that resolve the language file issue?

Online @rjen

  • Support Team
  • *
  • Posts: 3342
    • FJR-club Nederland
Re: Elkarte TinyPortal Testing
« Reply #56 on: February 08, 2021, 01:35:50 AM »
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

Online lurkalot

  • Administrator
  • *
  • Posts: 7415
    • Camera Craniums
Re: Elkarte TinyPortal Testing
« Reply #57 on: February 08, 2021, 12:53:58 PM »
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

Offline tino

  • Developer
  • *
  • Posts: 2641
Re: Elkarte TinyPortal Testing
« Reply #58 on: February 08, 2021, 02:04:02 PM »
Thanks, I’ll sort those later tonight.

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

Online lurkalot

  • Administrator
  • *
  • Posts: 7415
    • Camera Craniums
Re: Elkarte TinyPortal Testing
« Reply #59 on: February 08, 2021, 03:21:14 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.