?
Solved

Coldfusion 8 Bind fails

Posted on 2009-07-12
1
Medium Priority
?
397 Views
Last Modified: 2013-12-24
This problem should have a simple answer, but I don't see it. I get the following error after I enter data in the 1st cfinput box. Why?

/cart.cfc?meth...clientid=5DBC8EFBC94F5B7538A1F69300B4CCC6&_cf_rc=0
http://127.0.0.1:8500/Chartingnature/cart.cfc?method=getImgid&returnFormat=json&argumentCollection=%7B%22area%22%3A%22fish%22%7D&_cf_nodebug=true&_cf_nocache=true&_cf_clientid=5DBC8EFBC94F5B7538A1F69300B4CCC6&_cf_rc=0


[Exception... "'SyntaxError: parseJSON' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "JS frame :: chrome://firebug/content/spy.js :: onHTTPSpyReadyStateChange :: line 497" data: no]
[Break on this error] return new ActiveXObject(_16[i]);
cfajax.js (line 103)

CFFORM name="b">
 
 Enter Area: <cfinput type="text" name="imgarea" id="iarea"> <br />
<cfinput type="text" name="number" label="email" bind="cfc:cart.getImgid({imgarea})">
 
</cfform>
------------------------------------
 <cfcomponent displayName="Miscellaneous">
<cffunction name="getImgid" access="remote">
<cfargument name="area" type="string" required="yes">	
<cfset rarea=area>
<cfreturn rarea>
</cffunction>
 
 </cfcomponent>

Open in new window

0
Comment
Question by:chartingnature
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
chartingnature earned 0 total points
ID: 24842398
Dreamweaver CS3  is the problem.  Tried editing the code in notepad and I finally got it work.  Dreamweaver has a nasty habit of adding code that can cause error where there are none.   A great product, but can cause you a great deal of problems with coldfusion. A lot of people have had similar problems with dreamweaver. I don't understand why Adobe lets the problem continue.

Robert
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question