Support

Home Forums Event Espresso Premium Registration page times out

Registration page times out

Posted: February 6, 2018 at 11:03 am

Viewing 7 reply threads


esemawu1

February 6, 2018 at 11:03 am

Hi there,

I have received complains of the registration page timing out on users.
This happen when the user was trying to registration 8 people at a time.

They got a the message below.

“Your form data could not be applied to any valid registrations. This can sometimes happen if too much time has been taken to complete the registration. Please return to the event list and reselect your tickets. If the problem continues, please contact the site administrator”

Please help!
Thanks,
Emmanuel


Josh

  • Support Staff

February 6, 2018 at 11:46 am

Hi Emmanuel,

I checked your site and I can see that it has a fairly lengthy form. It will help to give the registrant more time to fill out the registration forms.

You can extend the amount of time they have to fill out the registration form by adding a bit of PHP code to your website.

add_filter( 
'FHEE__EE_Session__construct___lifespan', 
'ee_change_reg_time_limit' 
);
function ee_change_reg_time_limit() {
 return 2 * HOUR_IN_SECONDS;
}

You can add the above to a functions plugin or into your WordPress theme’s functions.php file.

You can also display a countdown timer so they’ll know exactly how much time they’ll have left before the session expires:

add_filter( 
  'FHEE__registration_page_wrapper_template__display_time_limit', 
  '__return_true'
);


esemawu1

February 6, 2018 at 11:51 am

This is equivalent to setting (session.gc_maxlifetime) in php.ini?


Josh

  • Support Staff

February 6, 2018 at 12:04 pm

No.


esemawu1

February 6, 2018 at 12:06 pm

The code you sent me limits the session to 2 hours?


Josh

  • Support Staff

February 6, 2018 at 12:12 pm

It actually raises the limit from 1 hour to be 2 hours. If you want to bump that limit higher by all means please feel free to do so.


esemawu1

February 6, 2018 at 12:27 pm

The countdown timer is showing 1 hour, NOT 2 hours. What do I do?


Josh

  • Support Staff

February 6, 2018 at 1:11 pm

It will add one more hour after the first hour is up.

Viewing 7 reply threads

The support post ‘Registration page times out’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso