News: TinyPortal Release Schedule. Please read this update for More Info.

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

December 11, 2019, 02:14:27 AM

Login with username, password and session length

Recent

Members
Stats
  • Total Posts: 189280
  • Total Topics: 20775
  • Online Today: 86
  • Online Ever: 629
  • (November 08, 2018, 01:36:54 PM)
Users Online
Users: 0
Guests: 55
Total: 55

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

0 Members and 1 Guest are viewing this topic.

Offline lurkalot

  • Administrator
  • *
  • Posts: 6355
    • Camera Craniums
Re: Call to undefined function TP_loadTheme()
« Reply #10 on: August 12, 2019, 01:32:39 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 ?

You  should be able to grab a copy of the do_hooks.php file from the TP package, and drop that into the directory where all your SMF files are sitting.  Then run it from  your address bar, like you would with a upgrade

Offline @rjen

  • Support Team
  • *
  • Posts: 1931
    • FJR-club Nederland
Re: Call to undefined function TP_loadTheme()
« Reply #11 on: August 12, 2019, 01:34:58 PM »
Tried that, resulting in a white screen and no updates. Saw that you used it before, hence the question
Running TP1.6.4 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 lurkalot

  • Administrator
  • *
  • Posts: 6355
    • Camera Craniums
Re: Call to undefined function TP_loadTheme()
« Reply #12 on: August 12, 2019, 01:51:14 PM »
Tried that, resulting in a white screen and no updates. Saw that you used it before, hence the question

Strange, should run ok, or it always used to.  Haven't had to do this in a while.  Wonder if TP still shows as installed in package manager.  If not then perhaps remove all the TP files manually and reinstall it. (Backing them up first).

But as you said, removing all hooks will certainly break all the other mods that use hooks.

Offline @rjen

  • Support Team
  • *
  • Posts: 1931
    • FJR-club Nederland
Re: Call to undefined function TP_loadTheme()
« Reply #13 on: August 12, 2019, 01:55:07 PM »
It looks like the OP is setting up a fresh set of files...
Running TP1.6.4 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 lurkalot

  • Administrator
  • *
  • Posts: 6355
    • Camera Craniums
Re: Call to undefined function TP_loadTheme()
« Reply #14 on: August 12, 2019, 02:00:52 PM »
It looks like the OP is setting up a fresh set of files...

Might be the best way to go I guess. Lets hope they are fresh files from the large upgrade package, not the install one. Otherwise it's going to get messy.  ;)

Offline lurkalot

  • Administrator
  • *
  • Posts: 6355
    • Camera Craniums
Re: Call to undefined function TP_loadTheme()
« Reply #15 on: August 12, 2019, 02:31:36 PM »
Looks like Dylert is running the installer, not just uploading a fresh set of files.  I hope there's a current backup of the database now, because it's going to be a empty forum starting from scratch.

Offline @rjen

  • Support Team
  • *
  • Posts: 1931
    • FJR-club Nederland
Re: Call to undefined function TP_loadTheme()
« Reply #16 on: August 13, 2019, 02:44:28 PM »
Guess he had a backup this time....
Running TP1.6.4 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 lurkalot

  • Administrator
  • *
  • Posts: 6355
    • Camera Craniums
Re: Call to undefined function TP_loadTheme()
« Reply #17 on: August 13, 2019, 02:51:18 PM »
It does indeed, well that's a relief.  I was a bit worried when I saw install.php running yesterday.