Posted: July 21, 2015 at 8:10 pm
|
Hi, First, thanks for that great plugin! When I use [RECIPIENT_EDIT_REGISTRATION_LINK] in my email templates, it works until another user registers and uses the link. The link will now work for this user, and the first user will have an empty page when using the link. I activated the WP_DEBUG, but there is no error. I tried deactivating the security plugin too, but without success. Thanks, |
|
The behavior is the same when using the “edit” link in the “Thank you” page. It only works for the latest user that used it. |
Hi Marc, Are you testing this against multiple registrations on the same machine? Opening the link but not actually changing anything? If so whats happening is when you first click the link and opening the edit page your starting a session within Event Espresso. Then you close the page and open the second link, the edit page checks if there is a session in progress (which there now is from the first link) and uses that the try and pull the correct info. Does a message not appear stating there is a problem with the reg_url when the second link is clicked? If you open up the first edit link, the go to your /registration-cancelled/ page (which clears your session) then open up the edit link 2, does it then work as expected? |
|
|
Hi Tony, Thanks for the very quick answer! You’re right! I was testing against multiple registrations, clicking on the link and then closing the page without any other action. If I update the info, then other links work fine. If I use the /registration-cancelled page, everything is ok then too. The only thing is that I don’t have any error message, even with WP_DEBUG on. The output “content” is empty. As an amelioration, maybe you could look if the e_reg_url_link matches what you have in session, and if it doesn’t, start another session? Thanks a lot, |
You should see a popup that contains something like:
That should be displayed regardless of WP_DEBUG, are you hiding the EE ajax notices at all?
There are multiple discussions with the developers on how to handle the sessions currently. Multiple session management or abandoning the first session to be replaced by the second and so on with arguments for and against each 🙂 It is something we are working on, but for various reasons isn’t as simple as it first seems. Your users should not encounter this very often (if at all) but admins can as they have access to multiple registration links. For the time being you’ll need to either close or clear the session between each (using either of the methods you mentioned) |
|
|
Thanks for all! |
The support post ‘[RECIPIENT_EDIT_REGISTRATION_LINK] issue’ 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.