We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 35491
    • 18 Posts
    Добрый день, комрады.

    Your MODX_CORE_PATH is invalid

    In order to install MODx Revolution, you must first locate your core directory that contains the files required to run MODx, including this setup application. The current value specified is not valid and setup cannot continue until this is resolved.

    А затем просит прописать путь...

    ERROR: Your MODX_CORE_PATH is invalid; please specify the correct path in the field above and click Submit.

    Путь прописывал и так и так и так...

    Права выставлены, 1000 раз перепроверены...

    Какие будут идеи?
      • 21786
      • 13 Posts
      1. а что в config.core.php?
      2. идем в папочку с modx делаем pwd в шелле и прописываем путь в "correct path in the field"
        • 35491
        • 18 Posts
        а что в config.core.php?

        Пусто там

        пробовал писать путь в index.php безрезультатно(((
          • 21786
          • 13 Posts
          <?php                                                                                                                                                                                                              
          define('MODX_CORE_PATH', dirname(__FILE__) . '/core/');                                                                                                                                                            
          define('MODX_CONFIG_KEY', 'config');


          странно О.о
          попробуйте добавить кусок кода этот.
            • 21838
            • 284 Posts
            re-unzip the zip package and check if all folders (xpdo / model) exist in core folder.
              MODX Free Template Base: MODX-Boilerplate | my blog (lots of MODX stuff) | my gitHub (translations) | MODX User Groups Germany (Facebook)
              • 35491
              • 18 Posts
              Quote from: nornik at May 13, 2011, 06:21 AM

              <?php                                                                                                                                                                                                              
              define('MODX_CORE_PATH', dirname(__FILE__) . '/core/');                                                                                                                                                            
              define('MODX_CONFIG_KEY', 'config');


              странно О.о
              попробуйте добавить кусок кода этот.

              Я так понимаю в конфиг файл кор

              <?php                                                                                                                                                                                                              
              define('MODX_CORE_PATH', dirname(__FILE__) . '/var/www/domen.ru/public_html/core/');                                                                                                                                                            
              define('MODX_CONFIG_KEY', 'config');


              не помогает...(((

              попробую продублировать в index.php

              re-unzip the zip package and check if all folders (xpdo / model) exist in core folder.
              cd /var/www/domen.com/public_html/
              wget www.modx.com/expl/expml/2.0.6.zip
              unzip 2.0.6.zip

              what’s I do wrong? grin
                • 35491
                • 18 Posts
                Добавил в index.php

                @include(dirname(__FILE__) . '/var/www/domen.ru/public_html/config.core.php');
                if (!defined('MODX_CORE_PATH')) define('MODX_CORE_PATH', dirname(__FILE__) . '/var/www/domen.ru/public_html/core/');


                не помогает(((

                может где то еще надо что то менять?
                  • 35491
                  • 18 Posts
                  нужно поменять только config.inc.php

                  <?php                                                                                                                                                                                                              
                  define('MODX_CORE_PATH', dirname(__FILE__) . '/var/www/example.com/public_html/core/');                                                                                                                                                            
                  define('MODX_CONFIG_KEY', 'config');