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, Ed, biapar, Willr, Ingo, swaiba

cms css not loading

Go to End

3 Posts   1831 Views


Community Member, 4 Posts

5 May 2011 at 11:42pm

Basically, the css files in /cms/css directory are not picked up by in the backend, viewing the content of them in firebug I get a 404 page from my own site. I recently had everything working on a staging site, but since moving to a live site the CMS is not loading properly. Paths are set properly because css is being picked up from sapphire directory and images are being picked up from the css/images directory. I am wondering if it has something to do with the .css?m=1234567890 number at the end of each link src.

Any help would be greatly appreciated, I've been trying to fix this for 3 days now.



Forum Moderator, 5523 Posts

6 May 2011 at 2:15pm

Are the files actually on the filesystem? It could be that the cms/css folder was not migrated. Other thing to check is the permissions on the files - make sure they are readable by the webserver. The ?m=12 should not affect anything (but you could try without it, open the 404ing link in a new tab them remove after the ?)


Community Member, 4 Posts

6 May 2011 at 3:23pm

Edited: 06/05/2011 3:57pm

Thanks Willr,

It was the permissions, the folder and contents was 750. But now I've another problem in that is has overwritten my theme css, should I put empty layout and typography css' into my theme css folder or will that just take me back to my original problem of the css not loading in the cms?

Edit: Fixed, page.php was calling for the css from my theme (not layout and typography) but was loading them anyway.