This topic contains 3 replies, has 3 voices. Last updated by Jason (Lead Developer) 4 years, 10 months ago.
Topic Author | Topic |
---|---|
Posted: Friday Feb 17th, 2012 at 11:54 am #5498 | |
I implemented free registrations for levels 1 and 2 of my site using the code below.
But I find I can only register once. That is when I visit the site (even for a separate computer) and try to use the free registration link I get the “Link Expired:Please contact Support if you need assistance.” message. However, I found it’s not related to the tinurl or goo.gl. I search the code and found the message is being generated from the register-in.inc.php file and is detected by the conditional on line 61
Furthermore I found there is a piece of metadata that seems to be involved. Specifically after the first free registration, the metavalue wp_s2member_subscr_id is created with a value of ‘-‘. If I delete this meta value then I can register again, but as long at it is there, then I can’t. The meta value is associated with user id 45 which is the id of the prior user that registered free. I guess this value is stored in a cookie somewhere and that may be the related of the problem. Then again even if I go to a different computer where there should be no cookies, it still happens. Here is the URL causing the problem.
Thanks, |