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

Recent

Welcome to TinyPortal. Please login or sign up.

April 29, 2024, 10:42:22 PM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,174
  • Total Topics: 21,220
  • Online today: 152
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 1
  • Guests: 99
  • Total: 100
  • davo88

Hooks issue after installation - Empty TP Admin page

Started by IgorS, March 30, 2024, 09:35:20 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

IgorS

Link to my forum: https://www.truck-spotters.eu/forum/
SMF version: 2.1.4
TP version: 3.0.0
Default Forum Language: Polish (but tested also with English)
Theme name and version: Default
Browser Name and Version: Chrome
Mods installed: Topic Count in Profiles, Ad Management, TinyPortal, Forum Width Setting, AutoPurge old Topics, Social Login, Post as Another Member, Enhanced Quick Reply, Google Analytics Code, Anti-spam by CleanTalk, Simple .htaccess Proxy Blocker Mod, Simple .htaccess Cache Mod
Related Error messages:
- The callable TinyPortal\Integrate::hookDefaultAction could not be called.
- Hook call: function "TinyPortal\Integrate::hookPreLoad" in file /home/tspotter/domains/truck-spotters.eu/public_html/TinyPortal/Integrate.php could not be called.
- The callable TinyPortal\Integrate::hookPreLoad could not be called.

I have installed TinyPortal 3.0.0 without any issues. Database has been updated:
You cannot view this attachment.

But when I clicked go to TP Admin page after installation, the page is empty:
You cannot view this attachment.

When entering Configuration page, there is no TP Admin page at all:
You cannot view this attachment.

Could you please help to get it working?

@rjen

Does not sound like something I have seen before .

Did you try uninstalling and install again?
Running Latest TP on SMF2.1 at: www.fjr-club.nl

tino

Can you check the files exist on the server. My guess is file permissions and the TinyPortal directory wasn't created so the other hooks aren't loaded.

IgorS

Sure, but without success. I have also tried to uninstall some other mods and then install TP, but nothing really changes.

I tried to uninstall it, then remove DB tables manually (as default procedure fails due to ALTER TABLE instead of DROP TABLES) and then installing TP again. Installation summary says it's successfull, but I have no settings as on the screenshots.

I've checked Integration hooks and they are there, but some of them are "not found":
You cannot view this attachment.

Quote from: tino on March 30, 2024, 10:23:33 PMCan you check the files exist on the server. My guess is file permissions and the TinyPortal directory wasn't created so the other hooks aren't loaded.

Will check it tommorrow and update here. Which files should I check?

@rjen

Checking the site I do see blocks, som some files are definitely there
Running Latest TP on SMF2.1 at: www.fjr-club.nl

lurkalot

Since reading this I just checked a couple of sites.  I've noticed on a few of them mine and others show the TinyPortal\Integrate::hookCredits hook as "temporary hook not found"

Also the TinyPortal\Integrate::hookDefaultAction hook showing as "Not Found"

But everything appears to be working as normal.

@IgorS What version of php are you running, and do you have modsecurity enabled on you hosting??

@rjen

I am pretty sure this is 'standard' behavior due to how TinyPortal implemented the hooks, which is not exactly what SMF expects. I am sure Tino can explain this better
Running Latest TP on SMF2.1 at: www.fjr-club.nl

IgorS

Guys, I am so sorry for wasting your time.

I was doing it on my personal forum account, which inherits all permissions from Admin.
In fact, it didn't inherits permissions related to TP.

After logging to Admin account, everything works fine.

Thank you and sorry!

@rjen

Not sure how you managed to get logged in to the TinyPortal admin page then... you should have gotten this screen imo...

You cannot view this attachment.
Running Latest TP on SMF2.1 at: www.fjr-club.nl