News:

Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.

Thanks function and Can't start new threads

Started by Mariculous, October 01, 2019, 11:52:53 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mariculous

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.

Mariculous

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:
QuoteDATABASE 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.

An_dz

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.

ACarlotti

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'.)

Isaac Eiland-Hall

I'm looking into this today. Will update with any news.

Isaac Eiland-Hall

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.

Mariculous

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.

Isaac Eiland-Hall

Like works again although it's not pretty at the moment.