close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

errors update and en insert pages

Thread began 5/10/2012 10:28 am by biesheuvel378713 | Last modified 5/15/2012 8:25 am by Jason Byrnes | 1369 views | 5 replies |

biesheuvel378713

errors update and en insert pages

I've created pages with the data assist wizard and in the insert page I get this messages after I pres insert:

2 times:
Notice: Undefined offset: 1 in C:\wamp\www\nokk\webassist\form_validations\wavt_scripts_php.php on line 670

2 times:
Notice: Undefined offset: 2 in C:\wamp\www\nokk\webassist\form_validations\wavt_scripts_php.php on line 671

And then the error:
Unknown column 'TexttestText' in 'where clause'

The update page gives me this errors:

2 times:
Notice: Undefined offset: 1 in C:\wamp\www\nokk\webassist\form_validations\wavt_scripts_php.php on line 670

2times:
Notice: Undefined offset: 2 in C:\wamp\www\nokk\webassist\form_validations\wavt_scripts_php.php on line 671

And then the error:
Unknown column 'TextmeindertText' in 'where clause'

If I comment out the unique field validation I won't get the notices but I still get the error:
Unknown column 'TextmeindertText' in 'where clause'

I added the pages from the wizard...

Attached Files
wizardpages.zip
Sign in to reply to this post

Jason ByrnesWebAssist

on the insert page, change line 14 and 16:

php:
$WAFV_Errors .= WAValidateUnique(("nokkdb"),$nokkdb,$database_nokkdb,"user","id","none,none,NULL","0","login_name","Text","".((isset($_POST["login_name"]))?$_POST["login_name"]:"")  ."",true,2);



php:
$WAFV_Errors .= WAValidateUnique(("nokkdb"),$nokkdb,$database_nokkdb,"user","id","none,none,NULL","0","email","Text","".((isset($_POST["email"]))?$_POST["email"]:"")  ."",true,4);





to:

php:
$WAFV_Errors .= WAValidateUnique(("nokkdb"),$nokkdb,$database_nokkdb,"user","id","none,none,NULL","0","login_name","',none,''","".((isset($_POST["login_name"]))?$_POST["login_name"]:"")  ."",true,2);



php:
$WAFV_Errors .= WAValidateUnique(("nokkdb"),$nokkdb,$database_nokkdb,"user","id","none,none,NULL","0","email","',none,''","".((isset($_POST["email"]))?$_POST["email"]:"")  ."",true,4);




on the update page, line 14 and 16:

php:
$WAFV_Errors .= WAValidateUnique(("nokkdb"),$nokkdb,$database_nokkdb,"user","id","none,none,NULL","".((isset($_POST["WADAUpdateRecordID"]))?$_POST["WADAUpdateRecordID"]:"0")  ."","login_name","Text","".((isset($_POST["login_name"]))?$_POST["login_name"]:"")  ."",true,2);



php:
$WAFV_Errors .= WAValidateUnique(("nokkdb"),$nokkdb,$database_nokkdb,"user","id","none,none,NULL","".((isset($_POST["WADAUpdateRecordID"]))?$_POST["WADAUpdateRecordID"]:"0")  ."","email","Text","".((isset($_POST["email"]))?$_POST["email"]:"")  ."",true,4);




should be changed to:

php:
$WAFV_Errors .= WAValidateUnique(("nokkdb"),$nokkdb,$database_nokkdb,"user","id","none,none,NULL","".((isset($_POST["WADAUpdateRecordID"]))?$_POST["WADAUpdateRecordID"]:"0")  ."","login_name","',none,''","".((isset($_POST["login_name"]))?$_POST["login_name"]:"")  ."",true,2);



php:
$WAFV_Errors .= WAValidateUnique(("nokkdb"),$nokkdb,$database_nokkdb,"user","id","none,none,NULL","".((isset($_POST["WADAUpdateRecordID"]))?$_POST["WADAUpdateRecordID"]:"0")  ."","email","',none,''","".((isset($_POST["email"]))?$_POST["email"]:"")  ."",true,4);
Sign in to reply to this post

biesheuvel378713

Thanks solved it for me.

But still this is annoying bug of the wizard. And I found an even more annoying bug. After reloading the wizard from a saved preset the field settings dialog keeps removing or adding the required validation randomly. It results in pages created by the wizard where the required vaidation is randomly put on to the form. Even after opening/editting the field settings dialog over and over again...

Sign in to reply to this post

Jason ByrnesWebAssist

these are not issues I have been able to reproduce.

What version Of Dreamweaver are you using?

What is your operating system?

Sign in to reply to this post

biesheuvel378713

I use Dreamweaver CS6 on a Win 7 64 bit system

Sign in to reply to this post

Jason ByrnesWebAssist

I will start an incident so we can look into why these issues are occurring


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

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