Jump to:

4952 Posts in 14483 Topics by 1491 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Login stuck at loading

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

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

Page: 1
Go to End
Author Topic: 2263 Views
  • joey
    Avatar
    Community Member
    9 Posts

    Login stuck at loading Link to this post

    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

  • Willr
    Avatar
    Forum Moderator
    5490 Posts

    Re: Login stuck at loading Link to this post

    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);

  • joey
    Avatar
    Community Member
    9 Posts

    Re: Login stuck at loading Link to this post

    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

  • Bruce B
    Avatar
    Community Member
    145 Posts

    Re: Login stuck at loading Link to this post

    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?

  • Spaghetti
    Avatar
    Community Member
    31 Posts

    Re: Login stuck at loading Link to this post

    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.

    2263 Views
Page: 1
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.