I’m just changing my local development environment (MAMP based, MacOS) to enable dual development for MODX 2 and 3. The setup looks like this:
/modx3/ (<- the MODX 3 root) ... /modx2/ (<- the MODX 2 root) assets/ connectors/ core/ manager/ config.core.php (<- the config.core.php from MODX) index.php /projects/ (<- dev projects folder outside MODX root) goodnews/ (<- project folder) _bootstrap _build ... config.core.php
I bootstrapped my dev project with the modx2 core and the bootstrap process went well. All elements, menus, resources, settings, and so on are created within the MODX 2 installation without problems.
But when I start the Add-on I get to the index panel (which loads correctly!) but immediately a login box is displayed.
The browser console log shows a lot of these messages:
Failed to load resource: the server responded with a status of 401 (Not Authorized) -- https://modx.dev/projects/goodnews/assets/components/goodnews/connector.php
There are no errors in PHP log and no messages in MODX error log!
I found a few other threads which could be related to this problem but none of the hints from there worked.
In my previous dev setup, the projects folder was inside the MODX root directory and it worked without any problems.
Do you have any hints on how to solve this?