the top div #modx-header is visible, but the rest of the page is blank.
The web context is working, the mgr context does not. Not sure what has gone wrong …
I checked config settings and htaccess, everything seems fine. In the browser console, I’m getting "Uncaught SyntaxError: unexpected token: ‘:’ " in modx.config.js.php:1:10
Yes, upload_files contains a comma-separated list of files you can upload. It also affects the saving of files. Maybe a Manager widget or plugin is trying to save a file that’s not on the list. For example, I don’t think .log files are on the list. I don’t think .php files are either.
If you try reload the Manager page with dev. tools on in Chrome or Firefox (Ctrl-shift-i) , and look at the network tab, you should see the 401 error. If you click on it you can see the details of the request, which might tell you more about what the problem is.
You can also try incognito or Private mode in the browser to see if it might be a cache or cookie issue.
Please check wether the content of the output of connectors/modx.config.js.php is a valid JSON. It looks like a setting value contains a not escaped quote sign.
The system settings are in the database table modx_system_settings (and maybe cached in core/cache/system_settings/config.cache.php).
Open the “Network” tab of the developer tools in the browser and make a request to the manager. Then filter the requests for modx.config.js.php. Is the response of this request (what gets assigned to the variable MODx.config = { ... }) valid JSON?
The unexpected token error occurs inside of the loaded modx.config.js.php and not outside in the url.
If HTTP_MODAUTH is not set (or filled with :1) in the payload, the user is not logged in right. If this is the case, there can be something wrong with the session cookie or with the session db table of MODX.
If HTTP_MODAUTH is set with something like modx1234567890abc_1234567890abc, the user is logged in right and there is some value issue in the modx config array, that leads to a damaged modx config JSON retrieved with the connector.
This message should be obvious. For whatever reason the value of data is wrong in the forum post. If it is also wrong in the resulting JSON, this can cause the unknown token error.
The error log indicates a problem finding a file named “login” at an unexpected location. You’re unsure why this file should exist. Troubleshooting steps you’ve taken so far include checking file permissions, clearing the MODX cache, disabling conflicting plugins, and enabling error reporting. If these steps don’t resolve the issues, you may need to restore or reinstall certain files, consider updating MODX, or seek assistance from the MODX community or support.