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?

May 13, 2021, 01:51:32 PM

Login with username, password and session length
Members
Stats
  • Total Posts: 192247
  • Total Topics: 20970
  • Online Today: 101
  • Online Ever: 1035
  • (November 26, 2020, 04:45:12 AM)
Users Online
Users: 1
Guests: 50
Total: 51

Author Topic: 2 issues with TP  (Read 330 times)

0 Members and 1 Guest are viewing this topic.

Offline arslun

  • Newbie
  • *
  • Posts: 3
2 issues with TP
« on: April 26, 2021, 08:23:02 AM »
Hi,
We have installed TP 2.0.1 on SMF 2.1 RC3. We have used the Upper Panel to display different topics in 3 blocks as New Topic, New Replies and Hot Topics by using PHP codes.

Here are the issues:

1. After installing TP, some topics will become blank when they are opened by admin, and some of them for all users. These issues can be resolved if I remove the TP related parts from the Settings table.

2. Can't uninstall TP. Since we have the issue as described, I have tried to reinstall it, but failed to uninstall it.

Please help. Thanks

Online @rjen

  • Support Team
  • *
  • Posts: 2874
    • FJR-club Nederland
Re: 2 issues with TP
« Reply #1 on: April 26, 2021, 08:45:51 AM »
Welcome to TinyPortal

I see you also posted this @ smf? Are you sure this is TinyPortal related?

Reason I a masking is that you are the first reporting this...

As for your questions:
Item 1. some topics will become blank...

When you say 'blank' what exacly happens: is the page emtpy or just the topic area?

You mention that you are using some php blocks: are these used on those 'blank' pages? First thing to try is deactivated the phph blocks (switch them off) and try again...
You would not be the first that has invalid PHP code in blocks causing issues...
If the topics show then at least that's a place to start looking

Item 1. Can't uninstall TP...
Why not? What errors does it give you?
TP does not do any code edits in SMF 2.1 so I assume there is something else...

On a general note: manually removing table entries from the database is generally NOT recommended. What did you remove and from what table?

A link to the forum in question would be nice, if possible to see what exactly the issue is?
Running TP2.0.1 on SMF2.0 at: www.fjr-club.nl

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

Online @rjen

  • Support Team
  • *
  • Posts: 2874
    • FJR-club Nederland
Re: 2 issues with TP
« Reply #2 on: April 26, 2021, 08:56:38 AM »
Think I found your forum?

http://munber.iuyghur.com/index.php

I see it has RTL language... not sure if that has anything to do with it... what happens when logging on in English?

Either that is a different forum, of the information you provided is incorrect: that forum is running 2.1 RC1 and TinyPortal 1.6.2...
Running TP2.0.1 on SMF2.0 at: www.fjr-club.nl

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

Offline arslun

  • Newbie
  • *
  • Posts: 3
Re: 2 issues with TP
« Reply #3 on: April 26, 2021, 09:44:26 AM »
Hi @rjen,
Thanks for your quick response.

Issue 1:

When it's blank, nothing will show on the page.

The PHP codes are same for all topics. Not sure why only some topics are having the issue.

I have tried to deactivate them, and even deleted all the blocks. Didn't work.

Issue 2:
Uninstall is also returning a blank page. No errors

------
I have tried many things to fix the issues. One of them is to install a new SMF and copy only the boards, categories, topics, messages and user data tables. It fixed the issue. I can go with from here and update rest of the forum settings.
But I also tried to keep all data on the old forum, and just replaced the Settings table from the new forum. It worked as well. This is a better choose as I don't have to update other forum settings. Then I came to an idea to compare the Settings table from old and new installation. Then where I found if I remove the TP related parts from the settings the issue is resolved. But the mod is still there. That is why I wanted to uninstall it. I can leave it but don't want keep an mode that is not used.


Online @rjen

  • Support Team
  • *
  • Posts: 2874
    • FJR-club Nederland
Re: 2 issues with TP
« Reply #4 on: April 26, 2021, 09:50:13 AM »
So you do not have the forum available now?
No way to troubleshoot this then.

Still not sure what 'entries in the settings table' you are referring to. As far as I kown Tinyportal does not make any settings in the smf_settings table, except the Hooks.

If those are the ones you deleted, then you have effectively uninstalled tinyportal (as I said: no code edits in 2.1)
So then you do not have to uninstall it anymore, but if you want to set it to uninstalled there is standard SMF tool for that: https://wiki.simplemachines.org/smf/Manually_setting_a_package_installed_or_uninstalled
Running TP2.0.1 on SMF2.0 at: www.fjr-club.nl

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

Offline arslun

  • Newbie
  • *
  • Posts: 3
Re: 2 issues with TP
« Reply #5 on: April 26, 2021, 11:51:12 AM »
I meant those Hooks added to the Settings table.
I am able to uninstall TP now. I have reinstalled it but had the same issue. Uninstalled it again. The issue is resolved.

Thanks for your help.