We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 30107
    • 44 Posts
    If someone gets empty manager pages, we all know what to do: disable compression of js and css in the config. But what's the cause of the symptoms? In my case, it was a wrong path for $_SERVER['DOCUMENT_ROOT'], on which the minifier in /manager/min/index.php relies on. Why that? In my experience, server variables are often not reliable.

    Wouldn't it be better to use "MODX_BASE_PATH"?
      • 39194
      • 149 Posts
      Just set manager_js_document_root system setting.
        • 30107
        • 44 Posts
        Quote from: danya_postfactum at Dec 05, 2012, 06:28 AM
        Just set manager_js_document_root system setting.
        Hmm... already did that, but it didn't change anything. BTW, this setting is not used in /manager/min/index.php, as far as I can see.

        The path set in manager_js_document_root is correct, double checked that, but compression does not work this way. I had to change /manager/min/index.php by hand (setting $_SERVER['DOCUMENT_ROOT']) to make it work.
          • 39194
          • 149 Posts
          44 and 94 lines. But I didn't check this feature.
            • 42101
            • 125 Posts
            Quote from: titanium at Dec 05, 2012, 10:10 AM
            Quote from: danya_postfactum at Dec 05, 2012, 06:28 AM
            Just set manager_js_document_root system setting.
            Hmm... already did that, but it didn't change anything. BTW, this setting is not used in /manager/min/index.php, as far as I can see.

            The path set in manager_js_document_root is correct, double checked that, but compression does not work this way. I had to change /manager/min/index.php by hand (setting $_SERVER['DOCUMENT_ROOT']) to make it work.

            what was the solution exactly? Thank you!!
            AD