I am having a problem when I try and save XSLT files.
Whatever I name the XSLT (e.g. test) this works fine, when I go to save nothing happens (no error message nothing). Moving to another Section changes the Content area, but not the edit xsl, which is still shown.
Logining out and logining back in again (even on another machine) shows the macro and the XSLT file, which ijust contains the default information), but a file with a name similar to 634142789853172300_temp.xslt has been created with all the changes saved to it.
I have checked the settings, and I have other Umbraco sites with the host (also 4.5) without this issue.
Any suggestions as to why this is happening, or where to look to find out?
I've run into this in the past when copying xslt from the admin in Chrome. When I finally inspected in a text editor there was a hidden character at the end of the file that wasn't showing up in Visual Studio. Deleting that character fixed it.
4.5 XSLT saving error
I am having a problem when I try and save XSLT files.
Whatever I name the XSLT (e.g. test) this works fine, when I go to save nothing happens (no error message nothing). Moving to another Section changes the Content area, but not the edit xsl, which is still shown.
Logining out and logining back in again (even on another machine) shows the macro and the XSLT file, which ijust contains the default information), but a file with a name similar to 634142789853172300_temp.xslt has been created with all the changes saved to it.
I have checked the settings, and I have other Umbraco sites with the host (also 4.5) without this issue.
Any suggestions as to why this is happening, or where to look to find out?
Thanking you in advance.
TT
Hi TT
This is a bit of a stab in the dark, but have you checked the permissions on your /xslt folder? You may need to grant "NETWORK SERVICE" full control.
Dan
Hi Dandrayne
Thanks for the suggestion.
Have tried this and it has made no difference.
TT
Hi,
Did this xslt come from another machine or did you create it in this instance of umbraco?
Can you create a new xslt without problems or does that not save either?
Peter
Hi Peter
It is just copied.
I have done this in the past without a problem.
Thanks for the mentioning this.
Regards
TT
I've seen cases where just copying causes this error. Somehow the owner of the file is set wrong then and so you cannot save it from within umbraco.
Easiest way is to create a new xslt from within umbraco.
Peter
I've run into this in the past when copying xslt from the admin in Chrome. When I finally inspected in a text editor there was a hidden character at the end of the file that wasn't showing up in Visual Studio. Deleting that character fixed it.
Peter and David
Thank you for your replies.
Re-typing worked.
Will test if copying to a text editor and then to Umbraco works.
Thanks
TT
No did not work.
Have to re-type.
Regards
TT
is working on a reply...