Sign in to follow this  
Followers 0
Mike_B.

WebAssistant Error Code List

2 posts in this topic

Hi, trying to get WebAssistant to work for submitting POST to a php form online.

Here's my statement:

Let ( setup = WAReset &

WASetInputValue( "username" ; LOCAL_USER_TABLE::userName ) &

WASetInputValue( "password" ; LOCAL_USER_TABLE::password ) &

WASetInputValue( "passwordc" ; LOCAL_USER_TABLE::password ) &

WASetInputValue( "email" ; LOCAL_USER_TABLE::Email ) &

WASetInputValue( "submit" ; "Register" )

;

WAGetURL(

"http://MYURL/register.php"

)

)

And here's the Script:

set var $calc - (sets as let statement above)

set field (plugin_result) WAReset

set field (plugin_result_container) Evaluate($calc)

set field (plugin_result) GetAsText (plugin_result_container)

if (plugin_result = "ERROR")

Show Dialog - WALastError

else if (plugin_result = "?")

Show Dialog - EvaluationError ( Evaluate ( $calc ) )

I am getting error #1204 returning from plugin_Result="?", but I don't really have an idea on where to start my troubleshooting.

Any list of error codes or what exactly EvaluationError() and Evaluate() look for?

Thanks!

Share this post


Link to post
Share on other sites

Don't evaluate the calculation. That is a technique we use in the demo file so you can edit the text in each example and use it as a sandbox.

Set Variable [$post ; Let(...)]

If [$post = "ERROR"]

Show Custom Dialog [WALastError]

Else If [$post = "?"]

Show Custom Dialog ["The Web Assistant plug-in is not installed"]

Else

Set Field [table_name::plugin_result ; $post]

End If

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Similar Content

    • By Tim Cormier
      Since this morning we have been receiving an Error when trying to process credit cards using Plastic. Anyone else using Payeezy and experiencing this issue? Any suggestions?
      Thanks!
    • By David Silverthorn
      I just purchased Scriptmaster Advanced, and entered in the license.
      When I attempt to generate a plugin, it gives the error:
      Server error: Unable to retrieve Scriptmaster license
      I've sent in a support request, but I wondered if anyone had experienced this error as well, and if it would be a simple fix from my end.
      Thanks!
      David Silverthorn

    • By Laura Griffin Long
      I would like to see if anyone could help me to verify if the problem I am having is a bug in Filemaker.  I have recently upgraded my network from Filemaker 13 to 14.  In 13 I did not experience this issue.  It seems that in Filemaker 14, when a particular Hindi character is pasted into a Filemaker field it crashes the database.  I have tested this on numerous machines within my network with the same result.  I am hoping that someone will run this simple test for me and report back if it happened to them as well.  I just need someone to create a database, create one text field.  Create a new record and paste this Hindi character in that field.  Then do a find and place your cursor in that field. At this point the database should crash.  If anyone can confirm this I would love to know, thanks! 
      Hindi character: क्स्ड (I will also attach a text file with the Hindi character in case something messes up when I post this...)
      hinid_error.txt
    • By Gianluca D'Aquino
      Hello there,
      I'm just investigating on 2 issue I have on sync 2 DB, 1 on the server and 1 on the iPad that are set to use a Spoke Db in the middle tier.
      Basically the sync is set to copy ALL the data from some tables on the server to the local db and send some data from the local db to the end server db. For some reason, on a large table, called Articles, with more than 130k records, the sync does not copy all the record for some users. There is no 'filter' based on user on the end db, and I run a pre-populate sync on the spoke db that copied all 130k records. When the sync is run for that specific user, the final result on the iPad is that the sync DELETES 12k records for no apparent reason.
       
      In addition, there is a Global table that has always 1 records and is get from the server to the client. But I found some times that there are several records on that table (more than 10) on the server, even if the sync is set to write on the spoke and not viceversa for that table. I have the suspect that are written from the sync. Is it possible?
      Thanks in advance,
      Gianluca  
    • By D Rai
      Events created directly on google calendar seems to import wrong date for "date end" field. Not sure how to fix this problem.
      My setup
      Zulu 2.1
      Filemaker server 14
      Mac OS 10.11.6
       
      Many thanks in advance