Dreamweaver CS3 template-update "error code 3" (a solution)
this error occurs when update template, , there file bad path.
it's weird, really. site knows file attached template you're editing.
but when examine file, see path template wrong.
for example, template in {root}/site/webdocs/templates/sometemplate.dwt.
the correct path template in file /templates/sometemplate.dwt,
since "webdocs" root folder files pushed web.
somehow, after moving things around, files had path changed to
/webdocs/templates/sometemplate.dwt
i'm sure i'm 1 screwed files, after that, things got weird.
dreamweaver must tell files want updated using template name,
but update if file has correct path template.
so, when modify template , save it, dw asks if want update files.
it shows me list of files updated. (it can long.)
then come 10 or 12 error-message popups say:
invalid path: {root}/site/webdocs/webdocs/templates/sometemplate.dwt
the problems following:
- the message doesn't explain real issue. namely: file has reference
template has same name, has invalid path. - it doesn't tell which file has bad template-reference.
have inspect every file references template, 1 one, until find them. - the list of files updated can quite long, 8 or 10 are
shown @ time, , you can't copy list.
the best solution found use number of errors clue.
generally, problem occurred because there orphaned folder in which
files hadn't had template re-applied--so number of errors matched number
of files in directory appeared in update-list.
going folder , opening file, found page didn't right, , that
the template path @ top of html code indeed invalid. (files looked
good had /templates/sometemplate.dwt @ top. wrong had
/webdocs/templates/sometemplate.dwt
the manual solution: modify > templates > apply template page each file.
(an ambitious automated solution have been write script modify the
paths in problem files.)
this implies site not defined properly. should never see server's root folder in local files panel. locally, site root hard drive folder in files , assets reside. example: c:\yoursite\
your remote server's root directly must defined in remote server settings. see screenshot.
following model, local site folder might this:
site - yoursite (c:\yoursite)
about.html
contact.html
index.html
services.html
templates
some_template.dwt
+ images
+ styles
+ scripts
+ fonts
nancy o.
More discussions in Dreamweaver support forum
adobe
Comments
Post a Comment