PDA

View Full Version : DataAssist 2.0.5 Wizard JavaScript error


Kevin373660
07-14-2009, 07:14 AM
I was trying to set up the product catalogue, allowing the DataAssist 2.0.5 Wizard to configure and create all of the pages with extra options at the same time (Search Server Behavior for a Search page and add to Results page, Dynamic Menus, Filter & Selection for the Results page, and Multiple Select Lists/Menus). After Step 10 the results.php page was created the following error occurred, stopping the creation process for the other pages:

Error message:
Adobe Dreamweaver CS3

While executing onMouseUP in WA_AppBuilder.html, the following JavaScript error(s) occurred:

At line 2021 of the "D:\Program Files\Adobe\Adobe Dreamweaver CS3\Configuration\Shared\WebAssist\ApplicationBuil der\AppBuilder_Object.js":
JavaScript error while loading WADA_5DatabaseSearch.htm:

Unable to open script file "D:\Program Files\Adobe\Adobe Dreamweaver CS3\Configuration\ServerBehaviours\Shared\UltraDev \Scripts\ssClasses.js"(error 3).

I have opened a ticket #103818 with Tech Support. I need to also use DataAssist to create the Admin backend. The error maybe triggered by one of the options selected. I believe that previously I had to skip the Search Page option to bypass a similar problem with the earlier version. If tech support bogs down finding a full solution, is there a workaround? Or does this error indicate that I should not proceed?

Ray Borduin
07-14-2009, 10:02 AM
The error may not even cause problems. It looks like something we can fix pretty easily, but I can't figure out why that file wouldn't exist... That is a file in a location that DW installs. You could probably search for ssClasses.js and move it to that location to fix the problem. The support incident is the right direction to go in.

Kevin373660
07-14-2009, 10:57 AM
I found the ssClasses.js file in:

D:\Program Files\Adobe\AdobeDreamweaverCS\configuration\Share d\UltraDev\Scripts\ssClasses.js

as you mentioned it should have been in the following directory:

D:\Program Files\Adobe\Adobe Dreamweaver CS3\configuration\ServerBehaviors\Shared\UltraDev\ Scripts\ssClasses.js

I had to create the missing folders and copied the file to the correct directory. Thanks Ray. I have been waiting for direction on this from tech support since last week. I will try to run the wizard again and see if that helps.

Kevin373660
07-14-2009, 06:42 PM
Issue still unresolved. I have updated ticket with information. Removed and reinstalled DataAssist as program incase that helped. However, it still acts up before completing STEP 8, STEPS 9 & 10 are blank. Program does not create any pages. I just seems stuck in an endless loop. I have not tried running the wizzard without the Search page generation and function. Perhaps that could be added later as a possible workaround? Will post back if tech can find a cause or solution that might help others if they run into this.

Kevin373660
07-15-2009, 02:18 PM
Tech support replied with these recomendations:

1. Make sure that you have the files panel closed when running the wizard.
2. Rename the configuration folder to configuration_back. This will have the effect of disabling all of the installed extensions. You should open the extension manager and remove all extensions to clear the extension mangers cache. After removing the extensions you can then reinstall them making sure to download the latest versions from your order history. When installing the extensions if you are prompted to overwrite any existing files select 'yes to all'.

I tried creating only the Resaults/Search/Detail pages for the cataluge, Results page created and then ran into the same original error after finishing the 7 STEPS. DW error poped up: "While executing onMouseUp in WA_AppBuilder.html, a JavaScript error occured.

There is a a WA_AppBuilder.php file located under the WA_DataAssist website directory. Perhaps something is looking for the wrong file type?

I am thinking of trying without the Search page/Function. Would it be a lot of work to add after? Not my first choice as I need to run DataAssist with the search functionality min. 7 times in all including admin backend.

To access the DataAssist Wizard, I have to opened a blank.php (no headers or anything set up) in the target directory where I want the file to be created. This time code was writen into the blank.php. I looks to me like it inserted both editable region codes for Search and the Detail pages, right on top of the Doctype lines. Looks like similar effect in the Resaults.php page. The template editable region was ignored and it just did its own thing. And yes, I did have the correct template and editable region configured and it showed up fine durring the configuration process.

Ray Borduin
07-16-2009, 06:12 AM
What is your incident number? I'll contact you and try to debug this with you to find the cause.

Kevin373660
07-16-2009, 07:13 AM
I sure appreciate the offer Ray. The Ticket is #103818. My number is in the last entry.

Kevin373660
07-17-2009, 08:29 AM
Sorry to bother you Ray. Regarding Ticket 94937 for this issue, Jimmy Wu updated and asked and I sent some files for him to look at yesterday morning your time. I havn't heard back and would appreciate an update on their progress. Am I to be on standby? I stayed in the office tilll 9:00pm last night just in case. Perhaps I should revert back to the previous version? Thank you.

