ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

"The submitted form has expired"

July 04, 2012 6:15am

Subscribe [5]
  • #1 / Jul 04, 2012 6:15am

    Ian Ebden

    312 posts

    Never come across this before. I have a Freeform which, if you don’t complete quickly enough, you get the following system message/error:

    The form you submitted contained the following errors

    The submitted form has expired. Please go back, reload the form, and submit again.

    I’m guessing this is an EE rather than Freeform issue? Also, I don’t see anywhere in the CP to control form expiration? Didn’t even know that was an issue.

    This is a live site BTW, so any help very much appreciated!

  • #2 / Jul 04, 2012 6:19am

    Carl W Crawley

    136 posts

    Hi Ian,

    It could probably be a security HASH issue with secure forms. Go into your CP, I think in TOOLS > SECURITY and remove the option to send forms securely and that should resolve the issue.

    Regards,

    C.

  • #3 / Jul 04, 2012 6:28am

    Does the template have any sort caching enabled?

  • #4 / Jul 04, 2012 6:32am

    Ian Ebden

    312 posts

    Hi Chris. No template caching, but form does have a dropdown for users to choose from channel of courses which has tag cacheing. That matter?

    <select id="course_book" name="course_book">
     <option value="">Please choose…</option>
     {exp:channel:entries
      cache="yes"
      channel="courses"
      disable="{gv_disable_all}"
      orderby="title"
      refresh="60"
      sort="asc"
     }
     <option{if last_segment==url_title} selected="selected"{/if}>{title}</option>
     {/exp:channel:entries}
    </select>
  • #5 / Jul 04, 2012 6:34am

    Ian Ebden

    312 posts

    Oh wait, scratch that – there was template cacheing. Turned off and seems fixed. Chris, your flu-addled brain is still firing on all cylinders mate thanks!

  • #6 / Jul 04, 2012 6:37am

    Andrew Weaver

    206 posts

    I’ve tried a quick search of my EE installation and cannot find that error message anywhere (including FreeForm).

    Could it be in a 3rd party add-on?

    Andrew

  • #7 / Jul 04, 2012 6:39am

    Shouldn’t do.

    I agree with Carl that it is most likely to be a security hash issue. If you are up for getting your hands dirty you can try:

    1 - View the source code for the form and find the ‘XID” hidden input (its inside a div with a class “hiddenFields”
    2 - Go the the EE database, open the exp_security_hashes table and find the entry with the security hash for the form you just identified.
    3 - There will be a date value (should be a timestamp, which you’ll need to convert) for the entry. 
    4 - Verify that the date is correct and not an hour out due to daylight savings settings.

  • #8 / Jul 04, 2012 6:40am

    Ah ok, glad it is sorted

  • #9 / Jul 05, 2012 10:50am

    Shane Eckert

    7174 posts

    Hi Ian,

    I am glad it working now. Nice responses from the community!

    If you need anything else, please just let me know by opening a new thread.

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases