Invalid Activation Key Randomness
-
Running WP 3.2.1 and BP 1.5 — I know these aren’t the lastest versions, but I’ve made enough changes to the core to accomplish my needs that updating would prove problematic. I know I know, bad bad. That said, I know first thoughts to fix any issues would be to update, but this problem has occurred for me on fresh installs as well. I’ve also scoured the forums and various other resources to help try and identify the source of this issue and have found other sites experiencing this problem, but nobody seems to have a clear picture of why this might be happening. The problem is also very elusive as it’s very hard to reproduce due to its randomness. I’ve tried deactivating plugins to no avail.
Here’s the story: A very small percentage of users who register on my site, after completing their sign-up and receiving an activation email—upon clicking on the activation link, they get the :else from activate.php that produces the following: “Please provide a valid activation key.”, even though if I look in wp-users in mysql, I can see that user_status has correctly been set from 2>0. No matter what they do, even by entering the key from the querystring in the activation email, you can’t get passed that page/else. However, and most users couldn’t know this, if they exit activate.php and, for example, return to the homepage where there are login inputs, they can successfully login in with the username and password they just activated, and from there everything is golden.
In other words, for a seemingly random and small percentage of users, activate.php isn’t working properly and they get stuck on “Please provide a valid activation key.”, even though they should never see that due to the successful activation within wp_users. I thought perhaps it might have something to do with creating the profile in one browser, and then when the end-user receives their activation email, their email application is opening a different browser and they’re getting this error, but I’m unable to verify this as the issue because I’ve also tested this and it’s very rarely and randomly reproducible.
The big what-is-going-on-here is, what could be causing a very small percentage of users to experience this while most do not? I have found reports of this happening on other sites but haven’t been able to find a solution or perhaps a reason.
Has anybody experienced this? Any solutions?
Any and all thoughts would be greatly appreciated!
Thanks so much!
- The topic ‘Invalid Activation Key Randomness’ is closed to new replies.