Does an insert Query give a return value?

Hilary

www.bridel.org

--
"Beattie, Barry" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
>
> Arrrggghhh! I'm taking a particular FLA, and then exporting it and running
> it on several CFMX servers.
>
> Some machines it works fine and others the Flash remoting app just hangs
> when it hits the error.
>
> It's the same FLA. I don't get it. And out of 6 or so, it's the only one
> that has wierdness (it's the only one doing an insert query)
>
> any ideas?
> thanx
> barry.b
>
> (from the Flash NetConnectionDebugger)
>
> .code: "SERVER.PROCESSING"
> .....description: "Service threw an exception during method invocation:
> Variable RESPONSERECORD is undefined."
> .....details: "coldfusion.runtime.UndefinedVariableException: Variable
> RESPONSERECORD is undefined.
> at coldfusion.runtime.CfJspPage._get(Unknown Source)
> at coldfusion.runtime.CfJspPage._autoscalarize(Unknown Source)
> at
>
cfpoll2ecfc438635721$funcADDRESPONSE.runFunction(C:\CFusionMX\wwwroot\remoti
> ng\poll.cfc:48)
>
>  NOTE: The error ("Variable RESPONSERECORD is undefined") is a query
> returned in a private function.
>
> <cffunction name="addResponse" access="private" returntype="query">
> <cfargument name="choiceID" type="numeric" required="true">
> <cfquery name="responseRecord" datasource="pollDB">
> INSERT INTO responses (choice_id, ip_address)
> VALUES ('#choiceID#', '#CGI.REMOTE_ADDR#')
> </cfquery>
> <cfreturn responseRecord> <!--- line 48 --->
> </cffunction>
>
>
>
>
>
> -----Original Message-----
> From: Lindsay Evans [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 17 September 2003 4:05 PM
> To: CFAussie Mailing List
> Subject: [cfaussie] RE: how do you know if Flash remoting is installed
> on a CF webserver?
>
> Just because CFMX is installed doesn't necessarily mean that Flash
Remoting
> is running.
> It can be removed from the settings XML files, blocked by the web server
or
> firewall, or numerous other things (those sysadmins are paranoid buggers
> sometimes :p).
>
> I think the best test is to telnet to port 80 on the server & type the
> following:
>
> GET /flashservices/gateway HTTP/1.1
> Host: www.example.com
>
> followed by 2 carriage returns (obviously you'd replace www.example.com
with
> the actual domain)
>
> If you get a '200 OK' then there's a good chance it's running, if you get
> anything else, then it probably isn't.
>
> Or you could just browse to /flashservices/gateway in the web browser of
> choice and see if you get a 404 error. Whichever is easier :p (telnet
makes
> you look like a 31337 [EMAIL PROTECTED] though - guaranteed to impress women)
>
>



---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to