-
- 24,544 Posts
The confirm register page should never be protected, so the issue would be with the redirectTo page.
.
-
- 368 Posts
The redirected page is protected, yes. You have to be in a certain group to view it.
The thing is, I checked the latest complaining user's account, and it had not been activated. That would seem to me to indicate the problem is with the original ConfirmRegister page, and redirection is never taking place.
Jason
-
- 24,544 Posts
That sounds right. but it might be worth trying the Login fix just in case. Do you have the latest version of the Login package?
------------------------------------------------------------------------------------------
PLEASE, PLEASE specify the version of MODX you are using.
MODX info for everyone:
http://bobsguides.com/modx.html
-
- 375 Posts
I have the same problem (using Login 1.8.1-pl)!
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.
-
- 24,544 Posts
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.
-
- 375 Posts
Quote from: BobRay at Jan 27, 2013, 11:47 PMThat 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...
-
- 368 Posts
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.
Jason
-
- 375 Posts
Quote from: polrbear at Dec 07, 2015, 03:56 PMThanks 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