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.

Installing SilverStripe

Getting SilverStripe up and running on your computer and on your web server.

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

Login stuck at loading


Reply

5 Posts   2317 Views

Avatar
joey

19 January 2011 at 2:14pm Community Member, 9 Posts

I've searched high and low and can't seem to find anyone with a similar issue. I installed the platform just fine, site up and running, built content in the CMS. After a couple of weeks I go back to login and after entering the username and password the screen just stays at loading with the silverstirpe logo in the middle. Nothing else. I'm running 2.4.3 and just not sure what to do. The site itself is running fine but the CMS side seems corrupt. Any help would be greatly appreciated. Thanks Joe

Avatar
Willr

19 January 2011 at 9:29pm Forum Moderator, 5511 Posts

Usually this indicates a Javascript error. Check your web browsers error console for more information.

Common fixes
- Delete the /assets/_combined-files dir
- Reload the CMS with a ?flush=1 (yoursite.com/admin?flush=1)

If those don't work try adding the following line in your _config.php file.

Requirements::set_combined_files_enabled(false);

Avatar
joey

19 January 2011 at 10:06pm Community Member, 9 Posts

Will,

Thanks so much. The last line did the trick! Thank you very much for responding to my post so quickly! Have a great day! Joe

Avatar
Bruce B

1 February 2011 at 11:58am Community Member, 145 Posts

Just encountered the same problem with 2.4.4. I had transferred all the files from my local machine to a VPS, uploaded the database and everything 'just worked' except for this problem. In my case, adding the production URL to the list of dev servers also fixed the problem but that's hardly a permanent fix.

As Joey found, deleting the _combined-files dir and flushing the page didn't work but adding the extra line to _config.php did work. Is there a cost to this? eg slower admin page loading?

Avatar
Spaghetti

20 April 2012 at 8:24pm Community Member, 31 Posts

I got this same problem. All I did I think was activate the jquery mobile theme for my site on my live host. Here are the JS console errors:

Class ss.i18n not defined
en_US.js:2Class ss.i18n not defined
SilverStripeNavigator.js:35Uncaught ReferenceError: jQuery is not defined
tiny_mce_improvements.js:1Uncaught ReferenceError: Class is not defined
jquery.form.js:665Uncaught ReferenceError: jQuery is not defined
HtmlEditorField.js:81Uncaught ReferenceError: jQuery is not defined
admin:583Uncaught ReferenceError: Behaviour is not defined
admin:704Uncaught ReferenceError: Behaviour is not defined
admin:760Uncaught ReferenceError: Behaviour is not defined
admin:816Uncaught ReferenceError: Behaviour is not defined
admin:833Uncaught ReferenceError: Behaviour is not defined
admin:895Uncaught ReferenceError: Behaviour is not defined

I managed to fix it with this:
Requirements::set_combined_files_enabled(false);
Isn't this going to mean that my css and js file on my site are not going to be combined - which presumably means more fetches and a slower site, right? Bummer.