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.

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.

General Questions /

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

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

stalls on "loading..." page when logging in on /admin


Go to End


10 Posts   7693 Views

Avatar
Cider

Community Member, 3 Posts

12 December 2011 at 12:31pm

After logging in on website.com/admin, it goes to a page with the SS logo and says "loading..." in the upper left, and just sits there. It doesn't load anything no matter how long I leave it.

I had installed SS and built the website, but then I haven't needed to login for a few months and now it needs some changes and cannot log in (see above)

However, I can log in on website.com/Security/login, but then it just loads a page that says I'm now logged in. When I go back to /admin it just shows the "loading..." page.

I suppose I could ignore that it breaks using /admin, and just use /Security/login to login instead, but how to get to the CMS admin pages?

Avatar
Willr

Forum Moderator, 5523 Posts

13 December 2011 at 7:52pm

Do you get any javascript errors to your browsers console? A stuck loading screen would indicate a js error to me.

Avatar
Cider

Community Member, 3 Posts

14 December 2011 at 5:33pm

Error Console shows:

Behaviour is not defined (6 errors)
/admin

jQuery is not defined
/sapphire/javascript/HtmlEditorField.js

jQuery is not defined
/sapphire/thirdparty/jquery-form/jquery.form.js

Class is not defined
/sapphire/javascript/tiny_mce_improvements.js

jQuery is not defined
/sapphire/javascript/SilverStripeNavigator.js

There doesn't seem to be an admin file, so I'm not sure what file(s) to refer to when looking up the line numbers for the undefined Behavior errors

The JQuery errors are merely the closing line of the files:

})(jQuery);

The Class error is line 1 of the file:

ToolbarForm = Class.create();

When the "loading..." page loads, the browser shows that the page has fully loaded - the progress bar completes and the throbber stops - so it's not like it's actually gets stuck in the middle of loading. The website itself, which is nothing complicated at the moment, works without a hitch.

Avatar
Mauve

Community Member, 5 Posts

15 December 2011 at 11:54am

Edited: 15/12/2011 12:45pm

did you try to add "?isDev=1" (without quotation marks) at the end of the admin url ? I had the same problem, and it did the trick.

[edit] I dug into this a bit, and I solve the behavior I had by chmod'ing js files in assets/_combined to 666 [/edit]

HTH,

Cheers,

Avatar
Cider

Community Member, 3 Posts

15 December 2011 at 10:39pm

Thanks Mauve
The first solution (adding ?isDev=1 to the url) worked great!

The second suggestion, I don't understand what you mean by assets/_combined (is there a file or folder called _combined? I didn't find one), so I set permissions recursively (in case that's what was meant by _combined) in the js folder to 666, but that didn't seem to have any effect.

Anyway, until a permanent solution rears it's head, I'll at least be able to get by with the first solution for the time being... :)

Avatar
Mauve

Community Member, 5 Posts

31 December 2011 at 5:07am

Oooops, looks like I'm a bit late...

So, yes, my problem was that part of the admin javascript files were in the /assets/_combined/ subfolder, and they had a bad set of permissions. So I gave rwx access to folders /assets and /_combined, and r_x permissions to all *.js files under the /assets/_combined/ folder.

Your problem may be different, though.

Cheers,

Avatar
sebastiankozub

Community Member, 59 Posts

29 August 2012 at 6:10am

Hi, I have similar problem: stays on "Loading..." forever. When I try /admin

I get errors like:

Failed to load resource: the server responded with a status of 403 (Forbidden) http://silverstripe.varimed.com.pl/cms/css/cms_left.css?m=1346101977
Failed to load resource: the server responded with a status of 403 (Forbidden)
http://silverstripe.varimed.com.pl/cms/css/layout.css?m=1346101978
Failed to load resource: the server responded with a status of 403 (Forbidden) http://silverstripe.varimed.com.pl/cms/css/typography.css?m=1346101979
Failed to load resource: the server responded with a status of 403 (Forbidden) http://silverstripe.varimed.com.pl/cms/images/network-save.gif
Failed to load resource: the server responded with a status of 403 (Forbidden) http://silverstripe.varimed.com.pl/cms/css/cms_right.css?m=1346101977
Failed to load resource: the server responded with a status of 403 (Forbidden) http://silverstripe.varimed.com.pl/cms/javascript/hover.js?m=1346101987
Failed to load resource: the server responded with a status of 403 (Forbidden) http://silverstripe.varimed.com.pl/cms/javascript/lang/en_US.js?m=1346102023
Failed to load resource: the server responded with a status of 403 (Forbidden) http://silverstripe.varimed.com.pl/cms/javascript/LeftAndMain_right.js?m=1346101988
Failed to load resource: the server responded with a status of 403 (Forbidden) http://silverstripe.varimed.com.pl/cms/javascript/SideTabs.js?m=1346101990
Failed to load resource: the server responded with a status of 403 (Forbidden) http://silverstripe.varimed.com.pl/cms/javascript/SideReports.js?m=1346101989
Failed to load resource: the server responded with a status of 403 (Forbidden) http://silverstripe.varimed.com.pl/cms/javascript/LangSelector.js?m=1346101988
Failed to load resource: the server responded with a status of 403 (Forbidden) http://silverstripe.varimed.com.pl/cms/javascript/LeftAndMain.js?m=1346101988
Failed to load resource: the server responded with a status of 403 (Forbidden) http://silverstripe.varimed.com.pl/cms/javascript/LeftAndMain_left.js?m=1346101988
Failed to load resource: the server responded with a status of 403 (Forbidden) http://silverstripe.varimed.com.pl/cms/javascript/ThumbnailStripField.js?m=1346101990
Failed to load resource: the server responded with a status of 403 (Forbidden) http://silverstripe.varimed.com.pl/cms/javascript/TranslationTab.js?m=1346101990
Failed to load resource: the server responded with a status of 403 (Forbidden) http://silverstripe.varimed.com.pl/cms/javascript/CMSMain_left.js?m=1346101987
Failed to load resource: the server responded with a status of 403 (Forbidden) http://silverstripe.varimed.com.pl/cms/javascript/CMSMain.js?m=1346101986
Failed to load resource: the server responded with a status of 403 (Forbidden) http://silverstripe.varimed.com.pl/cms/javascript/CMSMain_right.js?m=1346101987
Failed to load resource: the server responded with a status of 403 (Forbidden) http://silverstripe.varimed.com.pl/cms/javascript/SitetreeAccess.js?m=1346101990
Uncaught ReferenceError: hideLoading is not defined /admin/:645
Failed to load resource: the server responded with a status of 403 (Forbidden) http://silverstripe.varimed.com.pl/cms/images/closeicon.gif
Failed to load resource: the server responded with a status of 403 (Forbidden) http://silverstripe.varimed.com.pl/cms/images/loading.gif
Failed to load resource: the server responded with a status of 403 (Forbidden) http://silverstripe.varimed.com.pl/cms/images/mainmenu/logo.gif
Failed to load resource: the server responded with a status of 403 (Forbidden) http://silverstripe.varimed.com.pl/cms/javascript/tinymce_ssbuttons/editor_plugin_src.js?m=1346102186
Failed to load resource: the server responded with a status of 404 (OK) http://silverstripe.varimed.com.pl/sapphire/thirdparty/tinymce-advcode/langs/pl.js?m=1346102186

Avatar
sebastiankozub

Community Member, 59 Posts

29 August 2012 at 6:21am

I have 2.4.6 version, permisiion on those files are 755.

Please don't teel to install 3.0 because I have bigger problems with that :)

Go to Top