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

Recent

Welcome to TinyPortal. Please login or sign up.

December 06, 2024, 10:34:57 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,443
  • Total Topics: 21,252
  • Online today: 158
  • Online ever: 6,457 (November 30, 2024, 02:40:09 PM)
Users Online
  • Users: 0
  • Guests: 143
  • Total: 143

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 1 Guest 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