Posted: 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. |
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? |
|
|
This is a duplicated event. They are not doing anything different than when they registered for the first event which is closed now. |
‘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/ |
|
|
I thought I had did this already. I will check it again. |
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. |
|
|
Here are the strings. It is still caching |
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:
Which should then exclude those pages. |
|
|
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? |
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. |
|
|
Thank you for this clarification. |
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.