Меню

Ошибка could not load modx config file

    • 18367

    • 834 Posts
    • Send PM

    Trying to install the latest version of Revo and I keep getting this error message

    503 Error

    Could not load MODX config file.

    Anyone know how to fix this?

    I’ve installed previous version of Revo many times without issue, so I’m not sure what’s going on. There’s nothing in the install guide about this.

    Thanks

    [ed. note: markg last edited this post 10 years, 9 months ago.]

      Content Creator and Copywriter

      • 19369

      • 1,098 Posts
      • Send PM

      • 18367

      • 834 Posts
      • Send PM

      Tried that, no luck

      Do I need to rename any of the files?

        Content Creator and Copywriter

        • 19369

        • 1,098 Posts
        • Send PM

        I think you need to rename ht.access to .htaccess, other than that, I don’t know.

          • 18367

          • 834 Posts
          • Send PM

          Yeh already did that.

          By the way this is a local install on Wamp using php5.3, Apachge2.2.11

            Content Creator and Copywriter

            • 18367

            • 834 Posts
            • Send PM

            Now this is weird. After much head scratching I created a completely new folder, dragged the zip file over, unzipped it, and hey presto it worked (sort of)

            Just to double check I tried re-unzipping it in the old folder and there was just no way it was going to get past the 503 error. Truly strange.

            So installed now, but now when I try to run it I get a

            Parse error: parse error in D:wampwwwRevolutionmodx-2.2.1-plcoreconfigconfig.inc.php on line 13

            Error. Time to search the forums again.

              Content Creator and Copywriter

              • 39780

              • 1 Posts
              • Send PM

              I’m thinking that it is either a file and folder owner permissions issue of where they are located, and/or an Apache permissions issue relating to cgi & php; i.e., A malformed or missing .htaccess file.

              So that you don’t have to go translate the link above, here is the answer from the Russian link:

              Figured out.
              If you have PHP 5.3 and comes out an error 503, then most likely you will need to register in. Htaccess your time zone, for example:
              php_value date.timezone «Asia / Moscow»

                • 39787

                • 1 Posts
                • Send PM

                To install latest version Revo try to use full installation way like this yoursitename/setup/index.php
                For me it worked.

                  • 39987

                  • 20 Posts
                  • Send PM

                  У меня после установки пишет вот такое, мучаюсь уже 3 день. А версия EVO устанавливается без проблем. Но мне нужна именно REVO.

                  500 Error

                  Site temporarily unavailable.

                    • 40177

                    • 1 Posts
                    • Send PM

                    I have just downloaded and installed modx-2.2.4-pl on a linux system (Apache2/PHP 5.3.10 + Suhosin) and I get the same error after setting up a local host and calling the site. I, too, get the error «Could not load MODX config file». I traced the error to core/model/modx/modx.class.php [l. 492].

                    MODX expects an empty, writable config file at /core/config/config.inc.php. This is described in the installation manual — but one can easily miss that. Just create the empty, writable file there and it should be working.

                    The easiest alternative is to call the setup directly by opening: http://mymodxsite.loc/setup/ in the browser.

                    • <
                    • 1
                    • 2
                    • >

                    Начал разработку сайта на MODX revo и конечно столкнулся с некоторыми проблемами которые пришлось решать порой не один час. Надеюсь эта информация поможет тем кто только начинает свое знакомство с движком MODX.

                    Первое с чем мне пришлось столкнуться это – разграничение прав доступа к ресурсам (разделам, материалам). Для этого я написал отдельную статью читайте о том как настроить права доступа в MODX

                    Потом пришлось попотеть с переносом сайта на modx revo на хостинг. Это тоже удивительное по своей сути задача, но как оказалась даже modx можно перенести ))). Этому Вопросу я тоже посвятил отдельную статью читайте тут.

                    Далее были мелкие трудности которые решились с помощь ПС: 1. Ошибка при установке

                    FATAL ERROR: MODX Setup cannot continue.
                    To use PHP 5.3.0+, you must set the date.timezone setting in your php.ini. Please do set it to a proper timezone before proceeding. A list can be found here.

                    Ошибка на сайте

                    503 Error
                    Could not load MODX config file.

                    У меня еще выдавал такую ошибку:

                    Доступ к странице сайта запрещен

                    Проблема решается добавлением в файл .htaccess строки с указанием временной зоны:

                    php_value date.timezone  "Europe/Moscow"

                    Cсылки по теме:
                    Ошибки при работе с MODX
                    Уроки для начинающих по установке и настройке modx

                    Скачал MODX 2.8 (пробовал также 3.0). Закинул в созданий каталог в каталог доменов для OpenServer (хотя как то странно оно разархивировалось — ! E:My_ServerOSPaneldomainsfloridamodx-2.8.4.zip: Невозможно создать папку E:My_ServerOSPaneldomainsfloridamodx-2.8.4modx-2.8.4-pl.
                    Cannot create a file when that file already exists.
                    ).
                    При открытии локального сайта, вместо того чтоб увидеть начало установки движка я вижу ошибку «Could not load MODX config file.»

                    задан 17 дек 2022 в 15:45

                    Serhii Prudkyi's user avatar

                    Разобрался. Нужно было самостоятельно указать пусть к каталогу установки, т.е. /setup

                    ответ дан 17 дек 2022 в 15:57

                    Serhii Prudkyi's user avatar

                    1

                    0 0 голоса
                    Рейтинг статьи
                    Подписаться
                    Уведомить о
                    guest

                    0 комментариев
                    Старые
                    Новые Популярные
                    Межтекстовые Отзывы
                    Посмотреть все комментарии

                    А вот еще интересные материалы:

                  • Яшка сломя голову остановился исправьте ошибки
                  • Ясность цели позволяет целеустремленно добиваться намеченного исправьте ошибки
                  • Ясность цели позволяет целеустремленно добиваться намеченного где ошибка
                  • Ошибка code 136 шевроле круз
                  • Ошибка could not load an object because it is not available on this machine