Support

Home Forums Event Espresso Premium Security Error Message.

Security Error Message.

Posted: February 9, 2015 at 8:55 pm

Viewing 10 reply threads


NOBTA

February 9, 2015 at 8:55 pm

EE3 – nobta.com I duplicated an event and registration is now open for our 2nd event. Some registrars are receiving this message “Sorry there was a security error and your registration was not saved” but some aren’t. What can I do to correct this. I have some very frustrated registrars.


Garth

  • Support Staff

February 9, 2015 at 10:29 pm

Is this the duplicated event where they receive this message? http://www.nobta.com/sample-page/event-registration?ee=10

Have you noticed if they are buying some of the extras, or several extras?


NOBTA

February 10, 2015 at 8:41 am

This is a duplicated event. They are not doing anything different than when they registered for the first event which is closed now.


Tony

  • Support Staff

February 10, 2015 at 8:57 am

‘Security Errors’ like those are cause by caching.

The error message is displayed when a nonce check fails, this happens when a page is cached, it will work for X amount of hours (or days) then the nonce expires.

You’ll need to set WP-Super-Cache to exclude the Event Espresso core pages, you can find more info here:

https://eventespresso.com/wiki/setup-nocache-exclusion-rules-event-espresso/


NOBTA

February 10, 2015 at 9:01 am

I thought I had did this already. I will check it again.


Tony

  • Support Staff

February 10, 2015 at 9:04 am

If you look within the page source and then scroll to the bottom of the page you’ll find something like this – http://take.ms/ebhOb

That means that page is still caching.


NOBTA

February 10, 2015 at 9:31 am

Here are the strings. It is still caching
wp-.*\.php
index\.php
/event-registration/
/thank-you/
/registraton-cancelled/
/transactions/


Tony

  • Support Staff

February 10, 2015 at 9:34 am

Hi,

You do not have a trailing slash on your event registration page.

nobta.com/sample-page/event-registration?ee=10

You can add this string to you list above:

/event-registration

Which should then exclude those pages.


NOBTA

February 10, 2015 at 9:43 am

YEAH!!!! That worked! Just to clarify. /event-registration/ is different then /event-registation. Did I have to add /event-registration because I have two different registration pages?


Tony

  • Support Staff

February 10, 2015 at 9:51 am

The caching plugin looks for matching strings within the URL.

Each string is on is own line.

So say you have this url:

example.com/event-registration/?ee=123

The string ‘/event-registration/’ matches and any child pages should also not be cached (as that string would still be within the URL)

However that does not catch:

example.com/event-registration

As the trailing slash is missing.

It is also likely that ‘/event-registration’ would also prevent /event-registration/’ pages from caching also.


NOBTA

February 10, 2015 at 10:00 am

Thank you for this clarification.

Viewing 10 reply threads

The support post ‘Security Error Message.’ 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