Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Anthony 22 posts 42 karma points
    Mar 23, 2011 @ 10:15
    Anthony
    0

    Template not getting saved...

    Hi,

     

    I have uploaded our Umbraco CMS website and everything is working fine except the templates. I am not able to save the templates after making the changes It shows the following error,

     

    Its working fine with my local CMS. The error is happenign only with the one which is uploaded to the server. I have checked the alias names too, there appears to be only one name. Please someone let me know what would be the exact problem and how to overcome it?

  • Rich Green 2246 posts 4008 karma points
    Mar 23, 2011 @ 11:35
    Rich Green
    0

    Have you double checked your permissions?

    Rich

  • Anthony 22 posts 42 karma points
    Mar 23, 2011 @ 12:43
    Anthony
    0

    Where do we give the permissions?

     

     

  • Rich Green 2246 posts 4008 karma points
    Mar 23, 2011 @ 12:59
    Rich Green
    0

    The file permissions, if you haven't set them correctly then you'll get errors for sure:

    http://our.umbraco.org/wiki/reference/files-and-folders/permissions

    Do you have direct access to your server?

    Rich

  • Anthony 22 posts 42 karma points
    Mar 23, 2011 @ 13:12
    Anthony
    0

     

    I have given full permissions for the files. However, I tried to do a permissions check (http://our.umbraco.org/wiki/reference/files-and-folders/permissions/perform-permissions-check) and got the following error mesage. I have no idea what the error is about :(..., 

    Yes, I have direct access to my server.

     

    Thank you
    Anthony.

  • Kim Andersen 1447 posts 2197 karma points MVP
    Mar 28, 2011 @ 20:00
    Kim Andersen
    0

    Hi Anthony

    Do you have access to the database. If you do, could you try checking if you have more than one template with the same alias as the one you are trying to save?

    /Kim A

  • jivan thapa 194 posts 681 karma points
    Mar 30, 2011 @ 00:36
    jivan thapa
    0

            public string ListTemplate()
            {
                string templateList = "";
               List < Template> tt = Template.GetAllAsList();
                foreach( var t in tt)
                {
                    templateList += t.Alias + "<br />";
                }
                return templateList;
            }

     

    try and see if you can find any duplicate template alias.

  • jivan thapa 194 posts 681 karma points
    Mar 30, 2011 @ 00:37
    jivan thapa
    0

    Remember to add

    using umbraco.cms.businesslogic.template;

  • umbracov 38 posts 58 karma points
    Apr 06, 2011 @ 01:34
    umbracov
    0

    Any solution/updates for this issue....please update. I get the same message. I have just one template with the alias and the permissions look good too.

    --update ...................it was permission issue....giving permission to the root folder for the Network Service solved the problem.

    Thanks.

     

Please Sign in or register to post replies

Write your reply to:

Draft