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

XF 1.4 Registration problem. "The field 'xxxxxxxx' was not recognised."

Discussion in 'Troubleshooting and Problems' started by RoldanLT, Dec 16, 2014.

  1. RoldanLT

    RoldanLT Well-Known Member

    Registration Page error:
    reg.PNG


    Page Source:
    source.PNG

    Why is that?
    Already tried most of the things that might be related but still I can't find the reason :(
    Happens maybe once in every 5 first load of Registration page.
    Sometimes page works fine.
     
  2. RoldanLT

    RoldanLT Well-Known Member

    Maybe related to this:
     
  3. Brogan

    Brogan XenForo Moderator Staff Member

    It's more likely related to an add-on.

    Did you ever test with all add-ons disabled and in a completely unedited default style, as I suggested in the ticket?

    The current thinking is it could be related to [bd] Cache.
     
    RoldanLT likes this.
  4. RoldanLT

    RoldanLT Well-Known Member

    I already disabled BD Cache.
    The only thing I still didn't tried is disable all addon.
    For my forum size, hard enough to easily setup a test site.
    But I will if my time allow :(
     
  5. Brogan

    Brogan XenForo Moderator Staff Member

    The first step of troubleshooting is always to test in a default style with all add-ons disabled.

    It saves time and effort in trying to track down issues related to add-ons, which we are obviously not familiar with.
     
  6. Mike

    Mike XenForo Developer Staff Member

    You also need to disable anything on the server level which is doing caching as well. This issue is down to the registration form being served from a cache.
     
    RoldanLT likes this.
  7. RoldanLT

    RoldanLT Well-Known Member

    I'm 80% SURE this is related to fastcgi_cache :(
    I just disabled fastcgi_cache of Nginx on the forum and no problem on registration page anymore.
     
    Last edited: Dec 16, 2014
  8. HWS

    HWS Well-Known Member

    You need to exempt the registration form from the cache. Then your cache will work without problems.
     
  9. RoldanLT

    RoldanLT Well-Known Member

    Yes I already did that like this:
    Code:
    set $no_cache 0;
    # Don't cache uris containing the following segments
    if ($request_uri ~* "(/register|/login)") {
    set $no_cache 1;
    }
    
    But then I think those ajax validation (username and email form) still being cached.
     
  10. RoldanLT

    RoldanLT Well-Known Member

    Just an update, even if fastcgi_cache already disabled.
    Still I received some emails complaining that they can't register with the same error.
    But I can't even replicate it myself :(
    So not a problem with fastcgi_cache.

    Maybe related to memcached? or zend opcache :(
    That's the only caching playing on registration page.
     
  11. rafass

    rafass Well-Known Member

    I tried and works fine:
    [​IMG]
     
  12. RoldanLT

    RoldanLT Well-Known Member

    Yeah it works fine most of the time.
    I have an average of 400-500 user's registered per day but only a few encounter it.
    Maybe 3-5 people a day report this issue.
     
  13. RoldanLT

    RoldanLT Well-Known Member

    I track it down.
    It's related on Memcached Caching, sometimes memcached connection fail that error happens.
     
  14. Mike

    Mike XenForo Developer Staff Member

    That's not particularly surprising then. If you're putting sessions in Memcache and the connection fails, the session can't be loaded so all sorts of unexpected things can happen.
     
    RoldanLT likes this.

Share This Page