Renaming templates, DreamWeaver CS6, error code 3

Hello,
Thanks in advance.
# Settings
Local Site Folder: "C:\some\local\dir\"
Server Folder: "X:\"
Web URL: "http://some.remote.site/dir/"
Links relative to: ( ) Document   ( ) Site root    (X) Doesn't seem to matter, same thing happens either way
Cache Enabled
# Problem setup
## Create a template @{LocalSiteFolder}\templates\SomeTemplate.dwt :
<!DOCTYPE html>
<html class="no-js" lang="en" xmlns="http://www.w3.org/1999/xhtml">
<!-- TemplateInfo codeOutsideHTMLIsLocked="false" -->
<head>
  <!-- TemplateParam name="title" type="text" value="My Favorite Title" -->
  <title>@@(title)@@</title>
</head>
<body>
  <!-- TemplateBeginEditable name="body" -->
  <!-- TemplateEndEditable -->
</body>
</html>
## Create a page based off that template and save it to @{LocalSiteFolder}\SomePage.html :
<!DOCTYPE html>
<html class="no-js" lang="en" xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/SomeTemplate.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
  <!-- InstanceParam name="title" type="text" value="My Favorite Title" -->
  <title>My Favorite Title</title>
</head>
<body>
  <!-- InstanceBeginEditable name="body" -->
  <h1>User Added Content</h1>
  <!-- InstanceEndEditable -->
</body>
<!-- InstanceEnd --></html>
## Close open files.
# To cause a problem
## Rename the template to @{LocalSiteFolder}\templates\SomeOtherName.dwt.  Update child pages if asked (this update introduces the problem)
## Add something to the template; upon saving the template you are asked if you want to update pages; click update and receive an error code 3.
## Open @{LocalSiteFolder}\SomePage.html.  Notice that the template's path has been changed to include the site's subdirectory (problem) in addition to its new name! :
<!DOCTYPE html>
<html class="no-js" lang="en" xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/dir/templates/SomeOtherName.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
  <!-- InstanceParam name="title" type="text" value="My Favorite Title" -->
  <title>My Favorite Titel</title>
</head>
<body>
  <!-- InstanceBeginEditable name="body" -->
  <h1>Hello World</h1>
  <!-- InstanceEndEditable -->
</body>
<!-- InstanceEnd --></html>
#  Any ideas?
Thank you,
Travis

Thanks for replying.
After renaming a template and letting DreamWeaver update the child pages, DW suddenly starts getting an error code 3 whenever modifying that template again.  The problem is that DreamWeaver is adding the site's remote Web URL to the child page's local template instance path. 
Deleting the Web URL from the site's settings seems to let DW write the proper template path in child pages.
* Settings
Local Site Folder: "C:\some\local\dir\"
Server Folder: "X:\"
Web URL: "http://some.remote.site/dir/"  <-- leaving this blank seems to fix issue
* Issue / Problem
** Creating a template @{LocalSiteFolder}\templates\SomeTemplate.dwt with the following header.
<!DOCTYPE html>
<html>
<!-- TemplateInfo codeOutsideHTMLIsLocked="false" -->
** Creating a page based off that template and saving it somewhere yields this following header. (note that template path is relative to the local site folder)
<!DOCTYPE html>
<html>
<!-- InstanceBegin template="/Templates/SomeTemplate.dwt" codeOutsideHTMLIsLocked="false" -->
** Renaming the template to something else promulgates the change to the child pages, yet it is adding the Web URL subdirectory to the template path. 
<!DOCTYPE html>
<html>
<!-- InstanceBegin template="/dir/templates/SomeOtherName.dwt" codeOutsideHTMLIsLocked="false" -->
* Conclusion
Dreamweaver's adding the remote sub directory to the local path seems like an odd feature.  Is there any particular reason why I should use the Web URL if I can already publish content via the Server Folder?  It seems that the Web URL is best left out of a site's settings.
Any thoughts?
Thank you,
Travis

