close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Problems - YET AGAIN!!! - after upgrading a WA product!!!

Thread began 4/11/2011 4:12 am by Banksie | Last modified 4/11/2011 4:21 pm by Jason Byrnes | 813 views | 3 replies |

Banksie

Problems - YET AGAIN!!! - after upgrading a WA product!!!

I've been having problems using multiple insert / update / delete behaviors with DA (2.07) since downloading the upgrade some time ago. With assistance from the Tech Support team (and acknowledgement that there was a problem that may be sorted in a later release) I've been able to hack the code when required and get around the issues until now!

Expecting the issue to have been resolved, I recently downloaded DA 2.08 (together with the fix for the helper files) and duly installed. Guess what - the previous "issue" seems to have been resolved and replaced with another!

I have a multiple delete option and now (thank-you) the RepeatSelectionCounter appears in the correct place to enable the delete action to work. HOWEVER there seems to be some problem in writing out the $WA_redirectURL as the browser is ultimately being redirected to a bizarre url consisting of what looks like the full path to the home directory (based on the username of my hosting account) and therefore resulting in a "page not found" browser error.

As the page is actually being redirected to itself (to view the records remaining AFTER the deletions have taken place) I'm confident that the page exists!

URL being generated by DA on action is:
rental_rates_all.php?rentalCompanyID=1

Any thoughts on what I may have done wrong here or where the upgrade installation may have fallen over? I've half a mind to remove 2.08 and return to 2.07 and my manual hacking of code - at least I knew my way around even if it was a real pain to have to do some of the work that I bought the extension for.

Sign in to reply to this post

Jason ByrnesWebAssist

There is a fix for this issue in the DataAssist Download center page. In the known Issues section, look for the "DataAssist 2: Support Fix - Page redirects created with DataAssist 2.0.8 are not working correctly" Link to download the fix.


alternatively, you can find this line:

php:
if (function_exists("rel2abs")) $WA_redirectURL = $WA_redirectURL?rel2abs($WA_redirectURL,dirname(__FILE__)):"";




and comment it out:

php:
//if (function_exists("rel2abs")) $WA_redirectURL = $WA_redirectURL?rel2abs($WA_redirectURL,dirname(__FILE__)):"";
Sign in to reply to this post

Banksie

Thanks Jason - I've commented out the line as suggested and all seems to work fine.

Just a point to note though: I downloaded the fix and copied the files as per the read me file:
"Dreamweaver CS4
C:\Documents and Settings\<Your User Name>\Application Data\Adobe\Dreamweaver CS4\en_US\Configuration\shared\WebAssist\ApplicationBuilder\Helpers\library.php"

before I started this. Have just re-copied the files and the problem still exists!

For now I'll have to remember to comment out the rogue line but would appreciate your thoughts.

Regards

Gary

Sign in to reply to this post

Jason ByrnesWebAssist

To fix pages that have already been createsd, you need to copy that file to the WA_DataAssist folder in your site.


copying it the C:\Documents and Settings\<Your User Name>\Application Data\Adobe\Dreamweaver CS4\en_US\Configuration\shared\WebAssist\Applicati onBuilder\Helpers\library.php location will fix the problem for new files that you create.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...