1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 Using Google's Recaptcha Breaks Registration Page

Discussion in 'XenForo Questions and Support' started by Ambitious Plank, Sep 6, 2016.

  1. Ambitious Plank

    Ambitious Plank New Member

    I am trying to use Google's Recaptcha on my forum because we get a hell of a lot of spamming bots. The trouble is that when I tell the forum to use it, it breaks the signup page.

    Basically you can access the signup form, fill it in and then complete the recaptcha, but when you hit submit it I get a "Can't reach this page" message in the browser and if I refresh I get the forum come up with this message "This action is available via POST only. Please press the back button and try again."

    Anyone have any idea what might be causing this issue?

  2. Brogan

    Brogan XenForo Moderator Staff Member

    You have a fairly customised site.

    Does it also happen with add-ons disabled and in a completely default style with all custom JS removed?
  3. Ambitious Plank

    Ambitious Plank New Member

    No, using the default style doesn't help the situation :/
  4. Chris D

    Chris D XenForo Developer Staff Member

    I just tried to register and it seems like the connection is being reset as Chrome gives an ERR_CONNECTION_RESET error.

    That error will be happening before XF is invoked for that particular request. For example, it could be that PHP is crashing.

    Unfortunately, this is going to be difficult to debug with the software itself, so you will need to be looking into the error logs for PHP, MySQL and the web server. Your host might be better placed to help you with this.
  5. Ambitious Plank

    Ambitious Plank New Member

    Unfortunately I am hosting this myself so there is no host provider to assist. I've taken a look from the Logs (PHP, MySQL, Apache) and, whilst I'm not expert, I can't see anything in them that is related to the problem my forum is experiencing.

    Any suggestions would be most welcome!

    Thank you for your help!
  6. Mike

    Mike XenForo Developer Staff Member

    Based on what Chris noticed, that is likely a PHP crash. What PHP version are you running? In PHP, are you running any opcode caches (such as APC), any debugging extensions (such as Xdebug) or any optimizer extensions?

Share This Page