Kevin373660
07-20-2009, 08:32 AM
My Support Ticket #103818 - "DataAssist Java Error - While creating shopping catalogue," was moved to the "Resolved" bin. IT IS NOT RESOLVED. An older ticket #94937 for an older DW java aleart which did not seem to affect the page has been left active. I thought they were just simply combining the two tickets but I may have been wrong.

Please have support email with update regarding status of the main area of concern (Support Ticket #103818) related to using DataAssist to create my shopping cart and admin backend. This is dragging into the 4th week. Or should I reopen a new ticket again and just copy the info from the cloesed ticket to it? I realy need to get DataAssist working, please help.

Ray Borduin
07-20-2009, 08:43 AM
I will make sure someone looks into this further today. Sorry for the delay they must be having difficulty reproducing the problem.

Kevin373660
07-21-2009, 06:37 AM
Support has advised that they have not found the issue and to use the older version for now if it is working for me. I am still willing to try a few tricks today to see if I can isolate the problem rather than just pass.

My main concern is the cause of the error message may be a config error in the build file. "While executing onMouseUp in WA_AppBuilder.html, a JavaScript error occured." In the website directories, a WA_AppBuilder.php is located under the WA_DataAssist directory. Could it be some code is looking in the wrong location or for an .html version of this file?

A side point.. I always have to open a file in the target directory before I can assess the Webassist extensions. That part is not in the manual.

If could issolate the part that is tripping the error that might also help. Ray what is your best guess? And if I have to go back a version what other issues should I avoid/anticipate.

1. no search page/function
2. no dynamic menu
3. something else?

Ray Borduin
07-21-2009, 07:29 AM
What older version are you using? If they can't reproduce the problem, maybe try renaming your configuration folder and installing just that extension. Maybe it is a conflict with something else you have installed?

Since it has no line number and we can't reproduce it, it sounds like it will take a while to track down.

Kevin373660
07-21-2009, 07:36 AM
The problems started when I upgraded to DA 2.0.5 and tryied to create the cataluge and admin. The previous version DA 2.0.4 seemed to work for building the user account pages but I did not use the search function. Eric had me rename and and recreate the config folder which seemed to only create more unexpected problems.

I am testing with a simple one editable region, no dynamic dropdowns, minimum css, and a small db table with only 2 columns to see what happens. Same original onMouseUP error just occured:

DATAASSIST WIZARD - after Step 10 - the following error occured

Adobe Dreamweaver CS3

While executing onMouseUP in WA_AppBuilder.html, the following JavaScript error(s) occured:

At line 2021 of the "D:\Program Files\Adobe\Adobe Dreamweaver CS3\Configuration\Shared\WebAssist\ApplicationBuil der\AppBuilder_Object.js":
JavaScript eror while loading WADA_5DatabaseSearch.htm:

Unable to open script file "D:\Program Files\Adobe\Adobe Dreamweaver CS3\Configuration\ServerBehaviours\Shared\UltraDev \Scripts\ssClasses.js"(error 3).


************ NOTE*************

Missing files & directories referanced in the above error. The only extensions that I have are from WebAssit.:

1. \WebAssist\ApplicationBuilder\AppBuilder_Object.js":

Kevin373660
07-21-2009, 11:09 AM
I just ran the same test (as earlier this morning) with a very basic setup with admin style. This time I did NOT CHOOSE TO CREATE THE SEARCH PAGE. The Wizard completed without errors and created all of the other pages.

Could it be that the order in which the extensions is loaded is important? I had loaded the DataAssist extension as the first. Perhaps one of the others overwritest the directory that is mising as per my last entry?

Some where in the forum I read a note about separatly creating the search page and adding this function after but not with the DataAssist Search Wizard. Rather add to pages using Dreamweaver Server Behavior: "You should not run the wizard again when creating a new search page for a single results page. Instead you should create the search form with Dreamweaver manually and update the server behavior without entering the wizard."

Did the previous version have a similar problem creating the Search page? I had not needed that before but now I will need this extensivly. It might be perferable to stay with the lates version? What is the best approach to add the Search page and functions? How do I add the search function using Dreamweaver?

**********
This may give more clues toward a solution.

Removed all extensions & configuration folder, reinstalled only dynamic dropdown & dataassist extensions. Ran DataAssist without search page and worked fine.

NEW CONFIGURATION FOLDER
Missing directory and file
C:\Documents and Settings\Administrator\Application Data\Adobe\Dreamweaver 9\Configuration_back2\ServerBehaviors\PHP_mySQL\Da taAssist\WADA_5DatabaseSearch.js

Ran DA again with a search page, original error again pops up. It references a file: wada_5databasesearch.htm

(No htm file version found)
(Directory & file \ServerBehaviors\PHP_mySQL\DataAssist\WADA_5Databa seSearch.js placed in configuration folder not automatically created for the .js version)

Kevin373660
07-21-2009, 03:39 PM
Also noted when the create Search Page option was selected the write code sub routine is not retaining/verifying the value for the specified editable region. Seams to work fine if the create Search Page option is not selected. Also had the code try to inject in the open php page required to access DA extention which is a default rutine in the DA Search Wizard.

Ok, I give up. Tech Support says that clearing the cache file will solve everything. I guess that they did not read either ticket as this has been tried 3 or 4 times so far without resolving the error.

I am going to run with the latest DA 2.0.5 version. After I create the other pages with DA, what is the best approach? I am not sure that I really need a separate Search page in my case? Most importantly I need to add the search function to the Results, other pages and my main shopping home page. I just want to add the table containing the search menu in the editable regions in the sideMenuBar div or topMenuBar div of the pages. Will the DA Search Wizard work or is it likely to have the same problems?

I would like to allow for searching under more than one criterion (category, price, specials, and gender). The DA_Help.pdf on the DS Wizard indicates that it can make all of these at the same time. It is a little confusing with regard to applying this after if I already have the Results page created. When to use the DA Wizard and/or DA Search server behavior. DA Wizard/DA Search Wizard using a form request variable. The DA Search Server Behavior is applied and returns the data to the page it is applied to. I need to make up for lost time. Please point me in a solid direction.

Ray Borduin
07-22-2009, 07:19 AM
I have asked Jason to take another look at your support incidents since they seem unresolved. He should be contacting you sometime today to help debug the problem. The reality is that this is not a common or known issue, so he may have to work with you directly to debug it.

Kevin373660
07-22-2009, 07:37 AM
That would be great Ray. Jason helped me once before and he is very good at isolating the problem and making sure that it is fixed. I shall be in all day and expect his call.

Kevin373660
07-23-2009, 07:25 AM
Thanks Ray and Jason your support and assistance were truly awesome! Jason put his figure on the underlining problem in less than ˝ hour. DataAssist is working just fine now.

For others reading this thread and who may run into similar problems…

I was logging in with my server Administrator account to work with Dreamweaver, MySQL (old habits), and when installing and using the WebAssist extensions. This divided the location for files and folder when installing and using the extensions. You must create another account with appropriate level of privileges and login using that account to setup sites in Dreamweaver and to install your extensions.

In short, if you make a similar error (Your configuration and OS may require additional procedures. These are just my abbreviated notes and are not intended to be definitive.):

1. Record your website manager settings
2. Remove all extensions
3. Rename the Dreamweaver Configuration FOLDER. Dreamweaver recreate it.
4. Create another OS user account (record your new user name & password)
5. Login with the other user account (copy preferred user settings if you want to)
6. In Dreamweaver Manage Sites select NEW site, use the same settings to simply connect to the existing folders, files and settings for each site
7. Install the Dreamweaver Extensions & Reactivate them

floyd_accounts46653
07-29-2009, 06:08 PM
On today, Wed., July 29, 2009, I purchased the Dynamic Suite. The main DW extension that I wanted in the suite is DataAssist. Unfortunately, it is the only one that is not working for me. When I launch the any of the wizards, I receive a Javascript error message over the DataAssist Activation window ... I end up closing it and the window. I didn't expect this kind of error for the price of this product ... frustrating. I have difficulties finding an answer to the problem. I am using DW CS4 with PHP and MySQL. If I can't get DataAssist working, I like a refund for it. The other extensions in the suite and Digital File Pro works.

See attachment below.

floyd_accounts46653
07-30-2009, 07:59 AM
I kept working to get DataAssist to launch without the JavaScript error. On my home PC, I remove the "onload" in the <body> tag and saved WA_AppBuilder.htm file. Then launched DataAssist and nothing happen. I undid the file (WA_AppBuilder.htm) and launched DataAssist wizard again ... this time, no problem ... no error message popup. I don't know what happened but the problem seem to be solved. At my office, I installed the WebAssist extensions, including DataAssist, on my laptop with complete success. I use DW with the extensions on my home desktop PC and my office laptop (two PCs). Case closed.

Ray Borduin
07-30-2009, 08:49 AM
You can solve these mysterious problems by clearing your winfilecache .dat file.

DW throws false cached errors in some instances even though there are no real problems with the files. Once the cache is cleared (or the file is updated and the cache is recreated as you found) the error goes away.

abayo304905
10-16-2009, 09:34 AM
I am having the exact same issue with Data Assist in the exact same spot where it breaks for you. Was this issue finally resolved and if so, wheree is the resolution? Please copy me at abayo@searshc.com with a reply if it is not through this post.

Ray Borduin
10-16-2009, 10:15 AM
Have you tried deleting your Dreamweaver cache file? That was the problem in the previous case.