Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

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

ADMIN loading screen remains forever


Go to End
Reply

12 Posts   3478 Views

Avatar
DsX

17 October 2010 at 8:31am (Last edited: 17 October 2010 8:33am), Community Member, 178 Posts

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

Avatar
DsX

17 October 2010 at 9:00am Community Member, 178 Posts

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?

Avatar
TomMiller

26 November 2010 at 2:42am (Last edited: 26 November 2010 2:43am), Community Member, 26 Posts

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.

Avatar
Willr

26 November 2010 at 9:08am Forum Moderator, 5511 Posts

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.

Avatar
delmi

27 November 2010 at 12:02am 6 Posts

I solved deleting assets/.htaccess file.

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

Avatar
TomMiller

27 November 2010 at 1:42am (Last edited: 27 November 2010 1:43am), Community Member, 26 Posts

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"?

Avatar
delmi

27 November 2010 at 2:11am 6 Posts

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

php_flag engine off

Avatar
TomMiller

27 November 2010 at 4:32am Community Member, 26 Posts

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

Go to Top