We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38371
    • 42 Posts
    Hello to everyone,

    I am using MODX 2.2.4pl.

    I have installed it twice on my localhost.

    One of the two is an advanced installation based on this http://rtfm.modx.com/display/revolution20/Advanced+Installation post.

    Everything goes well during the installation process. However, once installed the Manager won't let me in. I type my login credentials and it just redirects me back to the Login Page without reporting any errors.

    My installation steps are as follows:

    • I put the "core" directory one level up from the web root,
    • I move the "connectors" and "manager" directories one level up too and, also, rename them. The names are randomly created and they contain: lowercase english letters and numbers.

    I have tried the steps suggested here http://rtfm.modx.com/display/revolution20/Troubleshooting+Installation, but the problem still remains.

    Could anyone tell what could be wrong?


    Thanks a lot. [ed. note: leffyrant last edited this post 11 years, 7 months ago.]
    • Are you using the advanced download package for this? Manually moving that stuff around and configuring it may work, but it is much better to use the advanced package to do the "advanced" install.
      • This is from the moving your site to a new server documentation, but it might be a good idea to check all the same files for the advanced install. The login loop as you're describing is often caused by these files containing incorrect paths.

        http://rtfm.modx.com/display/revolution20/Moving+Your+Site+to+a+New+Server

        Updating your Config Files

        Once you've deployed files to the new server, you need to update the main configuration file: core/config/config.inc.php. You have to update paths to 6 different resources. Open the file and update the values for the following variables doing a find and replace:

        /* PATHS */
        $modx_core_path= '/path/to/modx_doc_root/core/';
        $modx_processors_path= '/path/to/modx_doc_root/core/model/modx/processors/';
        $modx_connectors_path= '/path/to/modx_doc_root/connectors/';
        $modx_manager_path= '/path/to/modx_doc_root/manager/';
        $modx_base_path= '/path/to/modx_doc_root/';
        $modx_assets_path= '/path/to/modx_doc_root/assets/';

        /* HOST (used for command-line PHP stuff) */
        $http_host='yoursite.com';

        If you are also moving your site into or out of a subfolder, be sure to update the variables such as $modx_connectors_url, $modx_manager_url, and $modx_base_url. They should generally
        end with a slash (e.g., $modx_base_url='/' for a site not in a subfolder).
        Permissions
        Before you can edit your config file, you may need to loosen up the permissions. After you've edited it, be sure you restore the read-only permissions on the file.

        There are also 3 additional configuration files that contain two PHP constants:

        define('MODX_CORE_PATH', '/path/to/modx_doc_root/core/');
        define('MODX_CONFIG_KEY', 'config');

        /config.core.php
        /connectors/config.core.php
        /manager/config.core.php

        Make sure you update the paths in these files as well.
          Frogabog- MODX Websites in Portland Oregon
          "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
          Having server issues? These guys have MODX Hosting perfected - SkyToaster