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

get stuck logging in to CMS


4 Posts   1546 Views


5 June 2010 at 11:26am Community Member, 17 Posts

Hi, people:

I don't know why but I get stuck on CMS logging in page on a clean SS2.4.0 install. Using firebug, I can see that I always get 13 javascript errors. See attachment.

However, if I append "?isDev=1" to the url, everything works fine. Anyone can help me out?

Thanks in advance.

Attached Files

5 June 2010 at 5:57pm Forum Moderator, 921 Posts

Hi there,

Please double check the assets directory has correct permissions. The problem could be that combined javascript files aren't being created, and so they don't get loaded properly. assets/_combinedfiles/ should have been created, and have 3 js files in there.

If in dev mode, combined files are not used. This would explain why it works in dev mode.

The alternative is to just disable this completely, addng this into mysite/_config.php




5 June 2010 at 10:52pm Community Member, 17 Posts

Thanks a lot. This solved the problem.

The _combinedfiles folder was created but had no write permission. It was an empty folder. The reason it could not be set with correct permission probably is that it was owned by the apache server, not the script. I then just add Requirements::set_combined_files_enabled(false); to the _config.php file and it works.

I don't actually understand what the "combined files" thing is and why it is used in live mode by default but not in dev mode. Is there any documents explaining this bit on the SS official site? I'd like to learn something about it.


5 June 2010 at 11:27pm (Last edited: 5 June 2010 11:27pm), Forum Moderator, 921 Posts

There's a bit of information here: [url][/url]