close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

message error on update page

Thread began 12/01/2010 5:10 am by vandenheuvel.claude346907 | Last modified 1/05/2011 7:33 pm by Ray Borduin | 1097 views | 3 replies |

vandenheuvel.claude346907

message error on update page

creating pages with datassit 2

when i go on the upgrade page i got an error message :
You have an error in your SQL syntax near '@free.frundefined, `clt_nom` = undefinedvdhundefined, `clt_prenom` = undefinedcl' at line 1

is it normal to have on the code? :
$WA_columnTypesStr = "undefined|undefined|undefined|undefined|undefined|undefined|undefined|undefined|undefined";

____________________________________________________
// WA Application Builder Update
if (isset($_POST["Update"])) // Trigger
{
$WA_connection = $xxxxxxxxxxx;
$WA_table = "clients";
$WA_redirectURL = "clients_Detail.php?ID_clients=".((isset($_POST["WADAUpdateRecordID"]))?$_POST["WADAUpdateRecordID"]:"") ."";
$WA_keepQueryString = false;
$WA_indexField = "ID_clients";
$WA_fieldNamesStr = "clt_login|clt_mdp|clt_mail|clt_nom|clt_prenom|clt_adresse|clt_ville|clt_codepostal|clt_phone";
$WA_fieldValuesStr = "".((isset($_POST["clt_login"]))?$_POST["clt_login"]:"") ."" . "|" . "".((isset($_POST["clt_mdp"]))?$_POST["clt_mdp"]:"") ."" . "|" . "".((isset($_POST["clt_mail"]))?$_POST["clt_mail"]:"") ."" . "|" . "".((isset($_POST["clt_nom"]))?$_POST["clt_nom"]:"") ."" . "|" . "".((isset($_POST["clt_prenom"]))?$_POST["clt_prenom"]:"") ."" . "|" . "".((isset($_POST["clt_adresse"]))?$_POST["clt_adresse"]:"") ."" . "|" . "".((isset($_POST["clt_ville"]))?$_POST["clt_ville"]:"") ."" . "|" . "".((isset($_POST["clt_codepostal"]))?$_POST["clt_codepostal"]:"") ."" . "|" . "".((isset($_POST["clt_phone"]))?$_POST["clt_phone"]:"") ."";
$WA_columnTypesStr = "undefined|undefined|undefined|undefined|undefined|undefined|undefined|undefined|undefined";
$WA_comparisonStr = " = | = | = | = | = | = | = | = | = ";
$WA_fieldNames = explode("|", $WA_fieldNamesStr);
$WA_fieldValues = explode("|", $WA_fieldValuesStr);
$WA_columns = explode("|", $WA_columnTypesStr);

Sign in to reply to this post

Jason ByrnesWebAssist

No, that is not normal, to fix the issue, double click the Update record behavior and select the proper data types for each column.

Sign in to reply to this post

Laurent

Same problem here

Hi, i have the same probleme occuring all the time.

I guess Webassist should investigate for a bug about this....

I also notice the recorset to be buggy, there was a second static variable added (value = -1), instead of $GET[PRIMLARY KEY]

Don't know if the may be the cause of the problem, but i have an underscore in the name of my primary key (act_pk)...(and all my db fields ;-)

Do underscores produce bugs in your software ?

Regards

Sign in to reply to this post

Ray BorduinWebAssist

Underscores should not cause issues. I don't think we have been able to reproduce it, but if you are willing to work with us to help... I've opened a support incident so that we can have an engineer call and work with you over the phone directly to debug the issue.

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