close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

errors with old code

Thread began 1/04/2013 8:56 pm by paulshoe379536 | Last modified 5/17/2013 6:25 am by CJ | 1260 views | 9 replies |

paulshoe379536

errors with old code

I have upgraded to Data Bridge and CS6.

When opening previously created pages, I seem to be getting errors in server behaviors like:
"It appears that one of your server-side values is improperly coded.
Please check the interface for inconsistencies."
and
"TypeError: theVal has no properties" (then the widget dialog window is blank)

2) Server behaviors are not recognized at all (insert, update) on some pages.

Is there a document that explains procedures necessary when upgrading from Data Assist to Data Bridge?

Sign in to reply to this post

Jason ByrnesWebAssist

Can you send a copy of a page where you are having this problem please.

Sign in to reply to this post

paulshoe379536

files attached

I have included three files:

activity_groups_Update.php -- original file from winXP and DW 5 and DataAssist
server behavior for update not recognized and error showing on SecurityAssist behavior

activity_groups_Insert_1.php -- original file from DataAssist
Insert behavior not recognized and error showing on SecurityAssist behavior

activity_groups_Insert_2.php -- I updated the original SecurityAssist behavior this updated the "require_once" to a new path/file and corrected the error.
I deleted the original code for the record insert and added it again using the new DataBridge widget. "Insert record" is still not included in server behaviors.

Attached Files
activity_groups_Insert_1.zip
activity_groups_Insert_2.zip
activity_groups_Update.zip
Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

paulshoe379536

Jason,

It seems like I've corrected most of my problems. Changing the syntax of the "$WA_redirectURL" expression seemed to be help. I will close the support ticket.

Thanks for all your help.

Sign in to reply to this post

CJ

same error: uiInitialize error TypeError: theVal has no properties

Hi Jason,

On my page is still an prior version of the Update record.
When I doubleclick on this serverbehaviour I'm getting the same error on an update page:
"uiInitialize error TypeError: theVal has no properties"
Using DW6 and DataBridge.(Already cleared the cache)

Do you know what to do?

Sign in to reply to this post

Jason ByrnesWebAssist

please send a copy of the page and a SQL dump of the table structure that it is using so i can recreate the problem to investigate the cause.

Sign in to reply to this post

CJ

Originally Said By: Jason Byrnes
  please send a copy of the page and a SQL dump of the table structure that it is using so i can recreate the problem to investigate the cause.  
Sign in to reply to this post

Jason ByrnesWebAssist

looks like you hand edited the code to add the forth column in rather than use the Update record interface.


change lines 79 - 81:

php:
$WA_fieldValuesStr = "".((isset($_POST["Artikel1"]))?$_POST["Artikel1"]:"")  ."" . "|" . "".((isset($_POST["Artikel2"]))?$_POST["Artikel2"]:"")  ."" . "|" . "".((isset($_POST["Artikel3"]))?$_POST["Artikel3"]:"")  ."|" . "".((isset($_POST["Artikel4"]))?$_POST["Artikel4"]:"")  ."";

  $WA_columnTypesStr = "none,none,NULL|none,none,NULL|none,none,NULL";
  $WA_comparisonStr = "=|=|=";




to:

php:
$WA_fieldValuesStr = "".((isset($_POST["Artikel1"]))?$_POST["Artikel1"]:"")  ."" . "|" . "".((isset($_POST["Artikel2"]))?$_POST["Artikel2"]:"")  ."" . "|" . "".((isset($_POST["Artikel3"]))?$_POST["Artikel3"]:"")  ."" . "|" . "".((isset($_POST["Artikel4"]))?$_POST["Artikel4"]:"")  ."";

  $WA_columnTypesStr = "none,none,NULL|none,none,NULL|none,none,NULL|none,none,NULL";
  $WA_comparisonStr = "=|=|=|=";
Sign in to reply to this post

CJ

Hi Jason,
Yes it would be possible that I handcoded this some time ago.
The code you gave me worked. I can now update the "Update Record" to the latest version.
Thanks a lot.

Sign in to reply to this post
loading

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...