Re: [Flashcoders] error 2101 urlvariables decode
I checked your flashcode on pastebin make sure the object where you assign your variables in ( the one you named _var) is of the type UrlVariables. I can't see wether that is the case in your code but I suspect not. *var _var= new UrlVariables()* _var.fieldX = inputX.text _var.fieldY = inputY.text _ldr.dataFormat = URLLoaderDataFormat.VARIABLES; _req.method = URLRequestMethod.POST; _req.data = _var; On 1/19/2011 11:55 AM, Karl DeSaulniers wrote: No problem. GL. Karl On Jan 19, 2011, at 4:38 AM, David Hunter wrote: Thanks for the links Karl, my server is running PHP 5.2.16 and their server is running PHP 5.2.5 . So I'll be giving their hosting company call to see what the problem could be. Thanks for all your help. Much appreciated. From: k...@designdrumm.com Subject: Re: [Flashcoders] error 2101 urlvariables decode Date: Wed, 19 Jan 2011 03:58:17 -0600 To: flashcoders@chattyfig.figleaf.com Hi David, Do you know if there was "any" server upgrade or re-structuring/fix that had happen? It could be that a default php.ini setting had be re-issued when an upgrade or fix was done on the server. You can look into your php.ini file and have a look at the sending email settings. Find your PHP.ini http://www.google.com/search?client=safari&rls=en&q=php.ini +location&ie=UTF-8&oe=UTF-8 Email settings for PHP.ini http://www.google.com/search? hl=en&safe=off&client=safari&rls=en&q=php.ini+email +settings&aq=f&aqi=g1&aql=&oq= If this is not your cup of tea, I would contact your hosting companies IT and have a chat. :) Best, Karl On Jan 19, 2011, at 3:46 AM, David Hunter wrote: Thanks Karl, I have downloaded your file and will have a look at it. Having tried two other form examples I found online with still the same Error #2101 results, I moved the PHP to my server and it works fine. So Karl, you may be right that it is something to do with the PHP version or a glitch with the server. Very confusing. From: k...@designdrumm.com Subject: Re: [Flashcoders] error 2101 urlvariables decode Date: Wed, 19 Jan 2011 02:29:18 -0600 To: flashcoders@chattyfig.figleaf.com Oh yeah. Sry. Here you go. http://designdrumm.com/sendmail_gen.zip Karl On Jan 19, 2011, at 2:23 AM, David Hunter wrote: Thanks Karl, can't seem to download the file, it just opens a String of gobbeldy-gook in a new browser window. Can you put the php file inside a zipped folder and lose the ".php.zip" so its only ".zip" in the url? I will look into the headers, thanks for that tip. Cheers From: k...@designdrumm.com Subject: Re: [Flashcoders] error 2101 urlvariables decode Date: Wed, 19 Jan 2011 00:25:16 -0600 To: flashcoders@chattyfig.figleaf.com Hi David, I am not sure about your mailer, as I am an old AS2 head. lol But I have a sendmail_generic php script you could try to see if it works over yours. It is set up to work with flash and html alike. Instructions are in the comments in the script. http://designdrumm.com/sendmail_gen.php.zip FYI, I have used this for years and it still works with Flash 10. I have a feeling in your php script, you need to set more headers to send with, like X-Mailer parameters. HTH, Karl On Jan 18, 2011, at 7:23 PM, David Hunter wrote: Thanks for the response Karl. the php version is 5.2.5 and I don't think it changed recently. It seems lots of people are reporting this problem with CS4/CS5 and FP10. none of the solutions on google seem to be helping. I have tried encoding the URLLoader.data as variables and as text, on the php side i have tried echoing "sentOk=" .sentOk, "&sentOk=", "?sentOk=", "sentOk=true", "success". Either an #2101 error is pulled when using variables, when using text no error occurs but the php doesn't send the email. Has anyone run into this problem? Or has an example of sending and returning vars with a php script that they know works in CS5 with AS3 for comparison. This is doing my head in!!! Thanks in advance From: k...@designdrumm.com To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] error 2101 urlvariables decode Date: Tue, 18 Jan 2011 13:35:22 -0600 CC: flashcoders@chattyfig.figleaf.com What version of php was that file made for and what version of php do you have on the server? or better yet, did they upgrade the php on your server to a newer version. that may make an old php file not send anymore. JAT Karl Sent from my iPhone On Jan 18, 2011, at 8:01 AM, David Hunter wrote: Happy New Year everyone! Recently updated a site that has a registration form which is now throwing an error. I didn't change anything to do with the form. It now throws an error #2101: The String passed to URLVariables.decode () must be a URL-encoded query string containing name/value pairs. I've looked on google and there seems to be some conflict whether it is a problem with the flash si
RE: [Flashcoders] error 2101 urlvariables decode
Thanks for the links Karl, my server is running PHP 5.2.16 and their server is running PHP 5.2.5 . So I'll be giving their hosting company call to see what the problem could be. Thanks for all your help. Much appreciated. > From: k...@designdrumm.com > Subject: Re: [Flashcoders] error 2101 urlvariables decode > Date: Wed, 19 Jan 2011 03:58:17 -0600 > To: flashcoders@chattyfig.figleaf.com > > Hi David, > Do you know if there was "any" server upgrade or re-structuring/fix > that had happen? > It could be that a default php.ini setting had be re-issued when an > upgrade or fix was done on the server. > You can look into your php.ini file and have a look at the sending > email settings. > > Find your PHP.ini > http://www.google.com/search?client=safari&rls=en&q=php.ini > +location&ie=UTF-8&oe=UTF-8 > > Email settings for PHP.ini > http://www.google.com/search? > hl=en&safe=off&client=safari&rls=en&q=php.ini+email > +settings&aq=f&aqi=g1&aql=&oq= > > If this is not your cup of tea, I would contact your hosting > companies IT and have a chat. :) > > Best, > Karl > > > On Jan 19, 2011, at 3:46 AM, David Hunter wrote: > > > > > Thanks Karl, I have downloaded your file and will have a look at > > it. Having tried two other form examples I found online with still > > the same Error #2101 results, I moved the PHP to my server and it > > works fine. So Karl, you may be right that it is something to do > > with the PHP version or a glitch with the server. Very confusing. > > > >> From: k...@designdrumm.com > >> Subject: Re: [Flashcoders] error 2101 urlvariables decode > >> Date: Wed, 19 Jan 2011 02:29:18 -0600 > >> To: flashcoders@chattyfig.figleaf.com > >> > >> Oh yeah. Sry. > >> Here you go. > >> > >> http://designdrumm.com/sendmail_gen.zip > >> > >> Karl > >> > >> > >> On Jan 19, 2011, at 2:23 AM, David Hunter wrote: > >> > >>> > >>> Thanks Karl, can't seem to download the file, it just opens a > >>> String of gobbeldy-gook in a new browser window. Can you put the > >>> php file inside a zipped folder and lose the ".php.zip" so its only > >>> ".zip" in the url? I will look into the headers, thanks for that > >>> tip. > >>> Cheers > >>>> From: k...@designdrumm.com > >>>> Subject: Re: [Flashcoders] error 2101 urlvariables decode > >>>> Date: Wed, 19 Jan 2011 00:25:16 -0600 > >>>> To: flashcoders@chattyfig.figleaf.com > >>>> > >>>> Hi David, > >>>> I am not sure about your mailer, as I am an old AS2 head. lol > >>>> But I have a sendmail_generic php script you could try to see if it > >>>> works over yours. > >>>> It is set up to work with flash and html alike. > >>>> Instructions are in the comments in the script. > >>>> > >>>> http://designdrumm.com/sendmail_gen.php.zip > >>>> > >>>> FYI, I have used this for years and it still works with Flash 10. > >>>> I have a feeling in your php script, you need to set more > >>>> headers to > >>>> send with, like X-Mailer parameters. > >>>> HTH, > >>>> > >>>> Karl > >>>> > >>>> > >>>> On Jan 18, 2011, at 7:23 PM, David Hunter wrote: > >>>> > >>>>> > >>>>> Thanks for the response Karl. the php version is 5.2.5 and I don't > >>>>> think it changed recently. It seems lots of people are reporting > >>>>> this problem with CS4/CS5 and FP10. none of the solutions on > >>>>> google > >>>>> seem to be helping. I have tried encoding the URLLoader.data as > >>>>> variables and as text, on the php side i have tried echoing > >>>>> "sentOk=" .sentOk, "&sentOk=", "?sentOk=", "sentOk=true", > >>>>> "success". Either an #2101 error is pulled when using variables, > >>>>> when using text no error occurs but the php doesn't send the > >>>>> email. > >>>>> Has anyone run into this problem? Or has an example of sending and > >>>>> returning vars with a php script that they know works in CS5 with > >>>>> AS3 for comparison. This is doing my hea
Re: [Flashcoders] error 2101 urlvariables decode
No problem. GL. Karl On Jan 19, 2011, at 4:38 AM, David Hunter wrote: Thanks for the links Karl, my server is running PHP 5.2.16 and their server is running PHP 5.2.5 . So I'll be giving their hosting company call to see what the problem could be. Thanks for all your help. Much appreciated. From: k...@designdrumm.com Subject: Re: [Flashcoders] error 2101 urlvariables decode Date: Wed, 19 Jan 2011 03:58:17 -0600 To: flashcoders@chattyfig.figleaf.com Hi David, Do you know if there was "any" server upgrade or re-structuring/fix that had happen? It could be that a default php.ini setting had be re-issued when an upgrade or fix was done on the server. You can look into your php.ini file and have a look at the sending email settings. Find your PHP.ini http://www.google.com/search?client=safari&rls=en&q=php.ini +location&ie=UTF-8&oe=UTF-8 Email settings for PHP.ini http://www.google.com/search? hl=en&safe=off&client=safari&rls=en&q=php.ini+email +settings&aq=f&aqi=g1&aql=&oq= If this is not your cup of tea, I would contact your hosting companies IT and have a chat. :) Best, Karl On Jan 19, 2011, at 3:46 AM, David Hunter wrote: Thanks Karl, I have downloaded your file and will have a look at it. Having tried two other form examples I found online with still the same Error #2101 results, I moved the PHP to my server and it works fine. So Karl, you may be right that it is something to do with the PHP version or a glitch with the server. Very confusing. From: k...@designdrumm.com Subject: Re: [Flashcoders] error 2101 urlvariables decode Date: Wed, 19 Jan 2011 02:29:18 -0600 To: flashcoders@chattyfig.figleaf.com Oh yeah. Sry. Here you go. http://designdrumm.com/sendmail_gen.zip Karl On Jan 19, 2011, at 2:23 AM, David Hunter wrote: Thanks Karl, can't seem to download the file, it just opens a String of gobbeldy-gook in a new browser window. Can you put the php file inside a zipped folder and lose the ".php.zip" so its only ".zip" in the url? I will look into the headers, thanks for that tip. Cheers From: k...@designdrumm.com Subject: Re: [Flashcoders] error 2101 urlvariables decode Date: Wed, 19 Jan 2011 00:25:16 -0600 To: flashcoders@chattyfig.figleaf.com Hi David, I am not sure about your mailer, as I am an old AS2 head. lol But I have a sendmail_generic php script you could try to see if it works over yours. It is set up to work with flash and html alike. Instructions are in the comments in the script. http://designdrumm.com/sendmail_gen.php.zip FYI, I have used this for years and it still works with Flash 10. I have a feeling in your php script, you need to set more headers to send with, like X-Mailer parameters. HTH, Karl On Jan 18, 2011, at 7:23 PM, David Hunter wrote: Thanks for the response Karl. the php version is 5.2.5 and I don't think it changed recently. It seems lots of people are reporting this problem with CS4/CS5 and FP10. none of the solutions on google seem to be helping. I have tried encoding the URLLoader.data as variables and as text, on the php side i have tried echoing "sentOk=" .sentOk, "&sentOk=", "?sentOk=", "sentOk=true", "success". Either an #2101 error is pulled when using variables, when using text no error occurs but the php doesn't send the email. Has anyone run into this problem? Or has an example of sending and returning vars with a php script that they know works in CS5 with AS3 for comparison. This is doing my head in!!! Thanks in advance From: k...@designdrumm.com To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] error 2101 urlvariables decode Date: Tue, 18 Jan 2011 13:35:22 -0600 CC: flashcoders@chattyfig.figleaf.com What version of php was that file made for and what version of php do you have on the server? or better yet, did they upgrade the php on your server to a newer version. that may make an old php file not send anymore. JAT Karl Sent from my iPhone On Jan 18, 2011, at 8:01 AM, David Hunter wrote: Happy New Year everyone! Recently updated a site that has a registration form which is now throwing an error. I didn't change anything to do with the form. It now throws an error #2101: The String passed to URLVariables.decode () must be a URL-encoded query string containing name/value pairs. I've looked on google and there seems to be some conflict whether it is a problem with the flash side or PHP side. I know that this has only occurred since updating another section of the site. I am now using CS5 but I was previously on CS3. I have tried changing my URLLoaderDataFormat.VARIABLES to TEXT and it throws a different error #1069: Property sentOk not found on String and there is no default value. (sentOk is the name of the variable I echo back from the php to know that an email has been sent). A snippet of the flash code is he
Re: [Flashcoders] error 2101 urlvariables decode
Hi David, Do you know if there was "any" server upgrade or re-structuring/fix that had happen? It could be that a default php.ini setting had be re-issued when an upgrade or fix was done on the server. You can look into your php.ini file and have a look at the sending email settings. Find your PHP.ini http://www.google.com/search?client=safari&rls=en&q=php.ini +location&ie=UTF-8&oe=UTF-8 Email settings for PHP.ini http://www.google.com/search? hl=en&safe=off&client=safari&rls=en&q=php.ini+email +settings&aq=f&aqi=g1&aql=&oq= If this is not your cup of tea, I would contact your hosting companies IT and have a chat. :) Best, Karl On Jan 19, 2011, at 3:46 AM, David Hunter wrote: Thanks Karl, I have downloaded your file and will have a look at it. Having tried two other form examples I found online with still the same Error #2101 results, I moved the PHP to my server and it works fine. So Karl, you may be right that it is something to do with the PHP version or a glitch with the server. Very confusing. From: k...@designdrumm.com Subject: Re: [Flashcoders] error 2101 urlvariables decode Date: Wed, 19 Jan 2011 02:29:18 -0600 To: flashcoders@chattyfig.figleaf.com Oh yeah. Sry. Here you go. http://designdrumm.com/sendmail_gen.zip Karl On Jan 19, 2011, at 2:23 AM, David Hunter wrote: Thanks Karl, can't seem to download the file, it just opens a String of gobbeldy-gook in a new browser window. Can you put the php file inside a zipped folder and lose the ".php.zip" so its only ".zip" in the url? I will look into the headers, thanks for that tip. Cheers From: k...@designdrumm.com Subject: Re: [Flashcoders] error 2101 urlvariables decode Date: Wed, 19 Jan 2011 00:25:16 -0600 To: flashcoders@chattyfig.figleaf.com Hi David, I am not sure about your mailer, as I am an old AS2 head. lol But I have a sendmail_generic php script you could try to see if it works over yours. It is set up to work with flash and html alike. Instructions are in the comments in the script. http://designdrumm.com/sendmail_gen.php.zip FYI, I have used this for years and it still works with Flash 10. I have a feeling in your php script, you need to set more headers to send with, like X-Mailer parameters. HTH, Karl On Jan 18, 2011, at 7:23 PM, David Hunter wrote: Thanks for the response Karl. the php version is 5.2.5 and I don't think it changed recently. It seems lots of people are reporting this problem with CS4/CS5 and FP10. none of the solutions on google seem to be helping. I have tried encoding the URLLoader.data as variables and as text, on the php side i have tried echoing "sentOk=" .sentOk, "&sentOk=", "?sentOk=", "sentOk=true", "success". Either an #2101 error is pulled when using variables, when using text no error occurs but the php doesn't send the email. Has anyone run into this problem? Or has an example of sending and returning vars with a php script that they know works in CS5 with AS3 for comparison. This is doing my head in!!! Thanks in advance From: k...@designdrumm.com To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] error 2101 urlvariables decode Date: Tue, 18 Jan 2011 13:35:22 -0600 CC: flashcoders@chattyfig.figleaf.com What version of php was that file made for and what version of php do you have on the server? or better yet, did they upgrade the php on your server to a newer version. that may make an old php file not send anymore. JAT Karl Sent from my iPhone On Jan 18, 2011, at 8:01 AM, David Hunter wrote: Happy New Year everyone! Recently updated a site that has a registration form which is now throwing an error. I didn't change anything to do with the form. It now throws an error #2101: The String passed to URLVariables.decode () must be a URL-encoded query string containing name/value pairs. I've looked on google and there seems to be some conflict whether it is a problem with the flash side or PHP side. I know that this has only occurred since updating another section of the site. I am now using CS5 but I was previously on CS3. I have tried changing my URLLoaderDataFormat.VARIABLES to TEXT and it throws a different error #1069: Property sentOk not found on String and there is no default value. (sentOk is the name of the variable I echo back from the php to know that an email has been sent). A snippet of the flash code is here: http://pastebin.com/ pTzZKkMS The PHP code that handles the signup is here: http:// pastebin.com/ FzbMdB7e The site has been running fine for over a year with pretty much the same actionscript code, the PHP side hasn't changed in years, this error only crept in 3 days ago. It doesn't just throw an error but also fails to send an email from the php side. Any and all help greatly appreciated, Dav
RE: [Flashcoders] error 2101 urlvariables decode
Thanks Karl, I have downloaded your file and will have a look at it. Having tried two other form examples I found online with still the same Error #2101 results, I moved the PHP to my server and it works fine. So Karl, you may be right that it is something to do with the PHP version or a glitch with the server. Very confusing. > From: k...@designdrumm.com > Subject: Re: [Flashcoders] error 2101 urlvariables decode > Date: Wed, 19 Jan 2011 02:29:18 -0600 > To: flashcoders@chattyfig.figleaf.com > > Oh yeah. Sry. > Here you go. > > http://designdrumm.com/sendmail_gen.zip > > Karl > > > On Jan 19, 2011, at 2:23 AM, David Hunter wrote: > > > > > Thanks Karl, can't seem to download the file, it just opens a > > String of gobbeldy-gook in a new browser window. Can you put the > > php file inside a zipped folder and lose the ".php.zip" so its only > > ".zip" in the url? I will look into the headers, thanks for that tip. > > Cheers > >> From: k...@designdrumm.com > >> Subject: Re: [Flashcoders] error 2101 urlvariables decode > >> Date: Wed, 19 Jan 2011 00:25:16 -0600 > >> To: flashcoders@chattyfig.figleaf.com > >> > >> Hi David, > >> I am not sure about your mailer, as I am an old AS2 head. lol > >> But I have a sendmail_generic php script you could try to see if it > >> works over yours. > >> It is set up to work with flash and html alike. > >> Instructions are in the comments in the script. > >> > >> http://designdrumm.com/sendmail_gen.php.zip > >> > >> FYI, I have used this for years and it still works with Flash 10. > >> I have a feeling in your php script, you need to set more headers to > >> send with, like X-Mailer parameters. > >> HTH, > >> > >> Karl > >> > >> > >> On Jan 18, 2011, at 7:23 PM, David Hunter wrote: > >> > >>> > >>> Thanks for the response Karl. the php version is 5.2.5 and I don't > >>> think it changed recently. It seems lots of people are reporting > >>> this problem with CS4/CS5 and FP10. none of the solutions on google > >>> seem to be helping. I have tried encoding the URLLoader.data as > >>> variables and as text, on the php side i have tried echoing > >>> "sentOk=" .sentOk, "&sentOk=", "?sentOk=", "sentOk=true", > >>> "success". Either an #2101 error is pulled when using variables, > >>> when using text no error occurs but the php doesn't send the email. > >>> Has anyone run into this problem? Or has an example of sending and > >>> returning vars with a php script that they know works in CS5 with > >>> AS3 for comparison. This is doing my head in!!! > >>> Thanks in advance > >>> > >>>> From: k...@designdrumm.com > >>>> To: flashcoders@chattyfig.figleaf.com > >>>> Subject: Re: [Flashcoders] error 2101 urlvariables decode > >>>> Date: Tue, 18 Jan 2011 13:35:22 -0600 > >>>> CC: flashcoders@chattyfig.figleaf.com > >>>> > >>>> What version of php was that file made for and what version of > >>>> php do > >>>> you have on the server? or better yet, did they upgrade the php on > >>>> your server to a newer version. that may make an old php file not > >>>> send > >>>> anymore. > >>>> > >>>> JAT > >>>> > >>>> Karl > >>>> > >>>> Sent from my iPhone > >>>> > >>>> On Jan 18, 2011, at 8:01 AM, David Hunter > >>>> > >>>> wrote: > >>>> > >>>>> > >>>>> Happy New Year everyone! > >>>>> Recently updated a site that has a registration form which is now > >>>>> throwing an error. I didn't change anything to do with the > >>>>> form. It > >>>>> now throws an error #2101: The String passed to > >>>>> URLVariables.decode > >>>>> () must be a URL-encoded query string containing name/value pairs. > >>>>> I've looked on google and there seems to be some conflict > >>>>> whether it > >>>>> is a problem with the flash side or PHP side. I know that this has > >>>>> only occurred since updating another section of the site. I am now > >>>>> using CS5 but I was previ
Re: [Flashcoders] error 2101 urlvariables decode
Oh yeah. Sry. Here you go. http://designdrumm.com/sendmail_gen.zip Karl On Jan 19, 2011, at 2:23 AM, David Hunter wrote: Thanks Karl, can't seem to download the file, it just opens a String of gobbeldy-gook in a new browser window. Can you put the php file inside a zipped folder and lose the ".php.zip" so its only ".zip" in the url? I will look into the headers, thanks for that tip. Cheers From: k...@designdrumm.com Subject: Re: [Flashcoders] error 2101 urlvariables decode Date: Wed, 19 Jan 2011 00:25:16 -0600 To: flashcoders@chattyfig.figleaf.com Hi David, I am not sure about your mailer, as I am an old AS2 head. lol But I have a sendmail_generic php script you could try to see if it works over yours. It is set up to work with flash and html alike. Instructions are in the comments in the script. http://designdrumm.com/sendmail_gen.php.zip FYI, I have used this for years and it still works with Flash 10. I have a feeling in your php script, you need to set more headers to send with, like X-Mailer parameters. HTH, Karl On Jan 18, 2011, at 7:23 PM, David Hunter wrote: Thanks for the response Karl. the php version is 5.2.5 and I don't think it changed recently. It seems lots of people are reporting this problem with CS4/CS5 and FP10. none of the solutions on google seem to be helping. I have tried encoding the URLLoader.data as variables and as text, on the php side i have tried echoing "sentOk=" .sentOk, "&sentOk=", "?sentOk=", "sentOk=true", "success". Either an #2101 error is pulled when using variables, when using text no error occurs but the php doesn't send the email. Has anyone run into this problem? Or has an example of sending and returning vars with a php script that they know works in CS5 with AS3 for comparison. This is doing my head in!!! Thanks in advance From: k...@designdrumm.com To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] error 2101 urlvariables decode Date: Tue, 18 Jan 2011 13:35:22 -0600 CC: flashcoders@chattyfig.figleaf.com What version of php was that file made for and what version of php do you have on the server? or better yet, did they upgrade the php on your server to a newer version. that may make an old php file not send anymore. JAT Karl Sent from my iPhone On Jan 18, 2011, at 8:01 AM, David Hunter wrote: Happy New Year everyone! Recently updated a site that has a registration form which is now throwing an error. I didn't change anything to do with the form. It now throws an error #2101: The String passed to URLVariables.decode () must be a URL-encoded query string containing name/value pairs. I've looked on google and there seems to be some conflict whether it is a problem with the flash side or PHP side. I know that this has only occurred since updating another section of the site. I am now using CS5 but I was previously on CS3. I have tried changing my URLLoaderDataFormat.VARIABLES to TEXT and it throws a different error #1069: Property sentOk not found on String and there is no default value. (sentOk is the name of the variable I echo back from the php to know that an email has been sent). A snippet of the flash code is here: http://pastebin.com/pTzZKkMS The PHP code that handles the signup is here: http://pastebin.com/ FzbMdB7e The site has been running fine for over a year with pretty much the same actionscript code, the PHP side hasn't changed in years, this error only crept in 3 days ago. It doesn't just throw an error but also fails to send an email from the php side. Any and all help greatly appreciated, David ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] error 2101 urlvariables decode
Thanks Karl, can't seem to download the file, it just opens a String of gobbeldy-gook in a new browser window. Can you put the php file inside a zipped folder and lose the ".php.zip" so its only ".zip" in the url? I will look into the headers, thanks for that tip. Cheers > From: k...@designdrumm.com > Subject: Re: [Flashcoders] error 2101 urlvariables decode > Date: Wed, 19 Jan 2011 00:25:16 -0600 > To: flashcoders@chattyfig.figleaf.com > > Hi David, > I am not sure about your mailer, as I am an old AS2 head. lol > But I have a sendmail_generic php script you could try to see if it > works over yours. > It is set up to work with flash and html alike. > Instructions are in the comments in the script. > > http://designdrumm.com/sendmail_gen.php.zip > > FYI, I have used this for years and it still works with Flash 10. > I have a feeling in your php script, you need to set more headers to > send with, like X-Mailer parameters. > HTH, > > Karl > > > On Jan 18, 2011, at 7:23 PM, David Hunter wrote: > > > > > Thanks for the response Karl. the php version is 5.2.5 and I don't > > think it changed recently. It seems lots of people are reporting > > this problem with CS4/CS5 and FP10. none of the solutions on google > > seem to be helping. I have tried encoding the URLLoader.data as > > variables and as text, on the php side i have tried echoing > > "sentOk=" .sentOk, "&sentOk=", "?sentOk=", "sentOk=true", > > "success". Either an #2101 error is pulled when using variables, > > when using text no error occurs but the php doesn't send the email. > > Has anyone run into this problem? Or has an example of sending and > > returning vars with a php script that they know works in CS5 with > > AS3 for comparison. This is doing my head in!!! > > Thanks in advance > > > >> From: k...@designdrumm.com > >> To: flashcoders@chattyfig.figleaf.com > >> Subject: Re: [Flashcoders] error 2101 urlvariables decode > >> Date: Tue, 18 Jan 2011 13:35:22 -0600 > >> CC: flashcoders@chattyfig.figleaf.com > >> > >> What version of php was that file made for and what version of php do > >> you have on the server? or better yet, did they upgrade the php on > >> your server to a newer version. that may make an old php file not > >> send > >> anymore. > >> > >> JAT > >> > >> Karl > >> > >> Sent from my iPhone > >> > >> On Jan 18, 2011, at 8:01 AM, David Hunter > >> wrote: > >> > >>> > >>> Happy New Year everyone! > >>> Recently updated a site that has a registration form which is now > >>> throwing an error. I didn't change anything to do with the form. It > >>> now throws an error #2101: The String passed to URLVariables.decode > >>> () must be a URL-encoded query string containing name/value pairs. > >>> I've looked on google and there seems to be some conflict whether it > >>> is a problem with the flash side or PHP side. I know that this has > >>> only occurred since updating another section of the site. I am now > >>> using CS5 but I was previously on CS3. I have tried changing my > >>> URLLoaderDataFormat.VARIABLES to TEXT and it throws a different > >>> error #1069: Property sentOk not found on String and there is no > >>> default value. (sentOk is the name of the variable I echo back from > >>> the php to know that an email has been sent). > >>> A snippet of the flash code is here: http://pastebin.com/pTzZKkMS > >>> The PHP code that handles the signup is here: http://pastebin.com/ > >>> FzbMdB7e > >>> The site has been running fine for over a year with pretty much the > >>> same actionscript code, the PHP side hasn't changed in years, this > >>> error only crept in 3 days ago. It doesn't just throw an error but > >>> also fails to send an email from the php side. > >>> Any and all help greatly appreciated, > >>> David > >>> ___ > >>> Flashcoders mailing list > >>> Flashcoders@chattyfig.figleaf.com > >>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >> ___ > >> Flashcoders mailing list > >> Flashcoders@chattyfig.figleaf.com > >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > ___ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Karl DeSaulniers > Design Drumm > http://designdrumm.com > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] error 2101 urlvariables decode
Hi David, I am not sure about your mailer, as I am an old AS2 head. lol But I have a sendmail_generic php script you could try to see if it works over yours. It is set up to work with flash and html alike. Instructions are in the comments in the script. http://designdrumm.com/sendmail_gen.php.zip FYI, I have used this for years and it still works with Flash 10. I have a feeling in your php script, you need to set more headers to send with, like X-Mailer parameters. HTH, Karl On Jan 18, 2011, at 7:23 PM, David Hunter wrote: Thanks for the response Karl. the php version is 5.2.5 and I don't think it changed recently. It seems lots of people are reporting this problem with CS4/CS5 and FP10. none of the solutions on google seem to be helping. I have tried encoding the URLLoader.data as variables and as text, on the php side i have tried echoing "sentOk=" .sentOk, "&sentOk=", "?sentOk=", "sentOk=true", "success". Either an #2101 error is pulled when using variables, when using text no error occurs but the php doesn't send the email. Has anyone run into this problem? Or has an example of sending and returning vars with a php script that they know works in CS5 with AS3 for comparison. This is doing my head in!!! Thanks in advance From: k...@designdrumm.com To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] error 2101 urlvariables decode Date: Tue, 18 Jan 2011 13:35:22 -0600 CC: flashcoders@chattyfig.figleaf.com What version of php was that file made for and what version of php do you have on the server? or better yet, did they upgrade the php on your server to a newer version. that may make an old php file not send anymore. JAT Karl Sent from my iPhone On Jan 18, 2011, at 8:01 AM, David Hunter wrote: Happy New Year everyone! Recently updated a site that has a registration form which is now throwing an error. I didn't change anything to do with the form. It now throws an error #2101: The String passed to URLVariables.decode () must be a URL-encoded query string containing name/value pairs. I've looked on google and there seems to be some conflict whether it is a problem with the flash side or PHP side. I know that this has only occurred since updating another section of the site. I am now using CS5 but I was previously on CS3. I have tried changing my URLLoaderDataFormat.VARIABLES to TEXT and it throws a different error #1069: Property sentOk not found on String and there is no default value. (sentOk is the name of the variable I echo back from the php to know that an email has been sent). A snippet of the flash code is here: http://pastebin.com/pTzZKkMS The PHP code that handles the signup is here: http://pastebin.com/ FzbMdB7e The site has been running fine for over a year with pretty much the same actionscript code, the PHP side hasn't changed in years, this error only crept in 3 days ago. It doesn't just throw an error but also fails to send an email from the php side. Any and all help greatly appreciated, David ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] error 2101 urlvariables decode
Thanks for the response Karl. the php version is 5.2.5 and I don't think it changed recently. It seems lots of people are reporting this problem with CS4/CS5 and FP10. none of the solutions on google seem to be helping. I have tried encoding the URLLoader.data as variables and as text, on the php side i have tried echoing "sentOk=" .sentOk, "&sentOk=", "?sentOk=", "sentOk=true", "success". Either an #2101 error is pulled when using variables, when using text no error occurs but the php doesn't send the email. Has anyone run into this problem? Or has an example of sending and returning vars with a php script that they know works in CS5 with AS3 for comparison. This is doing my head in!!! Thanks in advance > From: k...@designdrumm.com > To: flashcoders@chattyfig.figleaf.com > Subject: Re: [Flashcoders] error 2101 urlvariables decode > Date: Tue, 18 Jan 2011 13:35:22 -0600 > CC: flashcoders@chattyfig.figleaf.com > > What version of php was that file made for and what version of php do > you have on the server? or better yet, did they upgrade the php on > your server to a newer version. that may make an old php file not send > anymore. > > JAT > > Karl > > Sent from my iPhone > > On Jan 18, 2011, at 8:01 AM, David Hunter > wrote: > > > > > Happy New Year everyone! > > Recently updated a site that has a registration form which is now > > throwing an error. I didn't change anything to do with the form. It > > now throws an error #2101: The String passed to URLVariables.decode > > () must be a URL-encoded query string containing name/value pairs. > > I've looked on google and there seems to be some conflict whether it > > is a problem with the flash side or PHP side. I know that this has > > only occurred since updating another section of the site. I am now > > using CS5 but I was previously on CS3. I have tried changing my > > URLLoaderDataFormat.VARIABLES to TEXT and it throws a different > > error #1069: Property sentOk not found on String and there is no > > default value. (sentOk is the name of the variable I echo back from > > the php to know that an email has been sent). > > A snippet of the flash code is here: http://pastebin.com/pTzZKkMS > > The PHP code that handles the signup is here: http://pastebin.com/FzbMdB7e > > The site has been running fine for over a year with pretty much the > > same actionscript code, the PHP side hasn't changed in years, this > > error only crept in 3 days ago. It doesn't just throw an error but > > also fails to send an email from the php side. > > Any and all help greatly appreciated, > > David > > ___ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] error 2101 urlvariables decode
What version of php was that file made for and what version of php do you have on the server? or better yet, did they upgrade the php on your server to a newer version. that may make an old php file not send anymore. JAT Karl Sent from my iPhone On Jan 18, 2011, at 8:01 AM, David Hunter wrote: Happy New Year everyone! Recently updated a site that has a registration form which is now throwing an error. I didn't change anything to do with the form. It now throws an error #2101: The String passed to URLVariables.decode () must be a URL-encoded query string containing name/value pairs. I've looked on google and there seems to be some conflict whether it is a problem with the flash side or PHP side. I know that this has only occurred since updating another section of the site. I am now using CS5 but I was previously on CS3. I have tried changing my URLLoaderDataFormat.VARIABLES to TEXT and it throws a different error #1069: Property sentOk not found on String and there is no default value. (sentOk is the name of the variable I echo back from the php to know that an email has been sent). A snippet of the flash code is here: http://pastebin.com/pTzZKkMS The PHP code that handles the signup is here: http://pastebin.com/FzbMdB7e The site has been running fine for over a year with pretty much the same actionscript code, the PHP side hasn't changed in years, this error only crept in 3 days ago. It doesn't just throw an error but also fails to send an email from the php side. Any and all help greatly appreciated, David ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders