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

    I recently tried to install google analytics to help my website, but upon adding the code to the header chunk, the whole site went blank, even after removing it, there isn't any changes done. My modx control panel now has trouble with the formatting, and thus I can't access many of its features as well. (it looks like this).

    I still have access to phpmyadmin, so I can change the modx data from there, but nothing seems to happen.

    I'm sure that there will be many more pieces of data that I should give, so be sure to ask.
      • 27708 MODX Staff
      • 2,502 Posts
      Adding the GA code to a chunk wouldn't break your manager. There is something else going on here. Additionally, why are you running the RC-1 of Evolution. We're at Evo 1.0.5 and there's a pending release for 1.0.6 coming. There have been security fixes and patched vulnerabilities that may be the issue here. It may be entirely coincidental that your site has been compromised at the same time as GA was installed.
        Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup magician. Blog ✦ Twitter ✦ LinkedIn ✦ GitHub
        • 3749
        • 24,544 Posts
        I think the problem is caused by removing the GA extra. It leaves behind a setting pointing to a Manager template that no longer exists.

        Try editing the modx_system_settings table in PhpMyAdmin and changing the value of manager_theme to default.
          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
          • 38825
          • 11 Posts
          Hm, I tried that, and it didn't work. Should I try installing a newer version of modx over this one?
            • 38825
            • 11 Posts
            It's alright, I just installed the new version of modx and copied the data over and it works fine. GA works good too.