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

    I am trying to install newest ModX Revo 2.2.0 Released Oct 19, 2011. I am getting strange error. Please see:
    Checking PHP version: OK! Running: 5.3.2-1ubuntu4.10

    Checking PHP for zlib dependency: OK!

    Checking for SimpleXML: OK!

    Checking if memory limit is set to at least 24M: OK! Set to 128M

    Checking if sessions are properly configured: OK!

    Checking if /home/abilitygroup/www/core/cache directory exists: OK!

    Checking if /home/abilitygroup/www/core/cache directory is writable: OK!

    Checking if /home/abilitygroup/www/core/export directory exists: OK!

    Checking if /home/abilitygroup/www/core/export directory is writable: OK!

    Checking if /home/abilitygroup/www/core/packages directory exists: OK!

    Checking if /home/abilitygroup/www/core/packages directory is writable: OK!

    Checking if directory exists: Failed!

    Checking if directory exists: Failed!

    Checking if directory exists: Failed!

    Checking if /home/abilitygroup/www/core/config/config.inc.php exists and is writable: OK!

    Creating connection to the database: OK!

    Checking to make sure safe_mode is off: OK!

    Checking for suhosin issues:OK!

    Does anybody know which directory doesn't exist and what causes the problem?
      • 34004
      • 125 Posts
      I have the same problem - any ideas?
        • 2611
        • 394 Posts
        I found this thread through google, thought I'd post the solution if anybody else finds it:

        It would appear the following 3 keys are missing in the default settings array that modinstallsettings.class.php uses:

        - context_web_path
        - context_mgr_path
        - context_connectors_path

        All those return NULL when requested

        var_dump($this->install->settings->get('context_web_path')); // NULL


        That is why it fails...I managed to complete the setup by editing /core/cache/setup/settings.cache.php and manually adding these values:


          'context_web_path' => 'enter same as web_path',
          'context_mgr_path' => 'enter same as mgr_path',
          'context_connectors_path' => 'enter same as connectors_path'



        Everything seems to work fine smiley
          Follow me on twitter: @b03tz
          Follow SCHERP Ontwikkeling on twitter: @scherpontwikkel
          CodeMaster
          • 3749
          • 24,544 Posts
          Nice catch. Thanks for reporting your findings. smiley
            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
            • 34004
            • 125 Posts
            I've done the above and installed it correctly (or you can just download the nightly as this has been fixed in git https://github.com/modxcms/revolution/commit/defd11063eff7162316d6e3e50f7f73c3469ad91) however when I log into the manager, the CSS and some JS isn't loaded, resulting in an unstyled page.

            I get 400 bad requests on several files, here's one of the broken links in firebug:

            http://xxx.xxx.xxx.xxx/~racedata/manager/min/?f=/~racedata/manager/assets/ext3/resources/css/ext-all-notheme-min.css,/~racedata/manager/templates/default/css/xtheme-modx.css,/~racedata/manager/templates/default/css/index.css

            I'll have a look in the bug tracker and see if anyone has added this...
              • 34004
              • 125 Posts
              Couldn't see it, so have added it: http://bugs.modx.com/issues/6165
                • 3749
                • 24,544 Posts
                Thanks. smiley
                  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
                  • 43284
                  • 7 Posts
                  great Catch !

                  Thank you so much.