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
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
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);
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
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?
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.