Basic registration form: spam flagged registrations stall without redirection /entry/registerthanks

edited December 2020 in Vanilla 3.x Help

Hello!

I was hoping someone could help me debug this issue: I've recently switched from approval to basic registration, and I'm noticing that registrations flagged as spam are stalling at the signup page, without a redirection to /entry/registerthanks. Clicking the "Sign Up" button just shows the activity indicator, and nothing else happens. The dev console shows the request to /entry/register with a 200 OK response, but a content-type of text/html rather than the expected application/json, and no response body is shown in the inspector.

Adding some error_log lines to /dashboard/controllers/class.entrycontroller.log I can see that it gets through the $authUserID == UserModel::REDIRECT_APPROVE test on line 1580 and then into the _setRedirect function on line 935, into the $this->_RealDeliveryType != DELIVERY_TYPE_ALL test and then to the $this->deliveryMethod(DELIVERY_METHOD_JSON); and $this->setHeader('Content-Type', 'application/json; charset=utf-8'); lines... but given the response type is text/html, I guess something is going awry.

Nothing is reported in the web server's error log.

When a registration is not flagged as spam, it redirects to the front page without issue.

I really have no ideas where to look next for a solution, especially given the dev console is doing its typical "This request has no response data available" shenanigans, so.. any hints?

Vanilla 3.3.

Many thanks.


Group.jpg


Comments

  • FYI these are the headers from a registration not flagged as spam. Again, there's no response data available in the console.


    Screen Shot 2020-12-18 at 12.52.28.jpg


  • Which plugins are enabled?

  • Quite a few, I have 21, including Akismet, Recaptcha and a couple of my own spam filtering plugins.

  • Do any of them do something on registration?

  • No, not as far as I know. It's funny, cos the code path seems to get right to the redirection - it's just that it doesn't seem to work. Anyway, it's not a massive deal, I don't mind spammers encountering errors 😆

    Thanks for the replies!

Sign In or Register to comment.