• Hi!

    I have a site where the participants database is used to enter club information. The form is set so it posts back to itself. The issue I’m having is that around 50% of time, when a club is submitted, a 404 page not found message is shown instead of the success message and no information is saved. The rest of the page loads fine, it’s just the part where the success message should appear. I’ve tried to replicate it with the same valid data (then going into the back end and deleting it) and it’s literally a 50/50 chance the club will be saved. The only replicable issue I’ve found is that an invalid form will always 404.

    Ann thoughts on what the issue could be?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Roland Barker

    (@xnau)

    Can you share a link to your form? I might see something that could explain it.

    The most common reason for behavior like this is a security setting, either a plugin or something on the web server that is blocking the submission because it contains something in the submitted data that triggers a security rule.

    Thread Starter coopphp

    (@coopphp)

    Thanks for your quick response.

    The form is here: http://sportacrossstaffordshire.co.uk/clubs/register-your-club/

    Plugin Author Roland Barker

    (@xnau)

    I see… that does look like a security rule of some kind. Are you using a security plugin? If so, try disabling it temporarily to see if the form submits correctly. You don’t have to fill it out, it gets the 404 even if empty.

    If there is no security plugin, you may need to contact your web host about this.

    Thread Starter coopphp

    (@coopphp)

    I’ve managed to replicate the bug. If I disable the multi-selects at the bottom the plugin works as expected. So it registers every time and shows errors on submitting invalid data.

    So something in the following values is breaking your multi-select field:

    Aikido, Aikido & Budo, Angling, Archery, Athletics, Badminton, Baseball/Softball, Basketball, Boccia, Bowls, Boxing, Canoeing and Kayaking, Climbing, Cricket, Cue Sports, Cycling, Darts, Exercise, Movement & Dance, Equestrian and Horseriding, Fencing, Flying, Football, Girls Rugby, Goalball, Golf, Gymnastics & Trampolining, Handball, Hockey, Ice Sports, Judo, Kickboxing, Korfball, Lacrosse, Martial Arts, Modern Pentathlon, Mountaineering, Multi Sport, Netball, New Age Kurling, Orienteering, Rounders, Rowing, Rugby League, Rugby Union, Sailing & Windsurfing, Scuba Diving, Sensory, Shooting, Snowsport, Soft Play, Squash & Racketball, Street Cheer, Sub Aqua, Swimming, Table Tennis, Taekwondo, Tennis, Triathlon, Volleyball, Water Skiing and Wakeboarding, Weightlifting, Wheelchair Basketball, Wheelchair Rugby, Wrestling, Youth Club

    I’m glad I managed to get to the bottom of this!

    Plugin Author Roland Barker

    (@xnau)

    Values like that don’t break the multiselect checkbox field, I just checked it using your values. I still think it’s a security rule because of the 404. That is a common way security rules handle prohibited data in the post array. Why removing the field causes the form to submit properly, I don’t know, but there is nothing wrong with setting up a field like that.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Unreplicatable 404 when posting to same page’ is closed to new replies.