We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36762
    • 45 Posts
    Where would the debug error messages show up? Same effect at the log in screen.
      • 38666
      • 98 Posts
      Quote from: pixelstuff at Aug 29, 2015, 01:12 PM
      Having the same problem. Upgraded from 2.3.5. The login box shows a red "1" right above "Username". I also tried resetting the password, but that didn't work either.

      This is the 3rd site I have upgraded to 2.4, but the first time I couldn't log in. Tried wiping the whole upgraded site and re-upgrading it again, but same symptom.

      This is a more specific description of the problem I am encountering. If I get a chance I'll try again tonight.
        Give a man the answer, and he’ll only have a temporary solution. Teach him the principles that led you to that answer, and he will be able to create his own solutions in the future.
        • 38666
        • 98 Posts
        Bob I've tried your package twice now and both times I've ended up with the following message:
        Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/stbsandb/public_html/core/cache/includes/elements/modsnippet/181.include.cache.php on line 333
        any ideas?
          Give a man the answer, and he’ll only have a temporary solution. Teach him the principles that led you to that answer, and he will be able to create his own solutions in the future.
          • 3749
          • 24,544 Posts
          Quite the unusual error message. wink

          Line 333 of the Widget Snippet is this:

          if ($upgrade::timeToCheck($lastCheck, $interval)) {


          I suspect that you have a fairly old version of PHP where static methods can't be called using a variable for the class name. Try changing it to this (then deleting all files in the core/cache directory):

          if (UpgradeMODX::timeToCheck($lastCheck, $interval)) {


          BTW, what version of PHP is running on your site? [ed. note: BobRay last edited this post 11 years, 1 month ago.]
            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
            • 36704
            • 131 Posts
            Quote from: BobRay at Aug 28, 2015, 12:49 PM
            Using FTP to transfer the files individually often leads to missing or corrupted files.

            You might also want to check this out: http://modx.com/extras/package/upgrademodx.

            Hi Bob,

            Thanks so much for sharing these "upgrade modx" plugin, this is what i am waiting for a long time.
            These will make easier for all of us to upgrade the modx.

            I try to use the "upgrade modx" plugin with the latest version.
            Heres the error message upon upgrading:

            Installation Summary

            Core installation was successful. Click next to complete the installation process.
            (scroll to bottom)

            Toggle Success Messages | Toggle Warnings

            Error updating table for class transport.modTransportProvider
            Array
            (
            [0] => 42S21
            [1] => 1060
            [2] => Duplicate column name 'active'
            )

            Error updating table for class transport.modTransportProvider
            Array
            (
            [0] => 42S21
            [1] => 1060
            [2] => Duplicate column name 'priority'
            )

            Error updating table for class transport.modTransportProvider
            Array
            (
            [0] => 42S21
            [1] => 1060
            [2] => Duplicate column name 'properties'
            )

            Error updating table for class modCategory
            Array
            (
            [0] => 42S21
            [1] => 1060
            [2] => Duplicate column name 'rank'
            )

            Error updating table for class modCategory
            Array
            (
            [0] => 42000
            [1] => 1061
            [2] => Duplicate key name 'rank'
            )

            Error updating table for class modTemplateVarResourceGroup
            Array
            (
            [0] => 42000
            [1] => 1061
            [2] => Duplicate key name 'tmplvar_template'
            )

            Error updating table for class modManagerLog
            Array
            (
            [0] => 42000
            [1] => 1061
            [2] => Duplicate key name 'tmplvar_template'
            )

            Tried to finished the installation while skipping the errors, then i entered the username, passwords & captcha, the red color "1" was appear on the top of username.
            Do you have any idea how to fixed this?

            Thank you in advance
              • 3749
              • 24,544 Posts
              You probably know this, but once you reach Setup, UpgradeMODX is no longer involved. It appears that your upgrade was successful. Those "warnings" are all normal for an upgrade.

              There's a plugin that's not compatible with the new version. I installed captcha in version 2.4.0-pl and got the same thing you did whether the captcha_enabled setting was on or off, so that's almost certainly the problem.

              Go in to the modx_site_plugins table in the DB in PhpMyAdmin. Find the captcha plugin and disable it, (change the 0 to a 1 for the 'disabled' field).

              Then manually delete all files in the core/cache directory.

              That should get you in.



                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
                • 36762
                • 45 Posts
                Disabling Captcha worked for me and allowed me to log in.
                  • 38666
                  • 98 Posts
                  Quote from: BobRay at Aug 30, 2015, 01:43 AM
                  Quite the unusual error message. wink BTW, what version of PHP is running on your site?
                  No point in posting common garden variety error messages on the forum! wink I'm beginning to suspect that PHP may be the root of my problem. My web server is currently using PHP version 5.2.17, I'm in the process of having my web host migrate the site over to a server with 5.6.
                    Give a man the answer, and he’ll only have a temporary solution. Teach him the principles that led you to that answer, and he will be able to create his own solutions in the future.
                    • 3749
                    • 24,544 Posts
                    It's Hebrew, BTW, and it means (roughly) two colons -- ::

                      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
                      • 36704
                      • 131 Posts
                      Quote from: BobRay at Aug 30, 2015, 09:48 PM
                      You probably know this, but once you reach Setup, UpgradeMODX is no longer involved. It appears that your upgrade was successful. Those "warnings" are all normal for an upgrade.

                      There's a plugin that's not compatible with the new version. I installed captcha in version 2.4.0-pl and got the same thing you did whether the captcha_enabled setting was on or off, so that's almost certainly the problem.

                      Go in to the modx_site_plugins table in the DB in PhpMyAdmin. Find the captcha plugin and disable it, (change the 0 to a 1 for the 'disabled' field).

                      Then manually delete all files in the core/cache directory.

                      That should get you in.



                      Hi Bob,
                      I followed your instructions, and it works!
                      i think your right that the captcha might be not compatible with the latest version of modx.

                      Thanks so much for your help =)