<![CDATA[ Intermittent trouble with Register user activation links - My Forums]]> https://forums.modx.com/thread/?thread=75184 <![CDATA[Re: Intermittent trouble with Register user activation links]]> https://forums.modx.com/thread/75184/intermittent-trouble-with-register-user-activation-links?page=3#dis-post-547529 core/components/login using the "master" branch. There are much more fixes available (BTW the pull request 55 is closed and not need any longer).]]> gadgetto Dec 21, 2016, 08:47 AM https://forums.modx.com/thread/75184/intermittent-trouble-with-register-user-activation-links?page=3#dis-post-547529 <![CDATA[Re: Intermittent trouble with Register user activation links]]> https://forums.modx.com/thread/75184/intermittent-trouble-with-register-user-activation-links?page=3#dis-post-547526 https://github.com/modxcms/Login/pull/55/files]]> wintertribe Dec 21, 2016, 07:37 AM https://forums.modx.com/thread/75184/intermittent-trouble-with-register-user-activation-links?page=3#dis-post-547526 <![CDATA[Re: Intermittent trouble with Register user activation links]]> https://forums.modx.com/thread/75184/intermittent-trouble-with-register-user-activation-links?page=3#dis-post-547525 Quote from: wintertribe at Dec 21, 2016, 07:08 AM
Hi,

I still have same issue. I get complains from (some) users the activation link doesn't work. Link directs to page not found. I presume all issues mentioned above are fixed in Login version 1.9.2? I've also gone through all possible reasons mentioned in this thread?

It seems the Login package is currently not maintained. There are many commits which fixes problems but somebody needs to build a new version an push it to the MODX extras provider.]]>
gadgetto Dec 21, 2016, 07:21 AM https://forums.modx.com/thread/75184/intermittent-trouble-with-register-user-activation-links?page=3#dis-post-547525
<![CDATA[Re: Intermittent trouble with Register user activation links]]> https://forums.modx.com/thread/75184/intermittent-trouble-with-register-user-activation-links?page=3#dis-post-547524
I still have same issue. I get complains from (some) users the activation link doesn't work. Link directs to page not found. I presume all issues mentioned above are fixed in Login version 1.9.2? I've also gone through all possible reasons mentioned in this thread?]]>
wintertribe Dec 21, 2016, 07:08 AM https://forums.modx.com/thread/75184/intermittent-trouble-with-register-user-activation-links?page=3#dis-post-547524
<![CDATA[Re: Intermittent trouble with Register user activation links]]> https://forums.modx.com/thread/75184/intermittent-trouble-with-register-user-activation-links?page=2#dis-post-535523 Quote from: polrbear at Dec 07, 2015, 03:56 PM
Thanks for posting, @burningshade. I will check it out when I have time. I haven't had complaints about this issue in awhile, but I am not positive that it has been fixed.

It has been fixed! PR is online and needs to be accepted!
https://github.com/modxcms/Login/pull/55]]>
gadgetto Dec 07, 2015, 10:42 AM https://forums.modx.com/thread/75184/intermittent-trouble-with-register-user-activation-links?page=2#dis-post-535523
<![CDATA[Re: Intermittent trouble with Register user activation links]]> https://forums.modx.com/thread/75184/intermittent-trouble-with-register-user-activation-links?page=2#dis-post-535519 polrbear Dec 07, 2015, 09:56 AM https://forums.modx.com/thread/75184/intermittent-trouble-with-register-user-activation-links?page=2#dis-post-535519 <![CDATA[Re: Intermittent trouble with Register user activation links]]> https://forums.modx.com/thread/75184/intermittent-trouble-with-register-user-activation-links?page=2#dis-post-535383 Quote from: gadgetto at Jan 28, 2013, 06:30 AM

The first time I don't know what to do with a MODx problem... And it's a nasty problem as it costs us users...

This is archaic, I know, but if you are still having this issue you may benefit from a look at this thread:

http://forums.modx.com/thread/98995/login-user-activation-woes?answer=535285

