Please report confirmed 4.1 bugs in our issue tracker at CodePlex

can not edit stylesheet or template

11/20/2009 6:45:01 PMAvatarCalvin FreiLocation: Zurichposts: 20Karma: 50

Umbraco Version: 4.1
Windows: XP, Vista and Seven

Hello everbody. I installed Umbraco 4.1 on a test server. Our problem is, that we can not edit exist Stylesheet or Template. We see the white Box on the right but not the code in the white Box. You can see in the picture my problem :-). And yes, i can create a new Stylesheet or Template and i have the same problem. I hope you can help me :-).

Picture: img5.imagebanana.com/view/mmg4z9jh/umbracobox.png

Calvin

11/20/2009 6:49:00 PMAvatarDanLocation: bristol, ukposts: 253Karma: 317
Comment with ID: 19821

On a clean installation, the templates and style sheets will be empty.  When you say you can't edit them, what happens if you add e.g. a CSS class and save?

11/20/2009 7:03:49 PMAvatarCalvin FreiLocation: Zurichposts: 20Karma: 50
Comment with ID: 19822

The same problem :-(, i see only the white box and no code...

11/20/2009 10:28:02 PMAvatarslaceLocation: Coogee, Sydney, AustraliaCore.posts: 569Karma: 1526
Comment with ID: 19827

Do you receive any JavaScript errors? Can you try XSLT's as well?

4.1 has a new editor for CSS/ JavaScript/ Templates/ Python/ XSLT which uses CodeMirror (IIRC) to do syntax highlighting. For some reason it doesn't seem to be running on your install.

11/20/2009 11:04:39 PMAvatarCalvin FreiLocation: Zurichposts: 20Karma: 50
Comment with ID: 19828

The XSLT section have the problem too. One week ago i become a JavaScript error like DependencyHandler.axd, but yet i not become the error again and because of this i can not say the full error :-/.

11/22/2009 3:06:26 AMAvatarslaceLocation: Coogee, Sydney, AustraliaCore.posts: 569Karma: 1526
Comment with ID: 19850

can you change the ClientDependency mode to debug, in the config file in /data/clientdependency.config

11/25/2009 9:33:53 AMAvatarCalvin FreiLocation: Zurichposts: 20Karma: 50
Comment with ID: 20094

Thank you for your reply. I change the ClientDependency mode to debug, but nothing has changed.

2/2/2010 11:23:34 PMAvatarMarkLocation: Philadelphia, PAposts: 1Karma: 21
Comment with ID: 25215

Does the website have permission to modify the App_Data folder?

If it helps, I had a similar issue with modifying Templates and setting ClientDependency to debug also didn't help.  The issue stemmed from the website not having permissions to modify the App_Data folder, which is where the ClientDependency module apparently tries to write out files (which in turn happened to be urls/files that calls to CodeMirror were using, which in turn lead to lead to a null value error on "getCode: function() {return this.editor.getCode();}," in codemirror.js.

2/3/2010 3:42:26 PMAvatarRik HelsenLocation: ghentposts: 160Karma: 243
Comment with ID: 25286

- did you rename the admin folder?
- do you have any 404 errors while the items on the page is loading? (use firebug and the "NET" panel to check this)
- are you using the original URL that you installed the website for?

 

 

2/15/2010 1:19:53 PMAvatarCalvin FreiLocation: Zurichposts: 20Karma: 50
Comment with ID: 26360

Thanks for yours replies. I have deinstalled Umbraco 4.1 and so I can not test your solutions, sorry :-(... but I answer your questions for the other Umbracians.

@ Mark

The website have the permissions to modify the App_Data folder

@ Rik Helsen

- No I didn't rename the admin folder
- As far as I know I didn't have any 404 errors on the page
- Yes...

Please login or Sign up To post replies