Can anyone help why I am getting this error.

I am seeing these errors when I try to test my database. I
can't understand why. Does anyone have any ideas?
The exact file with different field names works on a
different table of the same database.
Thanks for the help.
Errors in ActionScript.
Error: Error #2101: The String passed to
URLVariables.decode() must be a URL-encoded query string containing
name/value pairs.
at Error$/throwError()
at flash.net::URLVariables/decode()
at flash.net::URLVariables()
at flash.net::URLLoader/onComplete()
AS3 CODE
// Changed the mouse event.
submit_btn.addEventListener(MouseEvent.CLICK, sendData);
function sendData(evt:Event) {
if (fname_txt.text!="" && lname_txt.text !=""
&& street_txt.text!="" && city_txt.text!=""
&& state_txt.text!="" && zip_txt.text!="") {
//for those using PHP
var myData:URLRequest = new URLRequest("
http://**********************");
myData.method = URLRequestMethod.POST;
var variables:URLVariables = new URLVariables();
variables.firstName = fname_txt.text;
variables.lastName = lname_txt.text;
variables.streetAddr = street_txt.text;
variables.cityName = city_txt.text;
variables.stateName = state_txt.text;
variables.zipCode = zip_txt.text;
myData.data = variables;
var loader:URLLoader = new URLLoader();
loader.dataFormat = URLLoaderDataFormat.VARIABLES;
loader.addEventListener(Event.COMPLETE, dataComplete);
loader.load(myData);
} else {
status_txt.text = "All fields are mandatory";
function dataComplete(event:Event):void {
status_txt.text = event.target.data.successMessage;
//status1_txt.text = event.target.data.secondMessage;
fname_txt.text = "";
lname_txt.text= "";
street_txt.text = "";
city_txt.text = "";
state_txt.text = "";
zip_txt.text = "";
PHP CODE:
<?php
//Capture data from $_POST array
$fname = $_POST['firstName'];
$lname = $_POST['lastName'];
$street = $_POST['streetAddr'];
$city = $_POST['cityName'];
$state = $_POST['stateName'];
$zip = $_POST['zipCode'};
//Connection to database
$connect = mysql_connect("localhost", "**********",
mysql_select_db ("mttolcom_testDB", $connect);
//Perform the query
$result = mysql_query("INSERT into address (firstName,
lastName, streetAddr, cityName, stateName, zipCode) values
('$fname','$lname','$street','$city','$state','$zip')");
if($result) echo "writing=Ok&";
else echo "writing=Error";
echo 'var1=yes&successMessage=Response from server. The
data has made the server!';
// echo 'var2=yes&secondMessage=Your data has been
received and processed!';
?>
Thanks for the help.
Mike

Dear Jain,
I used CA Type 10 CA Categories as Stock Split for corporate action as below.
Configuration
FWK0 posting
Error Msg

Similar Messages

  • Safari cannot install profile due to an unknown error. I didn't install anything. Does anyone knows why I'm getting this error message?

    I was watching a clip in livel, suddenly I have seen a error message on my iPhone screen  safari cannot install profile due to an unknown error,
    Does anyone know why I have got this message?
    I didn't install and did not want to install anything!

    You can not download items from the internet with an ipad, you can download from the app store or from itunes or some cloud services (dropbox) but not from browsers, there is an Iphone app for we transfer in the app store that appears that it can be used on an ipad as well.
    You may want to take a look, its free

  • I'am getting an update error when am trying to upgrade to newer version (4.3.2)..the error message content shows that i tunes could not back up the i pod,because the back up was corrupt or not compatible with ipod..can anyone help me out to fix this issue

    I'am getting an update error when am trying to upgrade to newer version (4.3.2)..the error message content shows that i tunes could not back up the i pod,because the back up was corrupt or not compatible with ipod..can anyone help me out to fix this issue

    Hi,
    Try here:  http://support.apple.com/kb/HT1808. 
    Hope this helps! 
    ---likeabird---

  • HT201413 i tried to resore my iphone 3GS with itunes but it is showing an error 29 , can anyone help me to sort out this problem?

    i tried to resore my iphone 3GS with itunes but it is showing an error 29 , can anyone help me to sort out this problem

    Try to restore get a error 29 - iPhone 3GS - iFixit
    See if this helps.

  • Hi can anyone help me how to get facetime application for iphone 4s

    Hi
    can anyone help me how to get facetime application for iphone 4s since i am not able to find it.

    FaceTime is builtin, there's no icon. Use your Contacts app and if the recipient has iPhone 4/4S, iPod Touch 4th G, iPad 2 or Mac, you can FaceTime them using Wi-Fi.
    Message was edited by: ckuan

  • Why am I getting this error message when I try to import? "The following files were not imported because they could not be read. (645)" I can see them :(

    Why am I getting this error message when I try to import? "The following files were not imported because they could not be read. (645)" I can see them
    Is was working this morning!

    Depends on your operating system
    Go to google, try typing in
    Change permissions Windows
    or
    Change permissions Mac

  • Bought a new HD for my Mac mini, and now i can not do anything, i press com r and nothing appears, only gray screen and then appears a folder with a ? in it, can anyone help me how to solve this. Thank you

    ought a new HD for my Mac mini, and now i can not do anything, i press com r and nothing appears, only gray screen and then appears a folder with a ? in it, can anyone help me how to solve this. Thank you

    Thank you so much for your attention, it is allready working well.

  • According to my network provider (Amaysim/Optus) Tethering is enabled, so why do I get this error message "to enable personal hotspot on this account, contact OPTUS"

    According to my network provider (Amaysim/Optus) Tethering is enabled, so why do I get this error message "to enable personal hotspot on this account, contact OPTUS"
    Amysim/Optus support can not help.
    I can not check or change any network settings (no APN settings)
    I have synced phone using latest itunes (10.5.3).
    Phone software is up to date (5.0.1).
    Network settings have been reset.
    SIM card has been taken out and put back in.
    Phone has been switched off/on again.
    Another sim card from virgin works ok (hotspot option is visible and can be turned on/off as required)
    The Amaysim/Optus SIM card can be put into another phone (android) and tethering/hotspot works fine.
    Can anyone provide solution to this nightmare?

    I am having the same issue although i have an iphone 5. I have contacted Live connected numerous times an tried everything imaginable to solve the issue. Is it possibly a handset issue? I cant recieve any help from optus as im with live connected, they cant help me and apple keep telling me to contact your carrier ( live connected). Seems to make me want to switch providers pretty shortly..
    please let me know if you can solve your issue and maybe it can help me too..

  • When I want to scroll through My picks why do I get this Error message (A necessary data reference could not be resolved."

    When I want to scroll through My pictures  why do I get this Error message (A necessary data reference could not be resolved)

    Before anyone can help, they need information to work with. Basic stuff:
    - What version of iPhoto.
    - What version of the Operating System.
    - Details. What were you doing when the problem arose?
    - Did it ever work properly?
    - Are there error messages?
    - What steps have you tried already to solve the issue.
    Anything else you can think of that might allow someone else to understand your issue.
    With this kind of information somebody can develop a starting point for troubleshooting the issue.
    Posts that consist of "iPhoto doesn't work. Help" or "iPhoto won't print" or "Suddenly I have no photos!!!!!!!!!!" mean that any helper is simply guessing. With information, s/he may be able to get your issue resolved sooner.

  • More than maximum 5 filtered album lists trying to register. This will fail,Why i am getting this error when i pick video from Photo library.

    I am able to pick 4 videos from the Photo library in my iPhoneAPP but when i try to pick 5th one it throws an error:
    "More than maximum 5 filtered album lists trying to register. This will fail,Why i am getting this error when i pick video from Photo library."

    Hello Tate r Bulic
    I don't have any idea how to remove this error,can i pick more than 5 videos from the photo library...
    If it's then please help me and gimme idea..Thanks

  • Why am I getting this error?

    Hello,
    I am trying to call my Java class from a JSP page. I am getting this error:
    Generated servlet error:
    C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\em\jsp\Test_0005fSummarySBU_0005fscreen$jsp.java:82: Wrong number of arguments in constructor.
    strQuery=new ListReturn(strEssUser, strProcessingMonth, strProcessingYear);
    I don't understand why I am getting this error as I pass three paramters to the Java class, and I accept three parameters in the constructor.
    JSP:
    <!-- META TAG is necessary to ensure page recompiles--------------->
    <META Http-Equiv="Expires" Content="0">
    <META Http-Equiv="Pragma" Content="no-cache">
    <HTML>
    <!-- The two Java Classes used to build the AlphaBlox query -->
    <%@ page import="com.home.tool.reporting.*" %>
    <%@ page errorPage="run_error.jsp" %>
    <%@ page import="java.util.List,
                     java.util.Collection,
                java.net.URLDecoder" %>
    <HEAD>
    <META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
    <TITLE>Economic Model - Summary SBU Report</TITLE>
    <!--Run the onload here, re-retrieve params BM and Breport, pass to onload---------->
    <BODY bgcolor=#ffffff>
    <%
                    Collection strQuery = null;
                    String strEssUser = "test";
                    String strProcessingMonth = "JUL";
                    String strProcessingYear = "2002";
                    strQuery=new ListReturn(strEssUser, strProcessingMonth, strProcessingYear);
                    System.out.println(strQuery);
    %>
    </BODY>
    </HTML>Java class:
    package com.home.tool.reporting;
    import java.net.URL;
    import java.sql.*;
    import java.io.*;
    import java.util.*;
    public class ListReturn extends ReportQueryBuilder
            public void ListReturn()
            public Collection ListReturn(String userID, String pMonth, String pYear)
                throws ReportQueryBuilderException
                //declare Collection store Value-Object pairs
                Collection c = new ArrayList();
                //declare and initialize variables
                CallableStatement cs = null;
                ResultSet rs = null;
                // declare call for stored procedure to pass in three parameters
                String pass = "{Call dbo.p_rep_srSbuList(?, ?, ?)}";
                try
                    //open CallableStatement using JDBC connection to SQL database
                    cs = con.prepareCall(pass);
                    //set IN parameters
                    cs.setString(1, userID);
                    cs.setString(2, pMonth);
                    cs.setString(3, pYear);
                    //execute call and return result set
                    rs = cs.executeQuery();
                    //loop through result set storing each record as a Value-Object pair
                    while(rs.next())
                        c.add(new ListBoxValueObjects(rs.getString(1), rs.getString(2)));
                catch (SQLException sqle)
              throw new ReportQueryBuilderException(replaceToken("Problems executing query: "+sqle.getMessage(), "'", "\\'"));
                finally
                    try
                        //close the Result Set and CallableStatement
                        rs.close();
                        cs.close();
                    catch(Exception e)
                        System.out.print("\nFATAL   : " + e);
                        System.out.print("\nFATAL   : " + e);
                return c;
    }Does anyone see whay I am getting this error??
    I can't figure out the problem!

    change this:
    <%
         Collection strQuery = null;
         String strEssUser = "test";
         String strProcessingMonth = "JUL";
         String strProcessingYear = "2002";
         strQuery=new ListReturn(strEssUser, strProcessingMonth, strProcessingYear);
         System.out.println(strQuery);
    %>To this:
    <%
         Collection strQuery=null;
         String strEssUser="test";
         String strProcessingMonth="JUL";
         String strProcessingYear="2002";
         lr=new ListReturn(strEssUser, strProcessingMonth, strProcessingYear);
         System.out.println(lr.getQuery())
    %>Then make a new public method in your Java called getQuery()
    public Collection getQuery();Do what you need to do to process it and return the value in getQuery. You will also probably need to make private variables in you declaration to do the processing on.

  • I get missing plug-in error when opening my online bill which is in PDF format. I am using a 2010 Macbook with the latest version of Safari and Adobe suite installed in my computer. Why do I get this error? What should I do?

    I get missing plug-in error when opening my online bill which is in PDF format. I am using a 2010 Macbook with the latest version of Safari and Adobe suite installed in my computer. Why do I get this error? What should I do?

    In relation to my previous inquiry regarding inability to view a pdf file using Safari...
    Is it possible that I can view other online bills from other website but not this particular bill from one specific website?
    Sorry if I missed any important point in this article -->Apple Safari 5.1 and Adobe Reader/Acrobat Advisory
    Thanks again!

  • Why do I get this error message when I open Organizer in Photoshop Elements 11 "Elements Organizer has stopped working"? My only option is to Close Program so I am effectively locked out of my photo catalogue.  I have reinstalled the program to no avail.

    Why do I get this error message when I open Organizer in Photoshop Elements 11 "Elements Organizer has stopped working"? My only option is to Close Program so I am effectively locked out of my photo catalogue. I have tried reinstalling the program but it made no difference to the error message.
    Could someone help please?  Steph

    Hi,
    Please give a try to Photoshop Elements (PSE) knowledge base. steps mentioned on this and see if it works.
    Regards
    Kishan

  • Just updated to 3.6.8. Now can't navigate reliably. Frequently get this error message: "Server Error in '/' Application. Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies th

    Just updated to 3.6.8. Now can't navigate reliably. Frequently get this error message: "Server Error in '/' Application. Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster." Pending fix of this glitch, is there a way to go back to previous version of Firefox that worked perfectly well?
    == URL of affected sites ==
    http://www.americanleather.com/ComfortSleeper/Madison.aspx?page=2

    Hi JH,
    According to your description, my understanding is that you got an error when you deleted  columns in SharePoint 2010.
    Please add the following string in <system.web> section of your web.config file :
    <pages validateRequest="false" enableEventValidation="false" viewStateEncryptionMode ="Never" />
    Note: before changing web.config, please make a backup for the file.
    Here are some similar posts for you to take a look at:
    http://forums.asp.net/p/1355367/2778642.aspx
    http://forums.asp.net/t/1166634.aspx
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Help! I am getting this error message in Premiere Pro 4

    Help! I am getting this error message in Premiere Pro 4
    [/belding/mediaCore/MediaLayer/AudioSupport/Make/Mac.../.../src/Mac/CoreAudioHost.ccp-1623
    Does anyone know what this means?
    I am using a very new IMac and running the latest apple os
    Thank you

    answer probably here
    http://forums.adobe.com/message/1826019

Maybe you are looking for