Hello,
I'm trying to export my website without markup and I keep getting the following error:
"While executing onLoad in ExtractTemplateXML.htm, a javascript error occurred"
Does anybody how to fix this?
Thanks in advance.
PS. I used to be able to do this without a problem.
When Dreamweaver reports JavaScript errors, the answer is usually the remedy in this Dreamweaver FAQ article.
Thanks David.
It was not caused by what was listed in your faq article but it got my brain in the right frame of mind.
I actually deleted the whole of my personal configuration folder and nothing happened.
That got me thinking that if it's not something in my personal configuration then it's either the program (which propably would've been a known bug) or something in my site.
I then looked for any folders (in my site) that are used by DW only, and deleted the .notes folder.
And it worked. I don't know what was in there, but deleting the contents, fixed the problem.
Thanks for your help.
Murray, I code manually and have become accustomed to removing any unecessary code and comments before moving a site to production.
Apart from that however, I sometimes work with others who don't use Dreamweaver at all and therefore it is not right to send a bunch of files with useless, to them, comments. They would start removing them, cursing in the process.
I would probably do the same if someone send me files with code/comments only their IDE could understand.
Thankfully, DW has a way to keep everyone happy!
You have lost your best backup for your files by doing this. I wouldn't ever....
How come? When you export a site without template markup, you must export it to a folder outside the site. The original remains intact. See: http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WScbb6b82af55445948 22510a94ae8d65-7a89a.html.
Yes, you do have a point there.
However, making regular backups solves that problem.
I happen to keep copies of all of my important data (ie. work stuff) in 3 different drives (1 local hard drive, and 2 external backup drives).
The 3rd is utilised just in case the other 2 fail simultaneously (paranoia?!).
![]()
Oh, I almost forgot, occasionally I also burn my work files to DVDs and keep them in a different location.
Hi - I'm having the same problem (js error on exporting site w/out markup) and the following has not remedied it -
It occurs at Line 78 if that's any indication of the problem. Dreamweaver then just hangs, have to stop the process.
Thanks for any insight!
North America
Europe, Middle East and Africa
Asia Pacific