We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17301
    • 932 Posts
    Hey,

    Bit of a silly one but I've somehow managed to lock myself out of the manager when editing ACL's. All other users can log into the manager fine but when the admin user tries to log in I'm getting a 500 internal server error. Oddly I wasn't touching anything in the ACLs related to the admin policy, usergroup or anything else. I was however trying to update a dashboard button but one of them kept returning an error so I removed the button all together just before I got locked out.

    Any ideas on how I can recover?

    Thanks,

    This question has been answered by lkfranklin. See the first response.

      ■ email: [email protected] | ■ website: https://alienbuild.uk

      The greatest compliment you can give back to us, is to spend a few seconds leaving a rating at our trustpilot: https://uk.trustpilot.com/review/alienbuild.uk about the service we provided. We always drop mention of services offered by businesses we've worked with in the past to those of interest.
      • 38783
      • 571 Posts
      Anything in the servers php error logs?

      Is it worth clearing the cache?
        If I help you out on these forums I would be very grateful if you would consider rating me on Trustpilot: https://uk.trustpilot.com/review/andytough.com

        email: [email protected] | website: https://andytough.com
        • 17301
        • 932 Posts
        Thanks for the reply, Andy.

        All others accounts to the manager are pretty locked down and I'm currently at a clients office using a restricted proxy so I can't access cpanel or ftp BUT I did manage to clear the cache using a direct url but it didn't work unfortunately.

        However although I'm getting a 500 error when logging in I am still logged in and I can access other pages in the manager - also the error log. It certainly looks like an issue with quick start buttons.

        [2018-01-12 15:48:16] (ERROR @ /home/*****/*****/*****/core/components/quickstartbuttons/model/quickstartbuttons/dashboardwidget.class.php : 47) Recoverable error: Argument 1 passed to QuickstartButtonsDashboardWidget::getDashboardButtons() must be an instance of qsbSet, null given, called in /home/*****/*****/*****/core/components/quickstartbuttons/model/quickstartbuttons/dashboardwidget.class.php on line 36 and defined


        Quick start is loading fine for other users when logging in
          ■ email: [email protected] | ■ website: https://alienbuild.uk

          The greatest compliment you can give back to us, is to spend a few seconds leaving a rating at our trustpilot: https://uk.trustpilot.com/review/alienbuild.uk about the service we provided. We always drop mention of services offered by businesses we've worked with in the past to those of interest.
          • 17301
          • 932 Posts
          I was a little premature flagging an answer that reinstalling quick start buttons solves the issue. It does...but it returns shortly after.
            ■ email: [email protected] | ■ website: https://alienbuild.uk

            The greatest compliment you can give back to us, is to spend a few seconds leaving a rating at our trustpilot: https://uk.trustpilot.com/review/alienbuild.uk about the service we provided. We always drop mention of services offered by businesses we've worked with in the past to those of interest.
            • 38783
            • 571 Posts
            Am I right in thinking you are the only admin user and as such the only person who sees this particular button?

            I think you said you could access manager pages other than the dashboard?

            If so are you able to create another admin user via:

            domain.com/manager/?a=security/user
              If I help you out on these forums I would be very grateful if you would consider rating me on Trustpilot: https://uk.trustpilot.com/review/andytough.com

              email: [email protected] | website: https://andytough.com
              • 17301
              • 932 Posts
              That's the thing there are only two sets of buttons which are appointed to two different user groups the admin doesn't have any specific buttons attached. I just tried creating a new admin user though and its the same issue for that user. I've also just removed all sets of buttons and the issue still occurs. I also cleared the cahce via the file manager and manager menu to no avail. Seems like maybe there's a phantom database entry for the one set of button that wasn't letting me update it?
                ■ email: [email protected] | ■ website: https://alienbuild.uk

                The greatest compliment you can give back to us, is to spend a few seconds leaving a rating at our trustpilot: https://uk.trustpilot.com/review/alienbuild.uk about the service we provided. We always drop mention of services offered by businesses we've worked with in the past to those of interest.
              • discuss.answer
                • 17301
                • 932 Posts
                Ok looks like I've sorted it.

                It seems that there HAS to be a default set of buttons that is view able by everyone. What I was doing was creating a set of buttons and assigning them to a user group which meant that the admin had no visibility of any buttons which was causing the dashboard to crash.
                  ■ email: [email protected] | ■ website: https://alienbuild.uk

                  The greatest compliment you can give back to us, is to spend a few seconds leaving a rating at our trustpilot: https://uk.trustpilot.com/review/alienbuild.uk about the service we provided. We always drop mention of services offered by businesses we've worked with in the past to those of interest.
                  • 38783
                  • 571 Posts
                  Could you try optimising or repairing the database table or perhaps just the relevant row?

                  After a backup of course!
                    If I help you out on these forums I would be very grateful if you would consider rating me on Trustpilot: https://uk.trustpilot.com/review/andytough.com

                    email: [email protected] | website: https://andytough.com
                    • 38783
                    • 571 Posts
                    Our posts crossed over. Glad you have it sorted. Useful to know the answer.
                      If I help you out on these forums I would be very grateful if you would consider rating me on Trustpilot: https://uk.trustpilot.com/review/andytough.com

                      email: [email protected] | website: https://andytough.com
                      • 3749
                      • 24,544 Posts
                      LK, my general rule is, "always add the admin to all user groups as soon as they're created."

                        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