PDA

View Full Version : JS Error When Trying to Use Extension


admin140217
05-12-2010, 11:14 AM
I'm getting an error message when I stry to start SiteImport, the following message comes up when I press go:

While executing onClick in WA_SiteTools_Progress.htm, the following Javascript error(s) occurred:

In file "WA_SiteTools_Progress":
ImportNew is not defined

This repeats every time I try to execute a site import.

How do I solve this?

Thanks

admin140217
05-12-2010, 02:02 PM
that I have tried the common fixes as described in the PDF. I am using DWCS4 on Vista Ultimate

Eric Mittman
05-12-2010, 05:25 PM
Have you tried renaming the config folder and re-install the extension? Here are the steps you can take for this:

http://www.webassist.com/forums/showpost.php?p=12293&postcount=2

If you have already done this or get the same result after trying let us know and I will ensure that a ticket is opened for you so we can look into this more.

admin140217
05-13-2010, 06:19 AM
I have not renamed the configuration folder Eric and would rather not, I have a lot of extensions and not all from WebAssist, renaming the folder would affect all of the extensions installed.

Isn't there another way, quite honestly the extension should work without having to rename the configuration folder in the program it's being used in.

Is this something that is specific to WebAssist products and their Javascripts? If I unistall all the WebAssist products and re-install them, would that help the issue?

Thanks

Eric Mittman
05-13-2010, 06:11 PM
Renaming the configuration folder will force you to remove all of the installed extensions, there is no way around this when dealing with the configuration folder. This is not our workaround, it comes directly from Adobe. Here is a link to a page with more info on this and some of the other troubleshooting techniques when experiencing js errors with DW extensions:

http://kb2.adobe.com/cps/191/tn_19105.html

admin140217
05-15-2010, 03:11 PM
Eric,

I have done what you suggested and it worked at first and I was able to use the extention I wanted but then it went back to doing the same thing. Is it possible there is an issue with the extention or DWCS4?

admin140217
05-16-2010, 06:42 PM
Okay, since this happened again, I again renamed the configuration folder and removed every single extension I had installed. All extensions were installed through the extension manager from a fresh download of the product.

I opened DW to make sure all was okay and it was.

I started by installing site import 3.0.3 and opened DW, activated the extension and all is okay. I even imported a website to test it.

I installed many other non WebAssist extensions and after every extension I installed I opened DW and opened Site Import...no errors with it or other extensions.

I installed WebAssist Universal Email 4, I got no overwrite message in the extension manager, opened DW, activated it just to get it going and then closed it. When I tried to open SiteImport 3.0.3 again I got the same error message that started this. The error seems specific to Site Import, when I open UE4, there is no error.

In this experiment I can only conclude that there is some kind of error in the WA extension(s) that is not allowing it to work well with it's sister extensions. Am I wrong given the process I just followed?

What's my next step?

Please help, I can not keep going through this!

Thanks

Eric Mittman
05-17-2010, 02:22 PM
I have opened a ticket so that we can look into this issue further, to update the ticket login and visit your support history area:

http://www.webassist.com/mywebassist/supporthistory.php

admin140217
05-17-2010, 06:08 PM
Eric,

Thanks for opening the ticket, I did update the ticket information. long story short, I have nothing but WA extensions installed and although the Javascript error did not show right away as before, it did eventually.

Thanks

Eric Mittman
05-19-2010, 02:06 PM
It looks like there were a couple of issues going on. In the ticket you posted that you tried renaming the configuration folder and did not get the proper results after doing this. You then updated the ticket to say that after renaming the config folder you then had to delete the cache file to get things working without the js errors.

I noticed that there is no link to the steps for deleting the cache file so I'm adding the link here:

http://assets.webassist.com/technotes/common_installation_issues.pdf

nancy
05-19-2010, 03:57 PM
I have the same problems as admin140217. Reading the posts I have done the same things you advised and still get the error message and non functioning extension.

I am running CS4 and Windows 7 Professional

I too don't like the idea of rebuilding the configuration folder every time I want to use Site Import.

Any solution to the problem yet?

admin140217
05-19-2010, 05:27 PM
Nancy,

I rebuilt the configuration folder 3 times making sure that only webassist extension where installed so I could track what was happening better.

I did still receive the error in the last rebuild but instead of yet another rebuild, I decided to deleted the winfilecache####.dat file and that seemed to have fixed it for me.

good luck!

admin140217
05-19-2010, 05:31 PM
Thanks for the help Eric, as I said in the ticket, I do think something is going on between extension installs that is causing this as in the last rebuil I did I had nothing bu WA extensions installed.

Seems okay now.