Support

Home Forums Event Espresso Premium Event registration timing out

Event registration timing out

Posted: March 13, 2017 at 8:42 pm

Viewing 9 reply threads


webmad

March 13, 2017 at 8:42 pm

Having huge issues with the registration process timing out. ‘Your event registration could not be applied to any valid registrations’. We have disabled wordfence, yoast SEO etc, no other caching setups on the site. php settings are as lenient as they can be (session.cache_expire=3600,session.gc_maxlifetime=3800 etc etc) but still no joy… any ideas? consistently fails after about 3-4 minutes worth of someone filling in their details, whcih is not ideal for multi-person registrations


Seth Shoultes

  • Support Staff

March 13, 2017 at 10:04 pm

Hello,

Can you please post a URL to the event page that is timing out? Also, can you try turning on WP Debug temporarily to see if any errors show? If there are errors, please post them here so we can review. Please be sure to remove any private data.


webmad

March 14, 2017 at 12:44 am

Hi Seth. http://www.24-7youthwork.org.nz/events/
if debug is on, no errors.


Tony

  • Support Staff

March 14, 2017 at 4:01 am

Do you have any plugins that clear your sites transients?

Use something like the Crontrol plugin to view the crons being ran on your site and see if any are running every 10 mins that may be clearing transients, garbage collection etc.

Also I’m assuming you have access to the server? Check within your sessions directory and view the sessions being created when you create a registration (make sure you are viewing the session that’s created for your request), then wait 10 mins and refresh the directory, has the session been removed?

It looks like something is either clearing our sessions on your server, or clearing out transients on your site.


webmad

March 14, 2017 at 4:46 am

Crontrol:

ee_message_cron 300 (5 minutes) This is the cron time interval for EE Message schedules (defaults to once every 5 minutes)
ngg_custom 900 (15 minutes) Every 900 seconds – next gen gallery voting plugin

we run the server – latest version of cpanel. will check the sessions folder now, and check back in shortly


webmad

March 14, 2017 at 5:19 am

sessions folder (/home/youthwor/tmp – so not the global /tmp dir) has over an hours worth of session files, and over the last wee while since my last message files are being added, not deleted, yet i can replicate the issue.


Josh

  • Support Staff

March 14, 2017 at 9:47 am

It looks like the NextGen gallery plugin’s wp_cron event that fires every 15 minutes is what’s clapping out the Event Espresso session transient. I’m going to check the code in NextGen Gallery and see what kind of query they’re running, it really should only be deleting its own transients and keep its hands off other WP transients.


Josh

  • Support Staff

March 14, 2017 at 10:27 am

I added the following to your site’s wp-config.php file:

define('NGG_CRON_ENABLED', FALSE);

With that above constant set to false, NextGen will no longer run cron jobs and your session transients won’t get wiped out every 15 minutes anymore.


webmad

March 14, 2017 at 12:53 pm

That seems to have made all the difference in the world – thanks heaps! From here do you guys make suggestions to the nextgen team? or is that something we should suggest they look at?


Josh

  • Support Staff

March 14, 2017 at 8:43 pm

I posted a support topic in the NextGen Gallery support forums:

https://wordpress.org/support/topic/deletes-other-plugins-transients-from-the-_options-table/

Viewing 9 reply threads

The support post ‘Event registration timing 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