Jump to:

23007 Posts in 11866 Topics by 2828 members

General Questions

SilverStripe Forums » General Questions » ADMIN loading screen remains forever

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1 2
Go to End
Author Topic: 3169 Views
  • DsX
    Avatar
    Community Member
    178 Posts

    ADMIN loading screen remains forever Link to this post

    I have just migrated a site to a live server..
    The site loads perfectly and all is well on the front end.
    However, if I try to login to the admin, I get the silverstripe white/blue loading screen, the page stops loading (according to the browser) and the loading screen remains.
    If I check the page source I can see that the html for the admin is there.
    I can also add display: none; to #Loading and see the admin, but if I click any link the same occurs.
    Looking at the hidden cms I can see that the right pane does not stretch to the right much, and pushes over the bottom grey bar a ways.

    really not sure what to do. Works fine locally (other than every now and again I need to close FF and reopen to avoid the same 'type' of hang)

    ps: I'm running the latest SS version. 2.4.2

  • DsX
    Avatar
    Community Member
    178 Posts

    Re: ADMIN loading screen remains forever Link to this post

    I found a solution... but is not an answer.
    If I add ?isDev=1 after admin I can login. (seems to reset it)
    Now if I log out and login it appends ?isDev=1 on its own.
    Any Idea what happened here?

  • TomMiller
    Avatar
    Community Member
    26 Posts

    Re: ADMIN loading screen remains forever Link to this post

    Had the same problem today. Used your trick and it worked here too. However, i'd really love to have an explanation on the (possible) reason(s).
    Any idea(s)?
    I'm using 2.4.3.

  • Willr
    Avatar
    Forum Moderator
    5464 Posts

    Re: ADMIN loading screen remains forever Link to this post

    The reason for it showing the admin login screen constantly is usually due to a problem loading all the required javascript modules. By doing ?isDev=1 (or a ?flush=all) you are disabling the javascript combing functionality (see assets/_combinedfiles/) so I would hazard a guess to say that the reason for your admin page not loading is due to a problem in those combined files. You should delete the folder (_combinedfiles) and try again.

  • delmi
    Avatar
    6 Posts

    Re: ADMIN loading screen remains forever Link to this post

    I solved deleting assets/.htaccess file.

    Now I can login successfully and all the js error are solved.

  • TomMiller
    Avatar
    Community Member
    26 Posts

    Re: ADMIN loading screen remains forever Link to this post

    Thank you Willr and thank you delmi!
    Deleting the _combinedfiles folder didn't solve the problem. However deleting the .htaccess file in the assets folder did. Is it ok to delete this file from a "security" point of view? Does this file only check that the fileextension of uploaded files match the "whitelist"?

  • delmi
    Avatar
    6 Posts

    Re: ADMIN loading screen remains forever Link to this post

    Try to leave the htaccess but comment or delete the following line:

    php_flag engine off

  • TomMiller
    Avatar
    Community Member
    26 Posts

    Re: ADMIN loading screen remains forever Link to this post

    I disabled php parsing and it works. Thanks again delmi!

    3169 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.