<![CDATA[ Manager login page displays as text only - MODX Community Forums]]> https://forums.modx.com/thread/?thread=87061 <![CDATA[Re: Manager login page displays as text only]]> https://forums.modx.com/thread/87061/manager-login-page-displays-as-text-only#dis-post-513092
    $modx_manager_url= '/manager/'; 


Front end was working fine but manager css was missing with wrong path, 404.

So i added modx/ to the settings and it worked

  $modx_manager_url= '/modx/manager/';


I edited other settings also and added directory name "modx"
$modx_connectors_url= '/modx/connectors/';
$modx_manager_url= '/modx/manager/';
$modx_base_url= '/modx/';


]]>
amitpatil Oct 21, 2014, 06:42 AM https://forums.modx.com/thread/87061/manager-login-page-displays-as-text-only#dis-post-513092
<![CDATA[Re: Manager login page displays as text only]]> https://forums.modx.com/thread/87061/manager-login-page-displays-as-text-only#dis-post-479815
1. Edited the core/config/config.inc.php file (after making it writable).

2. Changed the following 4 lines:
$modx_connectors_url= '/connectors/';
$modx_manager_url= '/manager/';
$modx_base_url= '/';
$modx_assets_url= '/assets/';

from /<site>/<manager, assets etc (as above)> to what you see above. That is, I removed the site directory name.

3. Make the file readonly again so the dashboard stops telling me it is writable.

Did I need to change all 4 lines? I'm not sure but I figured best to be consistent. If anything blows up down the track, I'll update.

And finally, just to recapitulate: the reason (I think) that this problem occurred in the first place was that I originally installed Revo before I had a domain name (ie it was installed using <ip addreess>/<site>/setup) and the install picked up the <site> and put it in the config file. Even after doing an upgrade using <url>/setup, the <site> was not removed. Hence the manual edit of the file. Hope this helps someone else.]]>
gissirob Oct 09, 2013, 06:32 PM https://forums.modx.com/thread/87061/manager-login-page-displays-as-text-only#dis-post-479815
<![CDATA[Re: Manager login page displays as text only]]> https://forums.modx.com/thread/87061/manager-login-page-displays-as-text-only#dis-post-479775 paulp Oct 09, 2013, 06:13 AM https://forums.modx.com/thread/87061/manager-login-page-displays-as-text-only#dis-post-479775 <![CDATA[Re: Manager login page displays as text only]]> https://forums.modx.com/thread/87061/manager-login-page-displays-as-text-only#dis-post-479774
    <link rel="stylesheet" type="text/css" href="/hca/manager/assets/ext3/resources/css/ext-all-notheme-min.css" />
	<link rel="stylesheet" type="text/css" href="/hca/manager/templates/default/css/xtheme-modx.css" />
	<link rel="stylesheet" type="text/css" href="/hca/manager/templates/default/css/index.css" />
    <link rel="stylesheet" type="text/css" href="/hca/manager/templates/default/css/login.css" />

        <script src="/hca/manager/assets/ext3/adapter/ext/ext-base.js" type="text/javascript"></script>
    <script src="/hca/manager/assets/ext3/ext-all.js" type="text/javascript"></script>
        <script src="assets/modext/core/modx.js" type="text/javascript"></script>

    <script src="assets/modext/core/modx.component.js" type="text/javascript"></script>
    <script src="assets/modext/util/utilities.js" type="text/javascript"></script>
	<script src="assets/modext/widgets/core/modx.panel.js" type="text/javascript"></script>
    <script src="assets/modext/widgets/core/modx.window.js" type="text/javascript"></script>
    <script src="assets/modext/sections/login.js" type="text/javascript"></script>


So here's my question: why are the first 6 link / script references fully qualified, and the next 6 relative (the last 6 work when I click through as you suggest, the first 6 do not). Surely whatever setting is used to generate these links should do so consistently? And how do I fix this??]]>
gissirob Oct 09, 2013, 04:56 AM https://forums.modx.com/thread/87061/manager-login-page-displays-as-text-only#dis-post-479774
<![CDATA[Re: Manager login page displays as text only]]> https://forums.modx.com/thread/87061/manager-login-page-displays-as-text-only#dis-post-479771
As they say, a picture is worth a thousand words. It looks like your css isn't loading. I use Firefox, and in Firefox, you can right click on a page and view source.

When you view the source, you should see a list near the top like this:

<link rel="stylesheet" type="text/css" href="/manager/assets/ext3/resources/css/ext-all-notheme-min.css" />
<link rel="stylesheet" type="text/css" href="/manager/templates/default/css/xtheme-modx.css" />
<link rel="stylesheet" type="text/css" href="/manager/templates/default/css/index.css" />
<link rel="stylesheet" type="text/css" href="/manager/templates/default/css/login.css" />


Since this is the login page, and login is the last css on the list, it would seem like a good idea to see if you can get to that link. I see that in the source being generated, there is no base url, so I assume that this is relative to the root of the site.

In Firefox, it has the href values highlighted, and when I click on them, I can see the source. Check to see if you have permissions to see those files and that the files are in the expected location.

Hope this helps.]]>
stalemate resolution associate Oct 09, 2013, 03:19 AM https://forums.modx.com/thread/87061/manager-login-page-displays-as-text-only#dis-post-479771
<![CDATA[Re: Manager login page displays as text only]]> https://forums.modx.com/thread/87061/manager-login-page-displays-as-text-only#dis-post-479766
Just in case it helps, this is what the <url>/manager login screen looks like:

]]>
gissirob Oct 08, 2013, 11:35 PM https://forums.modx.com/thread/87061/manager-login-page-displays-as-text-only#dis-post-479766
<![CDATA[Re: Manager login page displays as text only]]> https://forums.modx.com/thread/87061/manager-login-page-displays-as-text-only#dis-post-479714 ]]> BobRay Oct 08, 2013, 07:49 AM https://forums.modx.com/thread/87061/manager-login-page-displays-as-text-only#dis-post-479714 <![CDATA[Manager login page displays as text only]]> https://forums.modx.com/thread/87061/manager-login-page-displays-as-text-only#dis-post-479685
If I connect to my Revo 2.2.6 site using: <ip address>/<site>/manager I get the normal login page. No problem.

If I connect using <url>/manager I still get the login page but it is now text only.

Why??

The source for both pages are identical. I have checked as best I can the server side apache configuration (it is a Ubuntu 11.10 server). I guess it is a permissions issue but I can't see anything wrong.

Any help would be appreciated.

Robert.]]>
gissirob Oct 07, 2013, 09:44 PM https://forums.modx.com/thread/87061/manager-login-page-displays-as-text-only#dis-post-479685