Similar Messages

  • Application manager is not updating  photshop or dreamweaver get Error Code: U43M1D204

    application manager is not updating  photshop or dreamweaver get Error Code: U43M1D204

    http://forums.adobe.com/message/4629442#4629442

  • Dreamweaver cs6 error 148:3

    Whenever I launch Dreamweaver CS6 I get a big message with an error code, "Error: 148:3"

    https://helpx.adobe.com/creative-suite/kb/error-licensing-stopped-windows.html

  • Install error on adobe after effects cs6 (error code 15)

    I have Windows 8 and when I try to install after effects cs6 it gives me an error message saying ,"Inconsistency in the installer database. Please restart your computer and install again." it has error code of 15. How do I fix this? I've already tried restarting and lots of different things. Please respond if you have the same problem or know the answer please.

    Exit code 15 installing
    Mylenium

  • I got this error code when I was updating camera raw in CS6 Error Code: U43M1D207.

    I got this error code when iI was trying to update camera raw in CS6 U43M1D207

    Have you tried to download and install directly from Adobe, instead of using the Updater in PS?
    http://feedback.photoshop.com/photoshop_family/topics/camera_raw_6_6_update_fails_to_insta ll

  • PHOTOSHOP CS6 ERROR CODE 16

    Problem with photoshop CS6 in my account on my computer. It says:
    Please uninstall and reinstall the product.
    If this problem still occurs, please contact Adobe technical support for help, and mention the error code shown at the bottom of this screen.
    ERROR CODE: 16
    I tried reinstalling the product, but the problem still persisted.
    Please HELP.
    Thank you.

    Please refer:
    http://helpx.adobe.com/x-productkb/policy-pricing/configuration-error-cs5.html
    Regards,
    Ashutosh

  • PhotoShop CS6 Error Code: U44M1P7

    I am trying to update PhotoShop CS6 to Version 13.0.1.3 and keep getting Error Code: U44M1P7. How can I resolve the issue?

    Seems few critical files required for patching are modified or deleted, Please re-install PS.
    Please provide me following log files to ascertain the same.
    PS patch Installer logs
    For Win:
    Program Files(x86)\Common Files\Adobe\Installers
    AAM logs
    For Win:
    C:\Users\<username>\AppData\Local\Adobe\AAMUpdater
    You can zip all the files together and send us through mail to [email protected]
    Appreciate your help. Apologize for the inconvenience.
    Regards,
    Ashutosh

  • CS6 error code 7

    I've done the perfunctory check to make sure no programs are running, etc... but Photoshop CS6 will not install on my machine.  I have a current version of MAC os Lion 10.7.4.  Everytime I try to install the program I receive an error code #7 at about 71% installed.  What is the problem????

    Please review your installation logs to locate the source of your difficulty.  You can find details on how to review the logs at Troubleshoot with install logs | CS5, CS5.5, CS6 - http://helpx.adobe.com/creative-suite/kb/troubleshoot-install-logs-cs5-cs5.html.

  • Dreamweaver CS6 error "out of memory" as standard domain user; works fine as admin level user

    i have a recent issue come up: a Dreamweaver CS6 user has started getting an out of memory error as he uses the app. when i login as local admin level user, there are no problems. its a Windows 7 64bit domain client user, so wont have local admin rights.
    anyone come across this please.
    Danny Jacobs
    UBM
    London office

    This page might help:
    http://support.microsoft.com/kb/947246
    I would spend some time on the Microsoft site to find the exact error you're seeing. W7 is  known for its  permissions issues.
    If you don't have full rights to the machine, you'll want to bring up the problem with your IT guy/gal.

  • Dreamweaver CS6 Error

    When working with a page in Dreamweaver that has a templates assigned to it I start to edit code. If I click anywhere outside of the page after making changes to the code I see this error
    After a bit of research and help I discoved that the cause was content holders in the page IE: {module_contentholder,61250}. Once I remove those from the template the error stops happening.
    Are others seeing this error? Is there a way to stop it without removing the content holders? I assume this is a DW bug but am I correct in this assumption?
    Couple Notes: When editing the code I only make changes to the page code, not the template code. Also for a more in depth discussion on this see my original forum post on the DW forums.

    Maybe I miss understand you or I wasn't clear. This is a normal template without content:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml">
    <!-- InstanceBegin template="my-template.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <!-- InstanceBeginEditable name="doctitle" --><title></title><!-- InstanceEndEditable -->
    <!-- InstanceBeginEditable name="head" -->
    <!-- InstanceEndEditable -->
    </head>
    <body>
    <!-- InstanceBeginEditable name="ContentArea" -->{tag_pagecontent}<!-- InstanceEndEditable -->
    </body>
    <!-- InstanceEnd --></html>
    I have 3 content holders within template but outside the
    <!-- InstanceBeginEditable name="ContentArea" -->{tag_pagecontent}<!-- InstanceEndEditable -->
    IE:
    <body>
    <!-- InstanceBeginEditable name="ContentArea" -->{tag_pagecontent}<!-- InstanceEndEditable -->
    {module_contentholder,12345}
    {module_contentholder,23456}
    {module_contentholder,34567}
    </body>
    I save the template and close the template. I then open a page that has the template applied to it. I start to edit code contained within {tag_pagecontent} when I click outside of the page the error I mention is then thrown. However if I remove the content holders from the template the error does not happen. I never attempt to mess with anything outside the {tag_pagecontent} code.

  • Dreamweaver CS6 corrupting code on upload

    I have a serious issue that I cannot figure out. I've been using CS6 for about a month now and the first site I uploaded with Dreamweaver had some javascript issues. I worked around that by uploading using Fetch. Then the current site I am working on I had javascript and PHP code not working. I viewed the files online and found that the uploaded files have all linebreaks removed. Many files start with a comment line which comments out the whole file when consolidated to one line.
    I have found that it does not do this to every file I unload and I have been unable to to determine why it does some and not others. I read about the "Line Break Type" setting and have confirmed that it is set to LF (Unix). This really has me stalled and frustrated right now. Time is money and CS6 has crippled me until I figure this out.
    Anyone have this problem?  I have searched and the only thing I found was referencing the Line break setting.

    I just discovered something mind blowing. Not sure if it is a clue or not. Here is the first few lines of a file that was messed up:
    <?
    $feed_loc = "../banner_data.xml";
    // open the feed file defined in inc_variables.php
    $ff = fopen($feed_loc, 'w') or die("can't open the feed file");
    $feedData = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n";
    $feedData .= "<Banner\n";
    $feedData .= "\t bannerWidth=\"880\"  \n";
    $feedData .= "\t bannerHeight=\"250\"   \n";
    And when I upload this file it looks like this:
    <?$feed_loc = "../banner_data.xml";// open the feed file defined in inc_variables.php$ff = fopen($feed_loc, 'w') or die("can't open the feed file");$feedData = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n";$feedData .= "<Banner\n";$feedData .= "\t bannerWidth=\"880\"  \n";$feedData .= "\t bannerHeight=\"250\"   \n";
    I discovered that I can put my cursor after the first line "<?" and hit return. Then when I upload the file the line breaks remain intact for the whole file. I can even delete the line break that I just created and it will retain the correct format. I tested this on several of the broken files and it works each time.
    Now this worked on several PHP files, but it did not work on an html file I tested where all of the line breaks were stripped and the code is jumbled up.

  • Failure to update PS-CS6 error code u44m1p7

    Hi:  Repetaed failure to update my PS CS6. Getting error U44M1P7. Other modules of Craetive suite CS6 (eg: bridge, illustrator) update properly. Have PS-CC  also and is running properly. Just installed Adobe application manager update thinking it will solve problem. Any ideas
    Natraj

    Please send me the installer logs so that we can see what could be the reason for the failure.
    Location:
    Mac: /Library/Logs/Adobe/Installers/
    Win32 : C:\Program Files\Common Files\Adobe\Installers
    Win 64: C:\Program Files (x86)\Common Files\Adobe\Installers
    The name would be like: <Adobe Photoshop CS6 Support <Update version> (date/time)>
    Send them to [email protected]
    Further, which version update was failing??
    Regards
    Pragya

  • Photshop CS6 - Error Code 1

    I have installed Photoshop CS6 but when launching it, I get this error:
    I have tried reinstalling mutiple times and that had no effect.
    I am on Windows 7, 64bit.

    The complete steps which the Adobe Support Advisor identified can be found at http://helpx.adobe.com/creative-suite/kb/troubleshoot-error-messages-bootstrapper-cs5.html.  The specific portion which is relevant to your situation is as follows:
    A restart is pending (Windows)
    If receive the error "Installer has detected that a machine restart is pending. It is recommended that you quit the installer, restart try again," do the following:
    Restart the computer and try the installation again.
    If the installation fails, delete the InProgress registry key:
    Disclaimer: This procedure involves editing the Windows registry. Adobe doesn't provide support for editing the registry, which contains critical system and application information. Make sure to back up the registry before editing it. For more information about the registry, see Windows registry information for advanced users on the Microsoft support site, or contact Microsoft.
    Launch Windows Registry Editor.
    (Windows XP) Choose Start > Run, type regedit in the Open textbox and click OK.
    (Windows Vista/ Windows 7) Choose Start, type regedit in the Search box, and press Enter.
    Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager.
    Delete the InProgress key.
    From your description of steps performed it appears you will want to proceed with Step 2 of editing your registry.  You may also want to try running Windows Update and seeing if there is any updates available or pending.

  • Dreamweaver CS6 error message

    I am teaching a unit to my Year 11 class, and we set up their websites as a group, all following the same steps to set up their root folder and start creating pages etc.  Out of the entire class, for some reason 5 students get an error message every time they try to save their site.  The error says "encountered incorrect argument".  It appears that the page is still saved in the folder, however you cannot preview it in a browser so it's obvious there is something wrong.  I have checked that the pages are saved as html files and that they are in the correct folder.  We are running Windows 7.  Has anyone encountered this before?

    Have you tried clearing the cache http://www.dmxzone.com/go/16740/clearing-dreamweaver-s-cache/ or removing the personal configuration folder http://forums.adobe.com/thread/494811.

  • Could not update Premiere Pro CS6, Error Code: U43MID207

    Premiere Pro CS6  6.0.5  Update er. code U43MID207 ?
    Message was edited by: Kevin Monahan

    Can you do a manual update... and IS there an update past 6.0.5?
    All Adobe updates start here and select product, read to see if you need to install updates in number order, or if the updates are cumulative for the individual product http://www.adobe.com/downloads/updates/

