Using cfsetting showdebugoutput=false does actually disable debug
output. Any chance there's another call to it somewhere else with a
different setting?
Are you actually seeing debug output in the requests that fail, even
with that code? Or you're not, but debug output being on in
administrator
Anything that gets data from the server with a remote request will usually
break when debug output is on, as it is being added to the end of the
request.
make sure you have debug output disabled globally, you could set it in your
application.cfm/cfc as setting it in a page that calls another page
Howdy folks,
I'm working on a ColdFusion application that creates events in Facebook. I
have no trouble authenticating users and creating simple events, but as soon as
I add a picture with CFHTTPPARAM, I get a blank response from Facebook.
Here's the code I have that works:
-
cfset
Perhaps Facebook is looking for the params in form variables rather
than the URL since it's a post?
--
WSS4CF - WS-Security framework for CF
http://wss4cf.riaforge.org/
On 10 October 2010 18:59, David Six david.six...@gmail.com wrote:
cfhttp
Perhaps Facebook is looking for the params in form variables rather
than the URL since it's a post?
Thanks for looking at this. I tried this:
cfhttp url=https://api.facebook.com/method/events.create; method=post
cfhttpparam name=access_token value=#client.access_token#
encoded=no
a CFFORM inside a cf ajax control (like CFWINDOW) submits
asynchronously using ajax - that's why button coordinates are not passed
along.
Azadi
On 05/10/2010 23:37 , John Pullam wrote:
Normally when you click on an image button inside a CFFORM, the coordinates
are passed to the form
if you insist on using *, you can do SELECT p.* to select all columns
from only one table in a join.
but others have already said why selecting * (even from one table) may
not be a very good idea.
Azadi
On 04/10/2010 21:59 , Rick Faircloth wrote:
Yes, once I got the query working (except
Hi All -
I am trying to do the following in my code.
cfquery datasource=cfflex name=q
SELECT
t1.account_id
FROM
accounts1 AS t1
LEFT JOIN accounts1 as t2
ON t1.account_id = t2.parent_id WHERE t2.account_id IS NULL
/cfquery
cfset treeData = arrayNew(1) /
Try this...
cfloop query=q
cfscript
ArrayAppend(vleafnodes, q.account_id);
/cfscript
/cfloop
However this is not going to give you the ability to reference the array
element by the account ID, it sounds like what you want is a structure.
cfloop query=q
cfscript
You want cfsetting showdebugoutput=No not false. It will stop any debug
output, just as if you removed your IP address from the list in cf admin. It
will not have any effect on error output, etc.
~|
Order the Adobe
You'll need to use a struct to do your bidding instead of an array-- I don't
think you can skip values in arrays, so if your query is returning account_ids
1,2,4,5, #3 would fail.
maybe something like...
cfquery datasource=cfflex name=q
SELECT t1.account_id
FROM accounts1 AS t1
LEFT JOIN
I'm pretty certain that no, false, and 0 all have the same effect.
Dave
On Sun, Oct 10, 2010 at 3:43 PM, Reed Powell r...@powellgenealogy.com wrote:
You want cfsetting showdebugoutput=No not false. It will stop any debug
output, just as if you removed your IP address from the list in cf
Hi All -
I am trying to do the following in my code.
cfquery datasource=cfflex name=q
SELECT
t1.account_id
FROM
accounts1 AS t1
LEFT JOIN accounts1 as t2
ON t1.account_id = t2.parent_id WHERE t2.account_id IS NULL
/cfquery
cfset treeData
13 matches
Mail list logo