News: When asking for support, it helps us and you, if you read the Posting Guidelines

Login  |  Register
HTML5 Icon HTML5 Icon
TP on Social Media
Welcome, Guest. Please login or register.
Did you miss your activation email?

September 15, 2019, 08:46:26 PM

Login with username, password and session length

Recent

Members
  • Total Members: 3752
  • Latest: Alizee
Stats
  • Total Posts: 188888
  • Total Topics: 20752
  • Online Today: 80
  • Online Ever: 629
  • (November 08, 2018, 01:36:54 PM)
Users Online
Users: 0
Guests: 33
Total: 33

Author Topic: Call to undefined function TP_loadTheme()  (Read 343 times)

0 Members and 1 Guest are viewing this topic.

Offline Dylert

  • Jr. Member
  • **
  • Posts: 40
Call to undefined function TP_loadTheme()
« on: August 12, 2019, 12:01:00 PM »
 Link to my forum: http://www.hellasforum.net/
SMF version: SMF ver. 2.0.15 here
TP version: 1.6.1
Default Forum Language: Norwegian
Theme name and version: Default
Browser Name and Version: Chrome - latest version
Mods installed:
SMF pro likes
SMF contact page
Social login
Topic starter
Users online today
WYSIWYG Quick reply
Post and PM inline attachment
Simple Audio video embedder
Advanced attachment uploader
Alternative menu
DMOT.hook.v141

Related Error messages: Call to undefined function TP_loadTheme()
PHP version: 7
« Last Edit: August 13, 2019, 02:46:01 PM by @rjen »

Offline @rjen

  • Support Team
  • *
  • Posts: 1807
    • FJR-club Nederland
Re: Call to undefined function TP_loadTheme()
« Reply #1 on: August 12, 2019, 12:04:49 PM »
Forumlink does not work?

Please Specify complete list of Mods, the Actual TP version as well as the PHP version
Running TP1.6.3 on SMF2.0 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 RC2
Want to check what php version I am testing on? See: PHP Info

Offline Dylert

  • Jr. Member
  • **
  • Posts: 40
Re: Call to undefined function TP_loadTheme()
« Reply #2 on: August 12, 2019, 12:14:39 PM »
Forumlink does not work?

Please Specify complete list of Mods, the Actual TP version as well as the PHP version

Sorry! I have corrected th elink now:  www.hellasforum.net

Offline @rjen

  • Support Team
  • *
  • Posts: 1807
    • FJR-club Nederland
Re: Call to undefined function TP_loadTheme()
« Reply #3 on: August 12, 2019, 12:20:23 PM »
What did you do / change when this started happening? It suggests a broken / incomplete install of TinyPortal...

Did you backup before this started?
Running TP1.6.3 on SMF2.0 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 RC2
Want to check what php version I am testing on? See: PHP Info

Offline Dylert

  • Jr. Member
  • **
  • Posts: 40
Re: Call to undefined function TP_loadTheme()
« Reply #4 on: August 12, 2019, 12:29:25 PM »
I changed from http to https and ran repair_settings.php. I clicked on "Remove all hooks", but I don't know if that is the reason.

Offline @rjen

  • Support Team
  • *
  • Posts: 1807
    • FJR-club Nederland
Re: Call to undefined function TP_loadTheme()
« Reply #5 on: August 12, 2019, 12:32:42 PM »
The remove all hooks is most likely the cause...

Do you have a backup? If so restore.

You may have more issues with your mods now.
Running TP1.6.3 on SMF2.0 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 RC2
Want to check what php version I am testing on? See: PHP Info

Offline Dylert

  • Jr. Member
  • **
  • Posts: 40
Re: Call to undefined function TP_loadTheme()
« Reply #6 on: August 12, 2019, 12:34:07 PM »
No, I don't have a backup of everything. But I have backup of some files and database which is about 6 months old.

Offline Dylert

  • Jr. Member
  • **
  • Posts: 40
Re: Call to undefined function TP_loadTheme()
« Reply #7 on: August 12, 2019, 12:41:06 PM »
Maybe I shold make a clean install??

Offline @rjen

  • Support Team
  • *
  • Posts: 1807
    • FJR-club Nederland
Re: Call to undefined function TP_loadTheme()
« Reply #8 on: August 12, 2019, 12:54:56 PM »
A clean set of files is a sure way to fix it. More work though then a backup... you should really create a full backup of your forum before doing these things...

If you have the backup of the table smf_settings and are comfortabel with phpmyadmin you can manually put back the values you find in the table fields for the variables that start with integrate...

That should fix it, but I am not exactly sure. so no guarantees
Running TP1.6.3 on SMF2.0 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 RC2
Want to check what php version I am testing on? See: PHP Info

Offline @rjen

  • Support Team
  • *
  • Posts: 1807
    • FJR-club Nederland
Re: Call to undefined function TP_loadTheme()
« Reply #9 on: August 12, 2019, 01:09:45 PM »
There is a file in the TinyPortal package: do_hooks.php, that can restore the hooks.

I am not sure how to run that though. Mick, a hand please ?
Running TP1.6.3 on SMF2.0 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 RC2
Want to check what php version I am testing on? See: PHP Info