Try taking off the name attribute from the cfhttp call.

<!----------------//------
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--------------//--------->

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 22, 2006 10:24 AM
To: CF-Talk
Subject: cfhttp - column name "" is invalid - huh?


My syntax is correct yet I'm getting this error.  Maybe I just a second pair
of eyes to look at this.
Thanks.

Code
<CFIF ISDEFINED ("FORM.client_family_id")>
<CFHTTP
url="http://productlocator.site.com/productlocator/resources/9/KEGP/keg.pli";
method="post"  name="keg">
 <cfhttpparam name="clientid" type="formfield" value="9">
 <cfhttpparam name="stores" type="formfield" value="1">
 <cfhttpparam name="storespagenum" type="formfield" value="1">
 <cfhttpparam name="storesperpage" type="formfield" value="10">
 <cfhttpparam name="etailerspagenum" type="formfield" value="1">
 <cfhttpparam name="client_family_id" type="formfield" value="STNF">
 <cfhttpparam name="etailersperpage" type="formfield" value="15">
 <cfhttpparam name="client" type="URL" value="SHXB">
 <cfhttpparam name="productfamilyid" type="formfield" value="KEGP">
 <cfhttpparam name="producttype" type="formfield" value="upc">
 <cfhttpparam name="template" type="formfield" value="keg.xsl">
LINE 87 <cfhttpparam name="searchradius" type="formfield" value="25">
</cfhttp>
<cfoutput>#cfhttp.FileContent#</cfoutput>
</CFIF>

Error Occurred While Processing Request
The column name "" is invalid.
Column names must be valid variable names. They must start with a letter and
can only include letters, numbers, and underscores.

The error occurred in
D:\Inetpub\wwwroot\Yobaby\StoreLocator\store_locator.cfm: line 87

85 :    <cfhttpparam name="producttype" type="formfield" value="upc">
86 :    <cfhttpparam name="template" type="formfield" value="keg.xsl">
87 :    <cfhttpparam name="searchradius" type="formfield" value="25">
88 : </cfhttp>
89 :



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261434
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to