We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10487 MODX Staff
    • 1,535 Posts
    I will try and get this resolved for the Evo 1.0.1 release - I’m not fully sure what the exact problem is with DocManager and PHP4, and currently need to lay my hands on a PHP4 environment to test wink
      Garry Nutting
      Senior Developer
      MODX, LLC

      Email: [email protected]
      Twitter: @garryn
      Web: modx.com
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      If you had a Mac, with MAMP installed, it would be as simple as going to the Dashboard, clicking the little "i" for info on the MAMP dashboard widget, selecting PHP 4, then clicking "Done". Depending on your setup (if you configured it to use the default Apache port 80) you’ll be asked for your user password so the Apache server can be restarted.

      Having done that, and corrected the error on line 77, I find this in my browser’s error console:
      Error: $("interaction") is null
      Source File: http://localhost/5615/assets/modules/docmanager/js/docmanager.js
      Line: 123

      I also get this one:
      Error: top.mainMenu.stopWork is not a function
      Source File: http://localhost/5615/manager/
      Line: 1

      Switching back to PHP 5 now.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 3647
        • 177 Posts
        Thanks for the tip Garry - I’d missed that

        Switched to PHP5 and it works fine now

        Regards

        Mark
          • 10313
          • 375 Posts
          Hi,

          thanks, it’s working for me now, too. I too didn’t check the PHP version and was not ware that it could be a problem of PHP 4. With 5 it is working very well.

          Martin
            • 7007
            • 2 Posts
            I still have that problem. Using php 5, changed line 77 and I can now see the headers, but nothing else.

            Some ideas what I have to change now? Thanks.
              • 10487 MODX Staff
              • 1,535 Posts
              Garry Nutting Reply #16, 17 years ago
              Please see: http://svn.modxcms.com/crucible/changelog/modx/?cs=5730

              Tested on PHP 4.4.7/5.2.3/5.3.0.
                Garry Nutting
                Senior Developer
                MODX, LLC

                Email: [email protected]
                Twitter: @garryn
                Web: modx.com