Maybe you are looking for

  • Error on Mac- A copy of firefox is already open. only one copy of firefox can be open at a time.

    error message on mac - a copy of firefox is already open. Only one copy of firefox can be open at a time.

  • Driver crashes/not functioning correctly

    MSI K8B SLI PLatinum (onboard sound disabled in BIOS) AMD Athlon 64x2 4800+ ?GeForce 8800 GTS Windows Vista Home Premium x64?(fresh install and updated with all current updates, incl. SP) 2gb of RAM Seagate Barracuda 500gb HD Soundblaster X-Fi Fatalt

  • Snr reset needed ?

    Until recently, I used to sync at over 10Mbps but then my line deteriorated to the point where I had difficulty using the phone due to crackling. FInally, a couple of weeks ago, it got to the point where callers were unable to connect, getting a mess

  • Removing URL links when printing ical

    How do I remove the url links that were created for the to dos that originated in mail? What I don't understand is why do the url links only appear in the print view. I print my to do list and it's full of useless url lines. Any thoughts? Thanks.

  • Import powerpoint 2007 animation to Captivate 3

    I've created a single-slide presentation in powerpoint 2007 that has an animated smart art that flys on to the screen. I saved my powerpoint 2007 file as a ppt not pptx. I imported the file to Captivate 3 as animation. but when I preview the project,