Closed Bug 610508 Opened 14 years ago Closed 14 years ago

Custom CSS rules aren't taking effect

Categories

(developer.mozilla.org Graveyard :: General, defect)

defect
Not set
blocker

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: craigcook, Assigned: sheppy)

References

()

Details

Custom CSS rules added via the Mindtouch control panel aren't taking effect on the staging server. I can't reproduce the bug locally so it's possible this is related to the other server/config issues.
Target Milestone: --- → 0.9.2
Sheppy:  Can you provide some examples of where this is broken on stage9 so we can see what this looks like?  Thanks!
Assignee: nobody → jeremy.orem+bugs
The most obvious and simple case is here:

https://developer-stage9.mozilla.org/en/error_console

Compare to:

https://developer.mozilla.org/en/error_console

The box at the top that starts with "Gecko 2.0 note" is missing all of its styling on the assorted divs that make up that box.
Sheppy, can you give me admin access on stage9 so I can take a look? Username is craigcook
done.
It looks like it's the same caching/something problem that's breaking the custom toolbar. Looking at https://developer-stage9.mozilla.org/skins/common/custom_css.php (which should be generated server-side with the custom CSS rules) shows the comment:

/* ETagCache Error: Missing file: cache-developer-stage9.mozilla.org.9.12.3-b34bf80cb4ea5e9a5b78de546efca525 */

Similar to what we're seeing in bug 610504. So it seems like these settings are being saved in the DB, but the files aren't being generated on the server? Maybe some folders/files need to be made server-writable?
sheppy: can you please connect with mindtouch to see if we can get some help on this?  do we usually just add their support guys to bugs?
I've filed a ticket with MindTouch support.
Assignee: jeremy.orem+bugs → eshepherd
This thread (http://forums.developer.mindtouch.com/showthread.php?t=6989) at the Mindtouch forums describes the exact same problem, and there it was solved by making the cache folder writable.

So if we chmod /skins/common/cache/ that might do it.
Alright, it is now writable to dekiwiki and apache.
Custom CSS is now working correctly, but the editor toolbar is not.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
(In reply to comment #10)
> Custom CSS is now working correctly, but the editor toolbar is not.

I suspect the editor needs a different file/folder made writable but I'm not sure which. But we can discuss that over on bug 610504. 

Existing custom styles are in effect and I just made a test edit to verify that changes take effect as well, so I think we can call this resolved for now.
verified fixed https://developer.mozilla.org/en/error_console
Status: RESOLVED → VERIFIED
Version: MDN → unspecified
Component: Deki Infrastructure → Other
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.