Welcome to WebmasterWorld Guest from 18.104.22.168
Forum Moderators: open
I have a site that has been working well and updated with the help of templates. After some time the templates stopped updating the rest of the site. For some reason the template path reference had changed even though the site root seems to be the same in the site definition!
So the template reference used to look like:
1) <!-- InstanceBegin template="/templates/basic.dwt" codeOutsideHTMLIsLocked="false" -->
But when I create a new page and apply a template it now becomes (aware is my site name):
2) <!-- InstanceBegin template="/aware/templates/basicWithBoxes.dwt" codeOutsideHTMLIsLocked="false" -->
The local root folder is still D:\webdesign\AWARE\ so the catalog \templates is still in the root of the site.
When I try to update the site files with the old template refrence (1) - nothing happens. When I try to update with the new reference (2) all the files are found and DW attempts to update but I then get the error message:
Error accessing file "D:\webdesign\AWARE\aware\templates\basic.dwt": bad file path (error code 3)
Very strange! Does anyone have any clue what this could be? I have tried to empty the site cache and so on...
Anyway, probably just do a search and replace on all file to change it back.
<!-- InstanceBegin template="/Templates/basic.dwt" codeOutsideHTMLIsLocked="false" -->
Maybe this could be of help for some one else :)