RE: Install coldfusion 8 on windows 7 64bit with IIS7 problem HTTP Error 500.0 - Internal Server Error
Hi Dave, It fixed my problem! Thank you very much! -Original Message- From: Dave Sueltenfuss [mailto:dsueltenf...@gmail.com] Sent: 26 April 2010 23:17 To: cf-talk Subject: Re: Install coldfusion 8 on windows 7 64bit with IIS7 problem HTTP Error 500.0 - Internal Server Error I had this exact same issue earleir today. Make sure the ApplicationPool is set to allow 32 Bit Applications in IIS On Mon, Apr 26, 2010 at 5:35 PM, Libo Bian libo.b...@motors.co.uk wrote: Hi, I just upgraded to windows 7 professional 64bit OS. trying to install coldfusion 8 on my PC. It installed fine, I can see the websites under IIS7 have all the mappings, however when I try to open the site i.e: 127.0.0.1 it gives me HTTP Error 500.0 - Internal Server Error Module IsapiModule Notification ExecuteRequestHandler Handler AboMapperCustom-22262 Error Code 0x800700c1 Requested URL http://127.0.0.1:80/ http://127.0.0.1/ Physical Path D:\Websites Logon Method Anonymous Logon User Anonymous Can anyone help me please??! thanks Libo Bian User Software Developer Direct Dial: 0845 265 6046 Mobile: Motors.co.uk Ltd is registered in England and Wales with Company No. 5975777. VAT registration GB 243 5711 74 Registered address: Northcliffe House, 2 Derry Street, London W8 5TT. Motors.co.uk Ltd is a Daily Mail and General Trust plc company. This message and any attachments are intended for the named addressee only. It contains information which may be confidential, legally privileged or otherwise protected by law. If you are not the intended recipient, please telephone or email the sender and delete this message and any attachments from your system. If you are not the intended recipient you must not copy this message or attachments or disclose the contents to any other person. Emails are not secure and may contain viruses. Motors.co.uk reserves the right to monitor all e-mail communications. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333146 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Security Header is Not Valid - Paypal
Is this a direct copy of your code? If so, this appears to be your problem: cfhttpparam type=url name=pdw value=#urlencodedformat(paypal_enviroment.api_pwd)# You misspelled pwd in the name attribute. Scott On Mon, Apr 26, 2010 at 6:16 PM, Matthew P. Smith m...@smithwebdesign.netwrote: I am getting the following: TIMESTAMP=2010%2d04%2d26T23%3a43%3a12ZCORRELATIONID=b2b38432aa389ACK=FailureVERSION=0%2e00BUILD=1268624L_ERRORCODE0=10002L_SHORTMESSAGE0=Security%20errorL_LONGMESSAGE0=Security%20header%20is%20not%20validL_SEVERITYCODE0=Error Please note I have replaced api_user, api_pwd, api_sig with the proper values. I have tried commenting out the cfloop but it changes nothing. cfset paypal_enviroment = structnew() cfset paypal_enviroment.api_url = https://api-3t.paypal.com/nvp; cfset paypal_enviroment.api_user =(user) cfset paypal_enviroment.api_pwd =(pwd) cfset paypal_enviroment.api_signature =(sig) cfset paypal_enviroment.return_url = https://site/index.cfm/fuseaction/SECUREPaypalCheckout.return/index.cfm; cfset paypal_enviroment.cancel_url = https://site/index.cfm/fuseaction/SECUREPaypalCheckout.cancel/index.cfm; cfhttp method=get url=#paypal_enviroment.api_url# throwonerror=yes cfhttpparam type=url name=user value=#urlencodedformat(paypal_enviroment.api_user)# cfhttpparam type=url name=pdw value=#urlencodedformat(paypal_enviroment.api_pwd)# cfhttpparam type=url name=signature value=#urlencodedformat(paypal_enviroment.api_signature)# cfhttpparam type=url name=method value=SetExpressCheckout cfhttpparam type=url name=currencycode value=USD cfhttpparam type=url name=allownote value=1 cfloop query=qry_paypallock_get cfset variables.paypal_item_row = qry_paypallock_get.currentrow - 1 cfhttpparam type=url name=L_NAME#variables.paypal_item_row# value=# qry_paypallock_get.name# cfhttpparam type=url name=L_NUMBER#variables.paypal_item_row# value=#qry_paypallock_get.tblproductsfk# cfhttpparam type=url name=L_DESC#variables.paypal_item_row# value=#qry_paypallock_get.shortdescription# cfhttpparam type=url name=L_AMT#variables.paypal_item_row# value=#qry_paypallock_get.unitprice# /cfloop /cfhttp cfdump var=#cfhttp.filecontent# cfabort -- - Scott Brady http://www.scottbrady.net/ ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333147 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ssis 2005 question
yeah we do have them linked. so select into may be better. i cant detach and reattach because we are changing the table names of about 90% of the tables.. or that's what i am telling my self.. i really do appreciate your guys opinions. thanks a bunch -paul On Mon, Apr 26, 2010 at 10:20 PM, rex li...@pgrworld.com wrote: +1 This is indeed the way to go. Another option, since you manage both servers: link one server to another and just do an SELECT INTO: SELECT * INTO newtable FROM 2KServer.db_name.dbo.table_name - Rex Mike Chabot wrote: I would advise avoiding the migration wizard in SSIS. In my experience it doesn't work very well. It is easier and faster to use the backup/restore or detach/attach methods when it comes to upgrading SQL Server. -Mike Chabot ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333148 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CFEclipse on Mac with Subclipse -- unstable?
Is anyone else using CFEclipse on the Mac with the Subclipse plug-in? For me, it seems really unstable (sometimes, I have to restart eclipse 5 times within 5 minutes). I tried a fresh install yesterday and I'm still having issues. Things like typing not showing up, errors when trying to save, text appearing in the wrong place (though the file isn't saved that way), etc. This is now with the latest version of Eclipse, CFEclipse, and Subclipse (I was using an older version of at least Subclipse before, because this one made me update SVN before it would work). Scott -- - Scott Brady http://www.scottbrady.net/ ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333149 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFEclipse on Mac with Subclipse -- unstable?
I am using CF Builder now, but I used CFEclipse with Subclipse before that and never experienced issues like you are describing. On Tue, Apr 27, 2010 at 10:18 AM, Scott Brady dsbr...@gmail.com wrote: Is anyone else using CFEclipse on the Mac with the Subclipse plug-in? For me, it seems really unstable (sometimes, I have to restart eclipse 5 times within 5 minutes). I tried a fresh install yesterday and I'm still having issues. Things like typing not showing up, errors when trying to save, text appearing in the wrong place (though the file isn't saved that way), etc. This is now with the latest version of Eclipse, CFEclipse, and Subclipse (I was using an older version of at least Subclipse before, because this one made me update SVN before it would work). Scott -- - Scott Brady http://www.scottbrady.net/ ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333150 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFEclipse on Mac with Subclipse -- unstable?
Which versions of CFEclipse/eclipse did you use? At my last job (which was a few weeks ago), I was having stability issues with the latest versions of CFEclipse/Eclipse, too, and that was on Windows XP. That didn't have subclipse on it (and, to be fair, it had some different symptoms -- mainly temporary freezes and such). So, I'm wondering if there's something up with the latest CFEclipse plug-in itself. Scott On Tue, Apr 27, 2010 at 8:37 AM, Scott Stroz boyz...@gmail.com wrote: I am using CF Builder now, but I used CFEclipse with Subclipse before that and never experienced issues like you are describing. On Tue, Apr 27, 2010 at 10:18 AM, Scott Brady dsbr...@gmail.com wrote: Is anyone else using CFEclipse on the Mac with the Subclipse plug-in? For me, it seems really unstable (sometimes, I have to restart eclipse 5 times within 5 minutes). I tried a fresh install yesterday and I'm still having issues. Things like typing not showing up, errors when trying to save, text appearing in the wrong place (though the file isn't saved that way), etc. This is now with the latest version of Eclipse, CFEclipse, and Subclipse (I was using an older version of at least Subclipse before, because this one made me update SVN before it would work). Scott -- - Scott Brady http://www.scottbrady.net/ ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333151 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Not so simple date format question...
I'm working with an accounting database that stores order dates as a varchar (8) field. An example would be 20100420. Obviously, CF's dateformat chokes when used. Short of using a bunch of cfset statements with CF functions, how can I (in SQL preferrably or CF) easily format this string to 04/20/2010? Thanks, Che ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333152 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Not so simple date format question...
Which database are you using? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333153 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Not so simple date format question...
s = 20100420; mid(s, 5, 2) / right(s, 2) / left(s, 4); cheers, barneyb On Tue, Apr 27, 2010 at 8:32 AM, Che Vilnonis ch...@asitv.com wrote: I'm working with an accounting database that stores order dates as a varchar (8) field. An example would be 20100420. Obviously, CF's dateformat chokes when used. Short of using a bunch of cfset statements with CF functions, how can I (in SQL preferrably or CF) easily format this string to 04/20/2010? Thanks, Che ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333154 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Not so simple date format question...
MSSQL 2005 I figured a db convert statement might be needed? -Original Message- From: Leigh [mailto:cfsearch...@yahoo.com] Sent: Tuesday, April 27, 2010 11:37 AM To: cf-talk Subject: Re: Not so simple date format question... Which database are you using? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333155 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Not so simple date format question...
MSSQL 2005 I figured a db convert statement might be needed? Yes, that is one way to do it. If you think you will be doing it frequently, you could create a view (containing the convert) and call the view in your CF code: SELECT convert(datetime, YourVarcharCol, 112) AS ConvertedToDateTime http://msdn.microsoft.com/en-us/library/ms187928.aspx ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333156 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFEclipse on Mac with Subclipse -- unstable?
I use CFEclipse and CFBuilder on the Mac. I've switched from the Subclipse plug in to the Subversive plug in. Subversive is now part of the Eclipse project and seems to be getting more love and support. Wil Genovese Sr. Web Application Developer http://www.trunkful.com On Tue, Apr 27, 2010 at 9:41 AM, Scott Brady dsbr...@gmail.com wrote: Which versions of CFEclipse/eclipse did you use? At my last job (which was a few weeks ago), I was having stability issues with the latest versions of CFEclipse/Eclipse, too, and that was on Windows XP. That didn't have subclipse on it (and, to be fair, it had some different symptoms -- mainly temporary freezes and such). So, I'm wondering if there's something up with the latest CFEclipse plug-in itself. Scott On Tue, Apr 27, 2010 at 8:37 AM, Scott Stroz boyz...@gmail.com wrote: I am using CF Builder now, but I used CFEclipse with Subclipse before that and never experienced issues like you are describing. On Tue, Apr 27, 2010 at 10:18 AM, Scott Brady dsbr...@gmail.com wrote: Is anyone else using CFEclipse on the Mac with the Subclipse plug-in? For me, it seems really unstable (sometimes, I have to restart eclipse 5 times within 5 minutes). I tried a fresh install yesterday and I'm still having issues. Things like typing not showing up, errors when trying to save, text appearing in the wrong place (though the file isn't saved that way), etc. This is now with the latest version of Eclipse, CFEclipse, and Subclipse (I was using an older version of at least Subclipse before, because this one made me update SVN before it would work). Scott -- - Scott Brady http://www.scottbrady.net/ ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333157 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Not so simple date format question...
Just do something like this: cfset str = 20100420 / cfoutput #DateFormat(CreateDate(MID(str,1,4),MID(str,5,2),MID(str,7,2)),'mm/dd/')# /cfoutput On Tue, Apr 27, 2010 at 10:32 AM, Che Vilnonis ch...@asitv.com wrote: I'm working with an accounting database that stores order dates as a varchar (8) field. An example would be 20100420. Obviously, CF's dateformat chokes when used. Short of using a bunch of cfset statements with CF functions, how can I (in SQL preferrably or CF) easily format this string to 04/20/2010? Thanks, Che ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333158 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Not so simple date format question...
Barney, thanks! I had something similar. Leigh, that is what I was looking for. Works perfectly. Thanks to you as well. Che -Original Message- From: Leigh [mailto:cfsearch...@yahoo.com] Sent: Tuesday, April 27, 2010 11:44 AM To: cf-talk Subject: RE: Not so simple date format question... Yes, that is one way to do it. If you think you will be doing it frequently, you could create a view (containing the convert) and call the view in your CF code: SELECT convert(datetime, YourVarcharCol, 112) AS ConvertedToDateTime http://msdn.microsoft.com/en-us/library/ms187928.aspx ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333159 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFEclipse on Mac with Subclipse -- unstable?
True. I guess I can try that to see if it's indeed subclipse instead of cfeclipse itself. Scott On Tue, Apr 27, 2010 at 9:46 AM, Wil Genovese jugg...@visi.com wrote: I use CFEclipse and CFBuilder on the Mac. I've switched from the Subclipse plug in to the Subversive plug in. Subversive is now part of the Eclipse project and seems to be getting more love and support. Wil Genovese Sr. Web Application Developer http://www.trunkful.com On Tue, Apr 27, 2010 at 9:41 AM, Scott Brady dsbr...@gmail.com wrote: Which versions of CFEclipse/eclipse did you use? At my last job (which was a few weeks ago), I was having stability issues with the latest versions of CFEclipse/Eclipse, too, and that was on Windows XP. That didn't have subclipse on it (and, to be fair, it had some different symptoms -- mainly temporary freezes and such). So, I'm wondering if there's something up with the latest CFEclipse plug-in itself. Scott On Tue, Apr 27, 2010 at 8:37 AM, Scott Stroz boyz...@gmail.com wrote: I am using CF Builder now, but I used CFEclipse with Subclipse before that and never experienced issues like you are describing. On Tue, Apr 27, 2010 at 10:18 AM, Scott Brady dsbr...@gmail.com wrote: Is anyone else using CFEclipse on the Mac with the Subclipse plug-in? For me, it seems really unstable (sometimes, I have to restart eclipse 5 times within 5 minutes). I tried a fresh install yesterday and I'm still having issues. Things like typing not showing up, errors when trying to save, text appearing in the wrong place (though the file isn't saved that way), etc. This is now with the latest version of Eclipse, CFEclipse, and Subclipse (I was using an older version of at least Subclipse before, because this one made me update SVN before it would work). Scott -- - Scott Brady http://www.scottbrady.net/ ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333160 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFEclipse on Mac with Subclipse -- unstable?
Cannot recall off hand, but I know they were the most recent versions of Eclipse, CFEclipse and Subclipse. On Tue, Apr 27, 2010 at 10:41 AM, Scott Brady dsbr...@gmail.com wrote: Which versions of CFEclipse/eclipse did you use? At my last job (which was a few weeks ago), I was having stability issues with the latest versions of CFEclipse/Eclipse, too, and that was on Windows XP. That didn't have subclipse on it (and, to be fair, it had some different symptoms -- mainly temporary freezes and such). So, I'm wondering if there's something up with the latest CFEclipse plug-in itself. Scott On Tue, Apr 27, 2010 at 8:37 AM, Scott Stroz boyz...@gmail.com wrote: I am using CF Builder now, but I used CFEclipse with Subclipse before that and never experienced issues like you are describing. On Tue, Apr 27, 2010 at 10:18 AM, Scott Brady dsbr...@gmail.com wrote: Is anyone else using CFEclipse on the Mac with the Subclipse plug-in? For me, it seems really unstable (sometimes, I have to restart eclipse 5 times within 5 minutes). I tried a fresh install yesterday and I'm still having issues. Things like typing not showing up, errors when trying to save, text appearing in the wrong place (though the file isn't saved that way), etc. This is now with the latest version of Eclipse, CFEclipse, and Subclipse (I was using an older version of at least Subclipse before, because this one made me update SVN before it would work). Scott -- - Scott Brady http://www.scottbrady.net/ ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333161 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Security Header is Not Valid - Paypal
Thank you for spotting that. Unfortunately, I am still getting the same error. cfhttp method=get url=#paypal_enviroment.api_url# throwonerror=yes cfhttpparam type=url name=user value=#urlencodedformat(paypal_enviroment.api_user)# cfhttpparam type=url name=pwd value=#urlencodedformat(paypal_enviroment.api_pwd)# cfhttpparam type=url name=signature value=#urlencodedformat(paypal_enviroment.api_signature)# cfhttpparam type=url name=method value=SetExpressCheckout cfhttpparam type=url name=paymentaction value=Authorization cfhttpparam type=url name=currencycode value=USD cfhttpparam type=url name=allownote value=1 /cfhttp Am I passing everything that is required? On Tue, Apr 27, 2010 at 5:10 AM, Scott Brady dsbr...@gmail.com wrote: Is this a direct copy of your code? If so, this appears to be your problem: cfhttpparam type=url name=pdw value=#urlencodedformat(paypal_enviroment.api_pwd)# You misspelled pwd in the name attribute. Scott On Mon, Apr 26, 2010 at 6:16 PM, Matthew P. Smith m...@smithwebdesign.net wrote: I am getting the following: TIMESTAMP=2010%2d04%2d26T23%3a43%3a12ZCORRELATIONID=b2b38432aa389ACK=FailureVERSION=0%2e00BUILD=1268624L_ERRORCODE0=10002L_SHORTMESSAGE0=Security%20errorL_LONGMESSAGE0=Security%20header%20is%20not%20validL_SEVERITYCODE0=Error Please note I have replaced api_user, api_pwd, api_sig with the proper values. I have tried commenting out the cfloop but it changes nothing. cfset paypal_enviroment = structnew() cfset paypal_enviroment.api_url = https://api-3t.paypal.com/nvp; cfset paypal_enviroment.api_user =(user) cfset paypal_enviroment.api_pwd =(pwd) cfset paypal_enviroment.api_signature =(sig) cfset paypal_enviroment.return_url = https://site/index.cfm/fuseaction/SECUREPaypalCheckout.return/index.cfm cfset paypal_enviroment.cancel_url = https://site/index.cfm/fuseaction/SECUREPaypalCheckout.cancel/index.cfm cfhttp method=get url=#paypal_enviroment.api_url# throwonerror=yes cfhttpparam type=url name=user value=#urlencodedformat(paypal_enviroment.api_user)# cfhttpparam type=url name=pdw value=#urlencodedformat(paypal_enviroment.api_pwd)# cfhttpparam type=url name=signature value=#urlencodedformat(paypal_enviroment.api_signature)# cfhttpparam type=url name=method value=SetExpressCheckout cfhttpparam type=url name=currencycode value=USD cfhttpparam type=url name=allownote value=1 cfloop query=qry_paypallock_get cfset variables.paypal_item_row = qry_paypallock_get.currentrow - 1 cfhttpparam type=url name=L_NAME#variables.paypal_item_row# value=# qry_paypallock_get.name# cfhttpparam type=url name=L_NUMBER#variables.paypal_item_row# value=#qry_paypallock_get.tblproductsfk# cfhttpparam type=url name=L_DESC#variables.paypal_item_row# value=#qry_paypallock_get.shortdescription# cfhttpparam type=url name=L_AMT#variables.paypal_item_row# value=#qry_paypallock_get.unitprice# /cfloop /cfhttp cfdump var=#cfhttp.filecontent# cfabort -- - Scott Brady http://www.scottbrady.net/ ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333162 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Security Header is Not Valid - Paypal
Ok, after testing further, it looks like the issue is with the cfhttpparams. This works: cfset testurl = #paypal_enviroment.api_url#?user=#urlencodedformat(paypal_enviroment.api_user)#pwd=#urlencodedformat(paypal_enviroment.api_pwd)#signature=#urlencodedformat(paypal_enviroment.api_signature)#method=SetExpressCheckoutpaymentaction=Authorizationcurrencycode=USDallownote=1version=60.0 cfhttp method=get url=#testurl# throwonerror=yes / cfdump var=#testurl#brbr cfdump var=#cfhttp.filecontent#brbr This does not. What am I doing wrong? cfhttp method=get url=#paypal_enviroment.api_url# throwonerror=yes cfhttpparam type=url name=user value=#urlencodedformat(paypal_enviroment.api_user)# cfhttpparam type=url name=pwd value=#urlencodedformat(paypal_enviroment.api_pwd)# cfhttpparam type=url name=signature value=#urlencodedformat(paypal_enviroment.api_signature)# cfhttpparam type=url name=method value=SetExpressCheckout cfhttpparam type=url name=paymentaction value=Authorization cfhttpparam type=url name=currencycode value=USD cfhttpparam type=url name=allownote value=1 cfhttpparam type=url name=version value=60.0 /cfhttp cfdump var=#cfhttp.filecontent#brbr cfdump var=#paypal_enviroment#brbr Is there any benefit/difference between the two methods? On Tue, Apr 27, 2010 at 5:10 AM, Scott Brady dsbr...@gmail.com wrote: Is this a direct copy of your code? If so, this appears to be your problem: cfhttpparam type=url name=pdw value=#urlencodedformat(paypal_enviroment.api_pwd)# You misspelled pwd in the name attribute. Scott On Mon, Apr 26, 2010 at 6:16 PM, Matthew P. Smith m...@smithwebdesign.net wrote: I am getting the following: TIMESTAMP=2010%2d04%2d26T23%3a43%3a12ZCORRELATIONID=b2b38432aa389ACK=FailureVERSION=0%2e00BUILD=1268624L_ERRORCODE0=10002L_SHORTMESSAGE0=Security%20errorL_LONGMESSAGE0=Security%20header%20is%20not%20validL_SEVERITYCODE0=Error Please note I have replaced api_user, api_pwd, api_sig with the proper values. I have tried commenting out the cfloop but it changes nothing. cfset paypal_enviroment = structnew() cfset paypal_enviroment.api_url = https://api-3t.paypal.com/nvp; cfset paypal_enviroment.api_user =(user) cfset paypal_enviroment.api_pwd =(pwd) cfset paypal_enviroment.api_signature =(sig) cfset paypal_enviroment.return_url = https://site/index.cfm/fuseaction/SECUREPaypalCheckout.return/index.cfm cfset paypal_enviroment.cancel_url = https://site/index.cfm/fuseaction/SECUREPaypalCheckout.cancel/index.cfm cfhttp method=get url=#paypal_enviroment.api_url# throwonerror=yes cfhttpparam type=url name=user value=#urlencodedformat(paypal_enviroment.api_user)# cfhttpparam type=url name=pdw value=#urlencodedformat(paypal_enviroment.api_pwd)# cfhttpparam type=url name=signature value=#urlencodedformat(paypal_enviroment.api_signature)# cfhttpparam type=url name=method value=SetExpressCheckout cfhttpparam type=url name=currencycode value=USD cfhttpparam type=url name=allownote value=1 cfloop query=qry_paypallock_get cfset variables.paypal_item_row = qry_paypallock_get.currentrow - 1 cfhttpparam type=url name=L_NAME#variables.paypal_item_row# value=# qry_paypallock_get.name# cfhttpparam type=url name=L_NUMBER#variables.paypal_item_row# value=#qry_paypallock_get.tblproductsfk# cfhttpparam type=url name=L_DESC#variables.paypal_item_row# value=#qry_paypallock_get.shortdescription# cfhttpparam type=url name=L_AMT#variables.paypal_item_row# value=#qry_paypallock_get.unitprice# /cfloop /cfhttp cfdump var=#cfhttp.filecontent# cfabort -- - Scott Brady http://www.scottbrady.net/ ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333163 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Security Header is Not Valid - Paypal
Ok, after testing further, it looks like the issue is with the cfhttpparams. This works: cfset testurl = #paypal_enviroment.api_url#? user=#urlencodedformat(paypal_enviroment.api_user)#pwd=#urlencodedformat(paypal_enviroment.api_pwd)# signature=#urlencodedformat(paypal_enviroment.api_signature)#method=SetExpressCheckoutpaymentaction=Authorization currencycode=USDallownote=1version=60.0 cfhttp method=get url=#testurl# throwonerror=yes / cfdump var=#testurl#brbr cfdump var=#cfhttp.filecontent#brbr This does not. What am I doing wrong? cfhttp method=get url=#paypal_enviroment.api_url# throwonerror=yes cfhttpparam type=url name=user value=#urlencodedformat(paypal_enviroment.api_user)# cfhttpparam type=url name=pwd value=#urlencodedformat(paypal_enviroment.api_pwd)# cfhttpparam type=url name=signature value=#urlencodedformat(paypal_enviroment.api_signature)# cfhttpparam type=url name=method value=SetExpressCheckout cfhttpparam type=url name=paymentaction value=Authorization cfhttpparam type=url name=currencycode value=USD cfhttpparam type=url name=allownote value=1 cfhttpparam type=url name=version value=60.0 /cfhttp cfdump var=#cfhttp.filecontent#brbr cfdump var=#paypal_enviroment#brbr Is there any benefit/difference between the two methods? The CFHTTPPARAM tag automatically encodes URL parameters unless you turn that off, so you're double-encoding some of them. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, o ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333164 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CFHTTP and APSX
Ok this one has me stumped. We need to send a simple xml package to a partners site. We have set up the cfhttp to post to their site and we have tired both as an XML type and a form type. When we make the call cfhttp url=#form.post_url method=POST timeout=30 cfhttpparam type=Header name=Accept-Encoding value=deflate;q=0 cfhttpparam type=Header name=TE value=deflate;q=0 cfhttpparam type=FORMFIELD name=xmlresponse value=#soapcontent# /cfhttp They do not see ANY of the form data. NOTHING. I have successfully changed the url to an entirely differnt server and I can view all of the information that we are sending. We are NOT getting a connection falure Message - only that there is no data being passed. Hitting my head again the wall on this one. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333165 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFHTTP and APSX
Matt, Make sure they aren't expecting that form field to be submitted as an XML type and not a form field. I've run into that a few times when dealing with .NET form submissions. Based on the type of data this may be the case, Phil On Tue, Apr 27, 2010 at 1:37 PM, Matthew Friedman m...@hozgroup.com wrote: Ok this one has me stumped. We need to send a simple xml package to a partners site. We have set up the cfhttp to post to their site and we have tired both as an XML type and a form type. When we make the call cfhttp url=#form.post_url method=POST timeout=30 cfhttpparam type=Header name=Accept-Encoding value=deflate;q=0 cfhttpparam type=Header name=TE value=deflate;q=0 cfhttpparam type=FORMFIELD name=xmlresponse value=#soapcontent# /cfhttp They do not see ANY of the form data. NOTHING. I have successfully changed the url to an entirely differnt server and I can view all of the information that we are sending. We are NOT getting a connection falure Message - only that there is no data being passed. Hitting my head again the wall on this one. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333166 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFHTTP and APSX
Working with the developer on this. We have it just looking for the Request.xmlresponse value. I have tired it both ways also. Matt, Make sure they aren't expecting that form field to be submitted as an XML type and not a form field. I've run into that a few times when dealing with .NET form submissions. Based on the type of data this may be the case, Phil ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333167 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Security Header is Not Valid - Paypal
Yes, that was it. Thank you so much, Dave. Are there any other tags that do that automatically? On Tue, Apr 27, 2010 at 12:22 PM, Dave Watts dwa...@figleaf.com wrote: Ok, after testing further, it looks like the issue is with the cfhttpparams. This works: cfset testurl = #paypal_enviroment.api_url#? user=#urlencodedformat(paypal_enviroment.api_user)#pwd=#urlencodedformat(paypal_enviroment.api_pwd)# signature=#urlencodedformat(paypal_enviroment.api_signature)#method=SetExpressCheckoutpaymentaction=Authorization currencycode=USDallownote=1version=60.0 cfhttp method=get url=#testurl# throwonerror=yes / cfdump var=#testurl#brbr cfdump var=#cfhttp.filecontent#brbr This does not. What am I doing wrong? cfhttp method=get url=#paypal_enviroment.api_url# throwonerror=yes cfhttpparam type=url name=user value=#urlencodedformat(paypal_enviroment.api_user)# cfhttpparam type=url name=pwd value=#urlencodedformat(paypal_enviroment.api_pwd)# cfhttpparam type=url name=signature value=#urlencodedformat(paypal_enviroment.api_signature)# cfhttpparam type=url name=method value=SetExpressCheckout cfhttpparam type=url name=paymentaction value=Authorization cfhttpparam type=url name=currencycode value=USD cfhttpparam type=url name=allownote value=1 cfhttpparam type=url name=version value=60.0 /cfhttp cfdump var=#cfhttp.filecontent#brbr cfdump var=#paypal_enviroment#brbr Is there any benefit/difference between the two methods? The CFHTTPPARAM tag automatically encodes URL parameters unless you turn that off, so you're double-encoding some of them. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, o ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333168 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Security Header is Not Valid - Paypal
Are there any other tags that do that automatically? Not that I'm aware of, but I could be wrong. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333169 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
number format mask
#numberformat(variables.ordertotal, .99)# Does this limit the left of the decimal place to 4 digits? Or am I good no matter how large the number. Sorry, the CFWACK docs are a bit off i think. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333170 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: number format mask
Try it and see: cfset variables.ordertotal = 100 cfoutput#numberformat(variables.ordertotal, .99)#/cfoutput Thanks, Eric Cobb ECAR Technologies, LLC http://www.ecartech.com http://www.cfgears.com Matthew P. Smith wrote: #numberformat(variables.ordertotal, .99)# Does this limit the left of the decimal place to 4 digits? Or am I good no matter how large the number. Sorry, the CFWACK docs are a bit off i think. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333171 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
HTTP Upload Problems
We are running a marketplace on ColdFusion8 and IIS with a widely geographically distributed user base and have been receiving complaints of issues with some HTTP uploads. Most of the complaints are coming from geographically distant locations from our main datacenter on the US east coast. I've attempted to upload the same 70MB file from a US West coast test server to both our main site and a backup running the same code on a different network route and I saw the same issues fairly consistently in both places, so I've ruled out the code, route, and internal network errors. I've also tested uploads using both the native cf upload tag and a third party tool called SaFileUp. I saw the same issues with both upload tools, so I also don't think this is necessarily a ColdFusion problem. I don't have any problems uploading the test file from the East coast to other east coast servers, so I'm beginning to think that the distance between our users and our equipment is a factor. I've also found that smaller files are more likely to succeed than large ones ( 10MB) I tried the test upload with both IE and FF and did notice a difference in the way that the browsers seemed to handle packet errors. IE seemed to have a tough time continuing an upload after dropped / bad packets, whereas FF seemed to have the ability to gracefully resume an upload after experiencing packet problems. 1. Has anyone experienced similar issues? 2. Is there anything we can do on our side to make uploads more forgiving to packet loss or resumable after an error? A different upload tool etc⦠3. Do we need upload servers in more than one location to shorten the network routes between clients and servers? Thanks. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333172 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: HTTP Upload Problems
Here's an excerpt from one of the packet traces showing the problems that the uploads seem to be stumbling on: 33400 277.18 10.162.147.150 169.254.169.254 TCP 49210 http [FIN, ACK] Seq=98 Ack=234 Win=65280 Len=0 33401 277.18 169.254.169.254 10.162.147.150 TCP http 49210 [ACK] Seq=234 Ack=99 Win=5888 Len=0 33402 277.18 10.162.147.150 169.254.169.254 TCP 49211 http [SYN] Seq=0 Win=8192 Len=0 MSS=1460 WS=8 33403 277.18 169.254.169.254 10.162.147.150 TCP http 49211 [SYN, ACK] Seq=0 Ack=1 Win=5840 Len=0 MSS=1460 WS=7 33404 277.18 10.162.147.150 169.254.169.254 TCP 49211 http [ACK] Seq=1 Ack=1 Win=65536 Len=0 33405 277.18 10.162.147.150 169.254.169.254 HTTPGET /latest/meta-data/instance-action HTTP/1.1 33406 277.18 169.254.169.254 10.162.147.150 TCP http 49211 [ACK] Seq=1 Ack=98 Win=5888 Len=0 33407 277.18 169.254.169.254 10.162.147.150 HTTPHTTP/1.0 200 OK (text/plain) 33408 277.39 10.162.147.150 169.254.169.254 TCP 49211 http [ACK] Seq=98 Ack=233 Win=65280 Len=0 33409 280.75 10.162.147.150 Our Outside IP HTTP[TCP Retransmission] Continuation or non-HTTP traffic 33410 280.83 Our Outside IP 10.162.147.150 TCP http 49206 [PSH, ACK] Seq=1 Ack=30591849 Win=65535 Len=0 33411 280.83 10.162.147.150 Our Outside IP HTTPContinuation or non-HTTP traffic 33412 283.19 169.254.169.254 10.162.147.150 TCP http 49211 [FIN, ACK] Seq=233 Ack=98 Win=5888 Len=0 33413 283.19 10.162.147.150 169.254.169.254 TCP 49211 http [ACK] Seq=98 Ack=234 Win=65280 Len=0 33420 333.5 10.162.147.150 224.0.0.251 MDNSStandard query PTR _sleep-proxy._udp.local, QM question 33423 337.21 10.162.147.150 169.254.169.254 TCP 49211 http [FIN, ACK] Seq=98 Ack=234 Win=65280 Len=0 33424 337.21 169.254.169.254 10.162.147.150 TCP http 49211 [ACK] Seq=234 Ack=99 Win=5888 Len=0 33425 337.21 10.162.147.150 169.254.169.254 TCP 49212 http [SYN] Seq=0 Win=8192 Len=0 MSS=1460 WS=8 33426 337.21 169.254.169.254 10.162.147.150 TCP http 49212 [SYN, ACK] Seq=0 Ack=1 Win=5840 Len=0 MSS=1460 WS=7 33427 337.21 10.162.147.150 169.254.169.254 TCP 49212 http [ACK] Seq=1 Ack=1 Win=65536 Len=0 33428 337.21 10.162.147.150 169.254.169.254 HTTPGET /latest/meta-data/instance-action HTTP/1.1 33429 337.21 169.254.169.254 10.162.147.150 TCP http 49212 [ACK] Seq=1 Ack=98 Win=5888 Len=0 33430 337.21 169.254.169.254 10.162.147.150 HTTPHTTP/1.0 200 OK (text/plain) 33431 337.42 10.162.147.150 169.254.169.254 TCP 49212 http [ACK] Seq=98 Ack=233 Win=65280 Len=0 33432 340.82 10.162.147.150 Our Outside IP HTTP[TCP Retransmission] Continuation or non-HTTP traffic 33433 343.21 169.254.169.254 10.162.147.150 TCP http 49212 [FIN, ACK] Seq=233 Ack=98 Win=5888 Len=0 33434 343.21 10.162.147.150 169.254.169.254 TCP 49212 http [ACK] Seq=98 Ack=234 Win=65280 Len=0 33443 397.26 10.162.147.150 169.254.169.254 TCP 49212 http [FIN, ACK] Seq=98 Ack=234 Win=65280 Len=0 33444 397.26 169.254.169.254 10.162.147.150 TCP http 49212 [ACK] Seq=234 Ack=99 Win=5888 Len=0 33445 397.26 10.162.147.150 169.254.169.254 TCP 49213 http [SYN] Seq=0 Win=8192 Len=0 MSS=1460 WS=8 33446 397.26 169.254.169.254 10.162.147.150 TCP http 49213 [SYN, ACK] Seq=0 Ack=1 Win=5840 Len=0 MSS=1460 WS=7 33447 397.26 10.162.147.150 169.254.169.254 TCP 49213 http [ACK] Seq=1 Ack=1 Win=65536 Len=0 33448 397.26 10.162.147.150 169.254.169.254 HTTPGET /latest/meta-data/instance-action HTTP/1.1 33449 397.26 169.254.169.254 10.162.147.150 TCP http 49213 [ACK] Seq=1 Ack=98 Win=5888 Len=0 33450 397.27 169.254.169.254 10.162.147.150 HTTPHTTP/1.0 200 OK (text/plain) 33451 397.46 10.162.147.150 169.254.169.254 TCP 49213 http [ACK] Seq=98 Ack=233 Win=65280 Len=0 33452 400.84 10.162.147.150 Our Outside IP HTTP[TCP Retransmission] Continuation or non-HTTP traffic 33453 400.92 Our Outside IP 10.162.147.150 TCP http 49206 [PSH, ACK] Seq=1 Ack=30593229 Win=65535 Len=0 33454 400.92 10.162.147.150 Our Outside IP HTTPContinuation or non-HTTP traffic 33455 403.26 169.254.169.254 10.162.147.150 TCP http 49213 [FIN, ACK] Seq=233 Ack=98 Win=5888 Len=0 33456 403.26 10.162.147.150 169.254.169.254 TCP 49213 http [ACK] Seq=98 Ack=234 Win=65280 Len=0 33457 408.67 10.162.147.150 Our Outside IP HTTP[TCP Retransmission] Continuation or non-HTTP traffic ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333173 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe:
best way to extract these values
Response from paypal api: TOKEN=EC%2d56976134UR2195446TIMESTAMP=2010%2d04%2d27T22%3a22%3a01ZCORRELATIONID=e719ae821503cACK=SuccessVERSION=60%2e0BUILD=1268624 What is the easiest/best way to get each of these values? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333174 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: best way to extract these values
Here is what I use. - Gabriel !-- Create struct to hold values --- cfset responseStruct = structNew() !--- Treat the string as a list delimited by ampersands --- cfloop list=#nvpString# index=aNVPPair delimiters= !--- Treat each pair as a list delimited by equal signs. The key is the first position and the value is the second position --- cfset aNVPPair_key = listGetAt(aNVPPair,1,=) cfset aNVPPair_value = listGetAt(aNVPPair,2,=) !--- URL Decode the individual values --- cfset aNVPPair_key = URLDecode(aNVPPair_key) cfset aNVPPair_value = URLDecode(aNVPPair_value) !--- Add these items to the response struct --- cfset structInsert(responseStruct,aNVPPair_key,aNVPPair_value) /cfloop On Tue, Apr 27, 2010 at 6:23 PM, Matthew P. Smith m...@smithwebdesign.netwrote: Response from paypal api: TOKEN=EC%2d56976134UR2195446TIMESTAMP=2010%2d04%2d27T22%3a22%3a01ZCORRELATIONID=e719ae821503cACK=SuccessVERSION=60%2e0BUILD=1268624 What is the easiest/best way to get each of these values? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333175 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: best way to extract these values
Awesome. Thank you. On Tue, Apr 27, 2010 at 5:28 PM, Dorioo dor...@gmail.com wrote: Here is what I use. - Gabriel !-- Create struct to hold values --- cfset responseStruct = structNew() !--- Treat the string as a list delimited by ampersands --- cfloop list=#nvpString# index=aNVPPair delimiters= !--- Treat each pair as a list delimited by equal signs. The key is the first position and the value is the second position --- cfset aNVPPair_key = listGetAt(aNVPPair,1,=) cfset aNVPPair_value = listGetAt(aNVPPair,2,=) !--- URL Decode the individual values --- cfset aNVPPair_key = URLDecode(aNVPPair_key) cfset aNVPPair_value = URLDecode(aNVPPair_value) !--- Add these items to the response struct --- cfset structInsert(responseStruct,aNVPPair_key,aNVPPair_value) /cfloop On Tue, Apr 27, 2010 at 6:23 PM, Matthew P. Smith m...@smithwebdesign.net wrote: Response from paypal api: TOKEN=EC%2d56976134UR2195446TIMESTAMP=2010%2d04%2d27T22%3a22%3a01ZCORRELATIONID=e719ae821503cACK=SuccessVERSION=60%2e0BUILD=1268624 What is the easiest/best way to get each of these values? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333176 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Mail sent via cfmail flagged as spam
Hi, I've been using the same cfmail script that loops through and sends one at a time to members of a mailing list for years but lately hotmail, yahoo and even Outlook 2007 are flagging all these emails as spam. I know the server itself hasn't been black listed. I am entering a subject and have the from address set as #GetUser.Name# #GetUser.email#. Does anyone have any other tips on how I can prevent these messages from being marked as spam? I know I can get each subscriber to mark the sending address as safe but I'm hoping to avoid hassling the recipients to doing so . Thanks in advance. -Paul ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333177 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Mail sent via cfmail flagged as spam
change the mailerid and setup reverse dns for the from address.. Here's some other tips courtesy of Charlie.. http://www.carehart.org/blog/client/index.cfm/2008/4/8/cfmail_messageid_solution_for_CF6and7 On Tue, Apr 27, 2010 at 6:48 PM, Paul H p...@smashedvision.com wrote: Hi, I've been using the same cfmail script that loops through and sends one at a time to members of a mailing list for years but lately hotmail, yahoo and even Outlook 2007 are flagging all these emails as spam. I know the server itself hasn't been black listed. I am entering a subject and have the from address set as #GetUser.Name# #GetUser.email#. Does anyone have any other tips on how I can prevent these messages from being marked as spam? I know I can get each subscriber to mark the sending address as safe but I'm hoping to avoid hassling the recipients to doing so . Thanks in advance. -Paul ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333178 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFEclipse on Mac with Subclipse -- unstable?
All is well for me on a late 2008 MBP with the super-latest and greatest of both Subclipse and CFEclipse. Have you noticed a pattern? Like, is there a specific file you're working on that seems to have the problem whereas other files don't? I've literally had my CFE instance running for like a week, with lots of SVN stuff, and it hasn't crapped out on me yet. I don't think I've got anything special in my build... There will be a new CFEclipse release within the next day or so too, if it is related to an existing CFEclipse bug (that's been fixed, or improved ;)). FWIW though, smooth sailing here! :den -- Genius... means little more than the faculty of perceiving in an unhabitual way. William James On Tue, Apr 27, 2010 at 8:18 AM, Scott Brady wrote: Is anyone else using CFEclipse on the Mac with the Subclipse plug-in? For me, it seems really unstable (sometimes, I have to restart eclipse 5 times within 5 minutes). I tried a fresh install yesterday and I'm still having issues. Things like typing not showing up, errors when trying to save, text appearing in the wrong place (though the file isn't saved that way), etc. This is now with the latest version of Eclipse, CFEclipse, and Subclipse (I was using an older version of at least Subclipse before, because this one made me update SVN before it would work). Scott -- - Scott Brady http://www.scottbrady.net/ ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333179 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: HTTP Upload Problems
On 28/04/2010 07:33, John Foster wrote: Here's an excerpt from one of the packet traces showing the problems that the uploads seem to be stumbling on: 33400 277.18 10.162.147.150 169.254.169.254 TCP 49210 http [FIN, ACK] Seq=98 Ack=234 Win=65280 Len=0 The IP address 169.254.169.254 is the I can't find a DHCP server, this is the last resort ip address that you should never see in a normally configured network setup. I would be chasing up how the network is working. -- Yours, Kym Kovan mbcomms.net.au ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333180 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm