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?

November 26, 2022, 12:53:50 PM

Login with username, password and session length
Members
  • Total Members: 3853
  • Latest: tty456
Stats
  • Total Posts: 193612
  • Total Topics: 21103
  • Online today: 74
  • Online ever: 3540
  • (September 02, 2022, 06:38:54 PM)
Users Online
Users: 2
Guests: 58
Total: 60

Author Topic: Unable to load the 'main_above' template.  (Read 969 times)

0 Members and 1 Guest are viewing this topic.

Offline Data

  • Jr. Member
  • **
  • Posts: 6
Re: Unable to load the 'main_above' template.
« Reply #10 on: September 06, 2022, 10:32:16 AM »
Yes as you thought it's the same on the default theme.

Before I uninstall TP, no I haven't tried it yet but I remember the downloads broke a while back on the old site, I had forgotten about that when I did the update to SMF2.

These must be related in some way. 

Online @rjen

  • Support Team
  • *
  • Posts: 3336
    • FJR-club Nederland
Re: Unable to load the 'main_above' template.
« Reply #11 on: September 06, 2022, 10:33:53 AM »
What exactly do you mean with 'the downloads broke' ?

That makes me a bit suspicious...
Running Latest TP on SMF2.1 at: www.fjr-club.nl

Online @rjen

  • Support Team
  • *
  • Posts: 3336
    • FJR-club Nederland
Re: Unable to load the 'main_above' template.
« Reply #12 on: September 06, 2022, 10:36:06 AM »
Need to go now but what I recommend is that you make sure to create a phpmyadmin backup of all tp_ tables from your forum.

Store that safely.

I am starting to suspect that there is something off in one of the tables.

Need to think about that a bit...
Running Latest TP on SMF2.1 at: www.fjr-club.nl

Offline Data

  • Jr. Member
  • **
  • Posts: 6
Re: Unable to load the 'main_above' template.
« Reply #13 on: September 06, 2022, 10:44:45 AM »
What exactly do you mean with 'the downloads broke' ?

That makes me a bit suspicious...

When I clicked a link to goto the downloads nothing happened, not even an error message that I can remember.

I agree with you that there is something wrong in the DB.

Online @rjen

  • Support Team
  • *
  • Posts: 3336
    • FJR-club Nederland
Re: Unable to load the 'main_above' template.
« Reply #14 on: September 06, 2022, 11:15:24 AM »
Did you use the downloads? Any entries in the tp_downloads table?

You can try this:
1. Create a full sql backup of all tp_ tables
2. Uninstall TP
3. Remove the tp_ tables from the database
4. Install TP clean

Check if it works now…
Then you can import the tp_ tables from the backup and see if it is ok…

It is a bit trial and error, best done on a test forum…
If you have that, give it a go, otherwise I am willing to test it if you can share the .sql backup of your tp_ tables.,.
Running Latest TP on SMF2.1 at: www.fjr-club.nl

Offline Data

  • Jr. Member
  • **
  • Posts: 6
Re: Unable to load the 'main_above' template.
« Reply #15 on: September 06, 2022, 05:05:52 PM »
Thanks for all your help @rjen

I've fixed the problem - it was an old theme that the DL part of TP was looking for but the path to the theme in SMF was incorrect.

 

Online @rjen

  • Support Team
  • *
  • Posts: 3336
    • FJR-club Nederland
Re: Unable to load the 'main_above' template.
« Reply #16 on: September 12, 2022, 08:24:13 AM »
Thanks for all your help @rjen

I've fixed the problem - it was an old theme that the DL part of TP was looking for but the path to the theme in SMF was incorrect.

It is nice that you found the problem: I am a bit confused though, because I cannot reproduce the error in any way:
1. Tried to delete the previously assigned theme: TinyPortal falls back to the default...
2. Tried by deliberately breaking the theme paths: TinyPortal page shows up without formatting, but it does show...

Would you mind sharing how exactly you managed to break it so it would result in the Unable to load the 'main_above' template error? Perhaps we can prevent such errors in future...
Running Latest TP on SMF2.1 at: www.fjr-club.nl

Offline Data

  • Jr. Member
  • **
  • Posts: 6
Re: Unable to load the 'main_above' template.
« Reply #17 on: October 07, 2022, 06:27:59 AM »
Been busy here.

Sorry I can't shed any more light on the error, once I removed the bad path to the old theme it just came to life.

I wish I could give you some more info but ...

Online @rjen

  • Support Team
  • *
  • Posts: 3336
    • FJR-club Nederland
Re: Unable to load the 'main_above' template.
« Reply #18 on: October 07, 2022, 06:55:23 AM »
Never mind, I was curious because I cannot reproduce it.

Since it is an edge case it is not that important.
Running Latest TP on SMF2.1 at: www.fjr-club.nl