I had similar issues, and that solution worked wonderfully.]]>
burningshade Dec 04, 2015, 01:50 PM https://forums.modx.com/thread/75184/intermittent-trouble-with-register-user-activation-links?page=2#dis-post-535383
<![CDATA[Re: Intermittent trouble with Register user activation links]]> https://forums.modx.com/thread/75184/intermittent-trouble-with-register-user-activation-links?page=2#dis-post-452323 Quote from: BobRay at Jan 27, 2013, 11:47 PM
That message comes from the makeUrl() method of the modContext class.

It only searches the $aliasMap array, not the database (though it should probably search the DB as a backup) and throws that error if the search fails.

The error could happen if some add-on creates a new resource and tries to forward the user to it with out refreshing the $aliasMap.

I don't think it's related to the problem, but I could be wrong -- it *would* result in the user being forwarded to the error page, but the registration should always forward the user to the same page.

Are you sure that the user is not being marked as active in all these cases?
Do you know what happens if the user tries to follow the same link again?

I'm using ConfirmRegister on Bob's Guides and have had no complaints, though that doesn't mean it's always working.

Hi Bob,

the users aren't marked as active - they contacting us and I always have to activate them manually in that case.
The problem is, I can't find a pattern why it does and why it doesn't work. The chosen user-names don't consist of numbers only nor are they special in any form.

Clicking the activation link again leads to 404 page every time.

The first time I don't know what to do with a MODx problem... And it's a nasty problem as it costs us users...]]>
gadgetto Jan 28, 2013, 12:30 AM https://forums.modx.com/thread/75184/intermittent-trouble-with-register-user-activation-links?page=2#dis-post-452323
<![CDATA[Re: Intermittent trouble with Register user activation links]]> https://forums.modx.com/thread/75184/intermittent-trouble-with-register-user-activation-links?page=2#dis-post-452289
It only searches the $aliasMap array, not the database (though it should probably search the DB as a backup) and throws that error if the search fails.

The error could happen if some add-on creates a new resource and tries to forward the user to it with out refreshing the $aliasMap.

I don't think it's related to the problem, but I could be wrong -- it *would* result in the user being forwarded to the error page, but the registration should always forward the user to the same page.

Are you sure that the user is not being marked as active in all these cases?
Do you know what happens if the user tries to follow the same link again?

I'm using ConfirmRegister on Bob's Guides and have had no complaints, though that doesn't mean it's always working.]]>
BobRay Jan 27, 2013, 05:47 PM https://forums.modx.com/thread/75184/intermittent-trouble-with-register-user-activation-links?page=2#dis-post-452289
<![CDATA[Re: Intermittent trouble with Register user activation links]]> https://forums.modx.com/thread/75184/intermittent-trouble-with-register-user-activation-links?page=2#dis-post-452227 About 1 of 20 registration activations don't work. The user is redirected to 404 - not found page.

I checked the time the users waited to click the activation link but most of them only waited about 2-3 minutes.

I simply cant figure out whats wrong.

The MODx error log doesn't show explicit messages corresponding to the login/activation problem.
It's only full of messages like this:

[2013-01-27 12:06:02] (WARN @ /index.php) `2025` was requested but no alias was located.
[2013-01-27 12:06:02] (WARN @ /index.php) `3062` was requested but no alias was located.
[2013-01-27 12:08:08] (WARN @ /index.php) `268` was requested but no alias was located.
[2013-01-27 12:08:08] (WARN @ /index.php) `269` was requested but no alias was located.
[2013-01-27 12:08:09] (WARN @ /index.php) `270` was requested but no alias was located.
[2013-01-27 12:08:09] (WARN @ /index.php) `271` was requested but no alias was located.
[2013-01-27 12:13:51] (WARN @ /index.php) `268` was requested but no alias was located.
[2013-01-27 12:13:51] (WARN @ /index.php) `269` was requested but no alias was located.
[2013-01-27 12:13:51] (WARN @ /index.php) `270` was requested but no alias was located.
[2013-01-27 12:13:51] (WARN @ /index.php) `271` was requested but no alias was located.

I checked those resources but they can be reached without any problem.

]]>
gadgetto Jan 27, 2013, 05:35 AM https://forums.modx.com/thread/75184/intermittent-trouble-with-register-user-activation-links?page=2#dis-post-452227