We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3749
    • 24,544 Posts
    The confirm register page should never be protected, so the issue would be with the redirectTo page.
    .
      Did I help you? Buy me a beer
      Get my Book: MODX:The Official Guide
      MODX info for everyone: http://bobsguides.com/modx.html
      My MODX Extras
      Bob's Guides is now hosted at A2 MODX Hosting
      • 37059
      • 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
        • 3749
        • 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
          Did I help you? Buy me a beer
          Get my Book: MODX:The Official Guide
          MODX info for everyone: http://bobsguides.com/modx.html
          My MODX Extras
          Bob's Guides is now hosted at A2 MODX Hosting
          • 37059
          • 368 Posts
          Sorry I kinda let this thread go - I hate to leave people hanging when they're trying to help me wink

          It may be "fixed" after all (if indeed we addressed the real problem). I have not gotten any more reports of page-not-found on the activation link, and the percentage of users registering and failing to activate has gone way down. So I think I'm going to let it coast until a more definite problem crops up again.
            Jason
            • 10378
            • 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.

              Freelancer @bitego http://www.bitego.com
              ---
              GoodNews - one of the most advanced and integrated Group Mailer premium add-ons for MODX Revolution!
              More infos here: http://www.bitego.com/extras/goodnews/
              • 3749
              • 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.
                Did I help you? Buy me a beer
                Get my Book: MODX:The Official Guide
                MODX info for everyone: http://bobsguides.com/modx.html
                My MODX Extras
                Bob's Guides is now hosted at A2 MODX Hosting
                • 10378
                • 375 Posts
                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...
                  Freelancer @bitego http://www.bitego.com
                  ---
                  GoodNews - one of the most advanced and integrated Group Mailer premium add-ons for MODX Revolution!
                  More infos here: http://www.bitego.com/extras/goodnews/
                  • 51472
                  • 4 Posts
                  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.
                    • 37059
                    • 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
                      • 10378
                      • 375 Posts
                      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
                        Freelancer @bitego http://www.bitego.com
                        ---
                        GoodNews - one of the most advanced and integrated Group Mailer premium add-ons for MODX Revolution!
                        More infos here: http://www.bitego.com/extras/goodnews/