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

Suddenly Can't Access CMS


Reply


6 Posts   1601 Views

Avatar
animasola

Community Member, 121 Posts

21 February 2010 at 11:00pm

I was working on creating screenshots for a manual I was developing for schoolwork when all of the sudden, I am unable to access the administration panel of Silverstripe. I tried to do it locally and still, I can't access it. I know this may be very vague but it just hangs where the "Welcome to SILVERSTRIPE now loading" logo is flashed and it stops there. It's been like that for a pretty long while now and I can't seem to find the cause. It just happened all of the sudden.

Can anyone help?

Avatar
MateuszU

Community Member, 89 Posts

22 February 2010 at 10:26am

Looks like some javascript error that stops the browser. Check the browser log for what's happening. Any upgrades lately?

mat

Avatar
SSadmin

Community Member, 90 Posts

23 February 2010 at 10:34am

can you fireup the firefox and try to catch the error.. we will be analyse the problem easier afterwords.

Avatar
animasola

Community Member, 121 Posts

23 February 2010 at 5:58pm

From firebug, it gave me over 26 errors before it stopped loading.

Here they are:

Class ss.i18n not defined
[Break on this error] if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined');\n
en_US....1106170 (line 2)

Enumerable is not defined
[Break on this error] Object.extend(Effect.Queue, Enumerable);
effect...3304797 (line 210)

Class is not defined
[Break on this error] var Draggable = Class.create();
dragdr...6385658 (line 134)

Ajax is not defined
[Break on this error] Ajax.Autocompleter = Class.create();
contro...2444017 (line 305)

Class is not defined
[Break on this error] Tree = Class.create();
tree.j...1214100 (line 33)

Behaviour is not defined
[Break on this error] Behaviour.register({
LeftAn...2803138 (line 68)

Class is not defined
[Break on this error] TreeAPI = Class.create();
LeftAn...3552344 (line 28)

Class is not defined
[Break on this error] CMSForm = Class.extend('ChangeTracker').extend('Observable');
LeftAn...0462618 (line 2)

Class is not defined
[Break on this error] Effect.ReSize = Class.create();
SideTa...2103794 (line 12)

Class is not defined
[Break on this error] SideReports = Class.extend('SidePanel');
SideRe...2103794 (line 1)

Class is not defined
[Break on this error] LangSelectorClass = Class.create();
LangSe...0451209 (line 6)

Behaviour is not defined
[Break on this error] Behaviour.register({
Transl...2095317 (line 1)

Class is not defined
[Break on this error] addpageclass = Class.create();
CMSMai...2882580 (line 12)

Behaviour is not defined
[Break on this error] Behaviour.register({
CMSMai...1589425 (line 72)

Behaviour is not defined
[Break on this error] Behaviour.register( {
calend...5958848 (line 130)

Class is not defined
[Break on this error] ToolbarForm = Class.create();
tiny_m...2194360 (line 1)

Class is not defined
[Break on this error] TinyMCEImageEnhancement = Class.create();
TinyMC...3925459 (line 5)

Class is not defined
[Break on this error] (505 out of range 350)
admin (line 505)

Class is not defined
[Break on this error] TreeDropdownField = Class.extend('Observable');
TreeSe...5111079 (line 4)

Class is not defined
[Break on this error] ThumbnailStripField = Class.create();
Thumbn...6554444 (line 1)

Behaviour is not defined
[Break on this error] (505 out of range 350)
admin (line 505)

Behaviour is not defined
[Break on this error] (828 out of range 350)
admin (line 828)

Behaviour is not defined
[Break on this error] (761 out of range 350)
admin (line 761)

Behaviour is not defined
[Break on this error] (778 out of range 350)
admin (line 778)

Behaviour is not defined
[Break on this error] (828 out of range 350)
admin (line 828)

window.onresize is not a function
[Break on this error] window.onresize(true);
LeftAn...2803138 (line 8)

I don't remember any upgrade recently prior to the errors. As I was making the manual, I was able to access it and after a few minutes, it just suddenly stopped working. Any ideas?

Avatar
SSadmin

Community Member, 90 Posts

25 February 2010 at 2:02pm

Dont quite know whats happened there.
for me, it looks like the code in cms/code/* has not be executed quite well.
Whats your permission on your silverstripe file.. change to 755 and assign right group and ownership then, have a run.

Avatar
animasola

Community Member, 121 Posts

25 February 2010 at 6:07pm

I think I understand it now. You see, I blocked the prototype javascript library in order to use my mootools library for my content slider to work. I put this on the config:

Requirements::block('jsparty/prototype.js');

The weird thing is, it pretty much worked the past few months up until a few days ago. I just don't understand why is that. Is it because of version 2.3.6?