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?

October 29, 2020, 06:57:13 PM

Login with username, password and session length
Members
  • Total Members: 3795
  • Latest: PoML
Stats
  • Total Posts: 191360
  • Total Topics: 20907
  • Online Today: 599
  • Online Ever: 1000
  • (October 07, 2020, 04:15:10 PM)
Users Online
Users: 0
Guests: 67
Total: 67

Author Topic: TP TinyPortal 2.0.0 RC1 / SMF 2.0.17- Database Error  (Read 2049 times)

0 Members and 1 Guest are viewing this topic.

Offline tino

  • Developer
  • *
  • Posts: 2090
Re: TP TinyPortal 2.0.0 RC1 / SMF 2.0.17- Database Error
« Reply #20 on: October 02, 2020, 04:01:09 AM »
It seems somehow all the hooks had been removed. So when we fixed TinyPortal the other modifications were also breaking the forum.

Unfortunately unlike TinyPortal they didn’t show the error on the screen so just had a white page loaded and a 500 error.

I just reapplied those hooks and it appears to be working ok.

Offline @rjen

  • Support Team
  • *
  • Posts: 2607
    • FJR-club Nederland
Re: TP TinyPortal 2.0.0 RC1 / SMF 2.0.17- Database Error
« Reply #21 on: October 02, 2020, 04:51:19 AM »
Any idea if TP somehow caused it to break?
Running TP2.0.0 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 tino

  • Developer
  • *
  • Posts: 2090
Re: TP TinyPortal 2.0.0 RC1 / SMF 2.0.17- Database Error
« Reply #22 on: October 02, 2020, 05:03:09 AM »
Any idea if TP somehow caused it to break?

I don't think so, Gavin will be able to give us more of an idea. But I think either repair_settings.php or upgrade.php was run.

Offline Gavin Chatt

  • Jr. Member
  • **
  • Posts: 10
Re: TP TinyPortal 2.0.0 RC1 / SMF 2.0.17- Database Error
« Reply #23 on: October 02, 2020, 05:47:57 AM »
Hi All,

Firstly I just need to say a huge thank you to Tino and this support site. I really do appreciate all you guys do and what you’ve done Tino.

To confirm, yes I used repair_settings.php twice now, this first time was after I moved the board from the directory /forum after doing some testing and addition of data to the root directory, the second time was when trying to repair the board myself after the

Database error, given array of integer values is empty. (cat)

So in order of trying to fix since the above error and going by memory

Tried the do_hooks option.
Tried the Integration.php to OldIntegration.php change
Return the above filename to Integration.php
Web Site returned Call to undefined function TPortalHookLoadTheme()
Tried repair_settings.php and selected the hook option here.
Had no access to the website url at all
Checked for an inserted the suggested line to the database

I think that’s how it all went.

A long time back I made a donation to this group and would like to see if this option is still available. I have always found the support is fantastic here.

Offline tino

  • Developer
  • *
  • Posts: 2090
Re: TP TinyPortal 2.0.0 RC1 / SMF 2.0.17- Database Error
« Reply #24 on: October 04, 2020, 02:46:51 AM »
Thanks for your feedback and kind comments.

With regards to a donation that’s a conversation with lurkalot who runs and maintains this site.