The International Simutrans Forum

 

Author Topic: Thanks function and Can't start new threads  (Read 467 times)

0 Members and 1 Guest are viewing this topic.

Offline Freahk

  • *
  • Posts: 178
  • Languages: DE, EN
Thanks function and Can't start new threads
« on: October 01, 2019, 11:52:53 AM »
Hey there,
it seems that I can't use the thanks function anymore.
Whenever clicking on the heart button, nothing will happen no matter if I use firefox or chrome on my PC or my notebook.
« Last Edit: October 05, 2019, 02:24:10 PM by Freahk »

Offline Freahk

  • *
  • Posts: 178
  • Languages: DE, EN
Can't create new Threads
« Reply #1 on: October 05, 2019, 02:20:59 PM »
Well, this is the wrong thread, sorry about that.

I just wanted to report that currently, it seems that I can't create new threads.
I just get an error:
Quote
DATABASE ERROR
Please try again. If you come back to this error screen, report the error to an administrator.

Due to this, I obviously could not create an own thread for this and instead abused the reply to another Thread for this.

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2908
  • D'oh
    • by An_dz
  • Languages: pt, en, it, (de)
Re: Thanks function and Can't start new threads
« Reply #2 on: October 06, 2019, 02:35:20 PM »
There's some bug with IPv6 addresses. I'm guessing there's something to do with the database, but I have no idea what's going on.

Offline ACarlotti

  • *
  • Posts: 483
Re: Thanks function and Can't start new threads
« Reply #3 on: October 06, 2019, 03:23:11 PM »
It looks to me like there is some very restrictive rate limiting - after a successful page load, I then get a database error for every attempted page load for at least a couple of minutes thereafter.
(Now to wait a few minutes before clicking 'post'.)

Offline Isaac.Eiland-Hall us

  • Benevolent Dictator
  • Administrator
  • *
  • Posts: 3659
  • PanamaCityPC.com/support/
    • Facebook Profile
  • Languages: EN
Re: Thanks function and Can't start new threads
« Reply #4 on: October 08, 2019, 02:14:26 PM »
I'm looking into this today. Will update with any news.

Offline Isaac.Eiland-Hall us

  • Benevolent Dictator
  • Administrator
  • *
  • Posts: 3659
  • PanamaCityPC.com/support/
    • Facebook Profile
  • Languages: EN
Re: Thanks function and Can't start new threads
« Reply #5 on: October 08, 2019, 02:35:08 PM »
Don't know why the "spam" field existed, but dropping it resolved topic creation.



https://i.imgur.com/awYbg5v.png

I've also increased the resources for the forum to see if that helps.

No clue on the thanks. No php errors, so will have to try and dig into it. It may be a bit. :|

Hopefully this gets the forum back to a more usable state, though.

Offline Freahk

  • *
  • Posts: 178
  • Languages: DE, EN
Re: Thanks function and Can't start new threads
« Reply #6 on: October 08, 2019, 03:12:25 PM »
I just inspected this in the frontend:
When I click the button, an XHR is started and replied with code 200 OK
It seems a whole page is returned including <head> and page header and footer menu bars.
I wouldn't expect this from an XHR but maybe it was implemented that way.

However, the body contains the following suspicious lines:
Quote
   <div id="fatal_error">
      <div class="cat_bar">
         <h3 class="catbg">
            An Error Has Occurred!
         </h3>
      </div>
      <div class="windowbg">
         <span class="topslice"><span></span></span>
         <div class="padding">Function name must be a string</div>
         <span class="botslice"><span></span></span>
      </div>
   </div>
Maybe searchcing for that "Function name must be a string" string helps.