Re: Not understanding the relationship between html form values and cfhttpparam values

2012-09-12 Thread Nithya K

In my application, I used to directly pass the form variables to another 
website.
Then I found that form variables posted are not secure, as they can be 
intercepted and modified.(especially in payment functions where form.amount 
could be modified to 0) The variable values are secure when using cfhttp to do 
a form post. 

Oh, and thanks for the feedback and explanation, Dave!

Rick

cfhttpparam values


 So, how does the cfhttpparam above get the #form.fname# value? Does I use
 a regular HTML form and submit the values to another page that receives
 and posts them via cfhttp? (If that's true, then I'll now understand how
 the value of a select formfield gets into a cfhttpparam...)

I think you're overthinking this. CFHTTP and CFHTTPPARAM are just like
any other CFML tags. You can use them wherever you want to, but they
execute on the server, and have access to whatever variables your
program happens to have. If you want the user to fill out a form, then
you want to send the form data to another web site, you'd put CFHTTP
and CFHTTPPARAM in your action page - just like you'd put CFQUERY in
your action page if you wanted to create or update a database record
based on form data provided by a user.

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. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352515
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Dynamic Variable

2012-09-12 Thread Torrent Girl

I presume you have the dynamic part in another variable, in which case you

I do. I'll try that. Thank you.

But wait. won't this give me a value of '1A'?


it's been a while since this post but thanks Russ that worked. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352516
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Not understanding the relationship between html form values and cfhttpparam values

2012-09-12 Thread Rick Faircloth

Thanks for the info, Nithya!

Rick

-Original Message-
From: Nithya K [mailto:nithyakr...@gmail.com] 
Sent: Wednesday, September 12, 2012 2:09 AM
To: cf-talk
Subject: Re: Not understanding the relationship between html form values and
cfhttpparam values


In my application, I used to directly pass the form variables to another
website.
Then I found that form variables posted are not secure, as they can be
intercepted and modified.(especially in payment functions where form.amount
could be modified to 0) The variable values are secure when using cfhttp to
do a form post. 

Oh, and thanks for the feedback and explanation, Dave!

Rick

cfhttpparam values


 So, how does the cfhttpparam above get the #form.fname# value? Does I use
 a regular HTML form and submit the values to another page that receives
 and posts them via cfhttp? (If that's true, then I'll now understand how
 the value of a select formfield gets into a cfhttpparam...)

I think you're overthinking this. CFHTTP and CFHTTPPARAM are just like
any other CFML tags. You can use them wherever you want to, but they
execute on the server, and have access to whatever variables your
program happens to have. If you want the user to fill out a form, then
you want to send the form data to another web site, you'd put CFHTTP
and CFHTTPPARAM in your action page - just like you'd put CFQUERY in
your action page if you wanted to create or update a database record
based on form data provided by a user.

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. 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352517
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


cfajaxproxy... not defined return variable.

2012-09-12 Thread Greg Morphis

I'm playing around with the cfajaxproxy example on adobe livedocs and
everything looks right, I get
Timestamp: 9/12/2012 10:15:55 AM
Error: TypeError: presentation is null
Source File: http://localhost:81/resources/demo.cfm?reset=1
Line: 44

here's the code I have..

cfajaxproxy cfc=proxy jsclassname=pres

// Use an asynchronous call to get the presentations details.
var confPresentations = function(tag_id, year){
  var p = new pres();
  p.setCallbackHandler(populateConferencePresentations);
  p.setErrorHandler(myErrorHandler);
// Pass the tag and year to CFC getAllConferencePresentations function.
  p.getAllConferencePresentations(tag_id, year);
}
// Callback function to display the results of the
getAllConferencePresentations
// function.
var populateConferencePresentations = function(presentation)
{
  var pId = presentation.DATA[0][0];
   ...

}

body
   form name=simpleAJAX method=post

  button name=getConferencePresentations
onClick=confPresentations(0, 2012)Verify/button !--- set values for
testing ---
  brbr
  input type=text name=year id=year value=2012 /br /
  input type=text name=tag_id id=tag_id value=0 /br /
  brbr
  span id=output/span
   /form
/body


And the proxy.cfc looks like:
cfcomponent

  cfset this.dsn = mydsn
  cffunction name=getAllConferencePresentations access=remote
output=false returntype=json
cfargument name=tag_id type=numeric required=false /
cfargument name=year type=numeric required=false /
cfset var qList =  /
cfquery name=qList datasource=#this.dsn#
select stuff from tables
cfreturn qList /
  /cffunction

/cfcomponent


The query works fine on the other page so I know the problem is not with
that.

Any ideas I can try? Thanks!


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352518
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF DDos update released

2012-09-12 Thread Judah McAuley

On Tue, Sep 11, 2012 at 7:48 PM,   wrote:

  i already read tha adobe bulletin, it doesn't really say much.

 I doubt you will ever see details and description about any possible attack.
 It would be too easy for those looking for ideas...

Publication of details of an attack are pretty common. Good guys will
typically find an attack, alert the people who are in a position to
fix the product(s), wait for them to confirm it and start on a fix and
then publish the details of the attack after the vulnerability patch
has been released. The reason for this is so other researchers (and
people wanting to protect their own systems) have an idea of the types
of issues that a product has been vulnerable to so they can poke
around the edges and see if there are similar issues that may have
been missed, thereby strengthening the overall security of the
product.  So, yes, the details are for people looking for ideas but
that includes all the good people as well as the bad guys (tm).
Security through obscurity isn't really security at all.

cheers,
Judah

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352519
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfajaxproxy... not defined return variable.

2012-09-12 Thread Raymond Camden

I'd perhaps debug this line:

var populateConferencePresentations = function(presentation)

You can add a breakpoint in Chrome Dev Tools or Firebug. Or - you could simply

console.dir(arguments) to see what is being passed to the callback.


On Wed, Sep 12, 2012 at 10:23 AM, Greg Morphis gmorp...@gmail.com wrote:

 I'm playing around with the cfajaxproxy example on adobe livedocs and
 everything looks right, I get
 Timestamp: 9/12/2012 10:15:55 AM
 Error: TypeError: presentation is null
 Source File: http://localhost:81/resources/demo.cfm?reset=1
 Line: 44

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352520
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfajaxproxy... not defined return variable.

2012-09-12 Thread Greg Morphis

Thanks Ray for the response,
I get this in the console when putting a breakpoint on the var pId = ...

_cf_clientid186CD443C74F6630BE78C272EDD3CB4E _cf_nocachetrue_cf_nodebug true
_cf_rc0 argumentCollection{tag_id:0,year:2012} method
getAllConferencePresentations returnFormatjson

does that help any?

On Wed, Sep 12, 2012 at 10:36 AM, Raymond Camden raymondcam...@gmail.comwrote:


 I'd perhaps debug this line:

 var populateConferencePresentations = function(presentation)

 You can add a breakpoint in Chrome Dev Tools or Firebug. Or - you could
 simply

 console.dir(arguments) to see what is being passed to the callback.


 On Wed, Sep 12, 2012 at 10:23 AM, Greg Morphis gmorp...@gmail.com wrote:
 
  I'm playing around with the cfajaxproxy example on adobe livedocs and
  everything looks right, I get
  Timestamp: 9/12/2012 10:15:55 AM
  Error: TypeError: presentation is null
  Source File: http://localhost:81/resources/demo.cfm?reset=1
  Line: 44

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352521
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfajaxproxy... not defined return variable.

2012-09-12 Thread Raymond Camden

Hmmm no - can you try console.dir(arguments) (immediately before the
line throwing the error) and sharing what is dumped?

On Wed, Sep 12, 2012 at 10:53 AM, Greg Morphis gmorp...@gmail.com wrote:

 Thanks Ray for the response,
 I get this in the console when putting a breakpoint on the var pId = ...

 _cf_clientid186CD443C74F6630BE78C272EDD3CB4E _cf_nocachetrue_cf_nodebug true
 _cf_rc0 argumentCollection{tag_id:0,year:2012} method
 getAllConferencePresentations returnFormatjson

 does that help any?

 On Wed, Sep 12, 2012 at 10:36 AM, Raymond Camden 
 raymondcam...@gmail.comwrote:


 I'd perhaps debug this line:

 var populateConferencePresentations = function(presentation)

 You can add a breakpoint in Chrome Dev Tools or Firebug. Or - you could
 simply

 console.dir(arguments) to see what is being passed to the callback.


 On Wed, Sep 12, 2012 at 10:23 AM, Greg Morphis gmorp...@gmail.com wrote:
 
  I'm playing around with the cfajaxproxy example on adobe livedocs and
  everything looks right, I get
  Timestamp: 9/12/2012 10:15:55 AM
  Error: TypeError: presentation is null
  Source File: http://localhost:81/resources/demo.cfm?reset=1
  Line: 44



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352522
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfajaxproxy... not defined return variable.

2012-09-12 Thread Greg Morphis

Since the line throwing the error is:
var popConferencePresentations = function(presentation)
I put it here:
console.dir(arguments);
p.setCallbackHandler(popConferencePresentations);

Is that right? If so, where should I see the output?

Firebug shows:

TypeError: presentation is null


var pId = presentation.DATA[0][0];

So I put the console.dir(arguments) above var pId = presentation.DATA[0][0];

and I get the same thing in the console. Thanks!




On Wed, Sep 12, 2012 at 11:17 AM, Raymond Camden raymondcam...@gmail.comwrote:


 Hmmm no - can you try console.dir(arguments) (immediately before the
 line throwing the error) and sharing what is dumped?

 On Wed, Sep 12, 2012 at 10:53 AM, Greg Morphis gmorp...@gmail.com wrote:
 
  Thanks Ray for the response,
  I get this in the console when putting a breakpoint on the var pId = ...
 
  _cf_clientid186CD443C74F6630BE78C272EDD3CB4E _cf_nocachetrue_cf_nodebug
 true
  _cf_rc0 argumentCollection{tag_id:0,year:2012} method
  getAllConferencePresentations returnFormatjson
 
  does that help any?
 
  On Wed, Sep 12, 2012 at 10:36 AM, Raymond Camden 
 raymondcam...@gmail.comwrote:
 
 
  I'd perhaps debug this line:
 
  var populateConferencePresentations = function(presentation)
 
  You can add a breakpoint in Chrome Dev Tools or Firebug. Or - you could
  simply
 
  console.dir(arguments) to see what is being passed to the callback.
 
 
  On Wed, Sep 12, 2012 at 10:23 AM, Greg Morphis gmorp...@gmail.com
 wrote:
  
   I'm playing around with the cfajaxproxy example on adobe livedocs and
   everything looks right, I get
   Timestamp: 9/12/2012 10:15:55 AM
   Error: TypeError: presentation is null
   Source File: http://localhost:81/resources/demo.cfm?reset=1
   Line: 44
 
 
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352523
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfajaxproxy... not defined return variable.

2012-09-12 Thread Andrew Scott

Greg,

There are a multitude of reasons for this, and one of the most simplest for
you to debug is what is returned from ColdFusion. For example, if it was me
I would take Ray's advice and break point the JS, step over the lines and
look at what is around the call and break on the call itself.

Then all you need to do is make one last step over, and check the response
in the Chrome or Firefox tools to see what has been returned.

As the callback from your description is very basic, it means that the data
is not being returned from ColdFusion as you think, or in fact nothing is
being returned.

Simple debug and checks can eliminate this for you, and help you discover
at what point the problem is occurring. And as that call back is very
simple, my $1 is on the fact that there is nothing being returned from
ColdFusion.

-- 
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: 
http://plus.google.com/113032480415921517411http://plus.google.com/108193156965451149543


On Thu, Sep 13, 2012 at 2:33 AM, Greg Morphis gmorp...@gmail.com wrote:


 Since the line throwing the error is:
 var popConferencePresentations = function(presentation)
 I put it here:
 console.dir(arguments);
 p.setCallbackHandler(popConferencePresentations);

 Is that right? If so, where should I see the output?

 Firebug shows:

 TypeError: presentation is null


 var pId = presentation.DATA[0][0];

 So I put the console.dir(arguments) above var pId =
 presentation.DATA[0][0];

 and I get the same thing in the console. Thanks!






~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352524
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfajaxproxy... not defined return variable.

2012-09-12 Thread Raymond Camden

Actually I think the error was right after this. THe line that tried
to use presentation as an argument. So this:

var popConferencePresentations = function(presentation) {

should be

var popConferencePresentations = function(presentation) {
console.dir(arguments);

To be clear, you WILL get an error in the console sitll - all we are
doing is dumping stuff out before you use it.


On Wed, Sep 12, 2012 at 11:33 AM, Greg Morphis gmorp...@gmail.com wrote:

 Since the line throwing the error is:
 var popConferencePresentations = function(presentation)
 I put it here:
 console.dir(arguments);
 p.setCallbackHandler(popConferencePresentations);

 Is that right? If so, where should I see the output?

 Firebug shows:

 TypeError: presentation is null


 var pId = presentation.DATA[0][0];

 So I put the console.dir(arguments) above var pId = presentation.DATA[0][0];

 and I get the same thing in the console. Thanks!




 On Wed, Sep 12, 2012 at 11:17 AM, Raymond Camden 
 raymondcam...@gmail.comwrote:


 Hmmm no - can you try console.dir(arguments) (immediately before the
 line throwing the error) and sharing what is dumped?

 On Wed, Sep 12, 2012 at 10:53 AM, Greg Morphis gmorp...@gmail.com wrote:
 
  Thanks Ray for the response,
  I get this in the console when putting a breakpoint on the var pId = ...
 
  _cf_clientid186CD443C74F6630BE78C272EDD3CB4E _cf_nocachetrue_cf_nodebug
 true
  _cf_rc0 argumentCollection{tag_id:0,year:2012} method
  getAllConferencePresentations returnFormatjson
 
  does that help any?
 
  On Wed, Sep 12, 2012 at 10:36 AM, Raymond Camden 
 raymondcam...@gmail.comwrote:
 
 
  I'd perhaps debug this line:
 
  var populateConferencePresentations = function(presentation)
 
  You can add a breakpoint in Chrome Dev Tools or Firebug. Or - you could
  simply
 
  console.dir(arguments) to see what is being passed to the callback.
 
 
  On Wed, Sep 12, 2012 at 10:23 AM, Greg Morphis gmorp...@gmail.com
 wrote:
  
   I'm playing around with the cfajaxproxy example on adobe livedocs and
   everything looks right, I get
   Timestamp: 9/12/2012 10:15:55 AM
   Error: TypeError: presentation is null
   Source File: http://localhost:81/resources/demo.cfm?reset=1
   Line: 44
 
 
 
 



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352525
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfajaxproxy... not defined return variable.

2012-09-12 Thread Greg Morphis

Maybe I don't know how to use firebug that well but I do know they data is
being returned from the query. I copied and pasted the query and put it in
the cfm file, substituted the dsn name and ran it and it works.

Where do I look within firebug to see what's being returned?

Thanks

On Wed, Sep 12, 2012 at 11:39 AM, Andrew Scott andr...@andyscott.id.auwrote:


 Greg,

 There are a multitude of reasons for this, and one of the most simplest for
 you to debug is what is returned from ColdFusion. For example, if it was me
 I would take Ray's advice and break point the JS, step over the lines and
 look at what is around the call and break on the call itself.

 Then all you need to do is make one last step over, and check the response
 in the Chrome or Firefox tools to see what has been returned.

 As the callback from your description is very basic, it means that the data
 is not being returned from ColdFusion as you think, or in fact nothing is
 being returned.

 Simple debug and checks can eliminate this for you, and help you discover
 at what point the problem is occurring. And as that call back is very
 simple, my $1 is on the fact that there is nothing being returned from
 ColdFusion.

 --
 Regards,
 Andrew Scott
 WebSite: http://www.andyscott.id.au/
 Google+: http://plus.google.com/113032480415921517411
 http://plus.google.com/108193156965451149543


 On Thu, Sep 13, 2012 at 2:33 AM, Greg Morphis gmorp...@gmail.com wrote:

 
  Since the line throwing the error is:
  var popConferencePresentations = function(presentation)
  I put it here:
  console.dir(arguments);
  p.setCallbackHandler(popConferencePresentations);
 
  Is that right? If so, where should I see the output?
 
  Firebug shows:
 
  TypeError: presentation is null
 
 
  var pId = presentation.DATA[0][0];
 
  So I put the console.dir(arguments) above var pId =
  presentation.DATA[0][0];
 
  and I get the same thing in the console. Thanks!
 
 
 
 


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352526
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfajaxproxy... not defined return variable.

2012-09-12 Thread Andrew Scott

I haven't used firebug in a long time, as I use Chrome now. But from memory
you should be able to see from one of the tabs, the actual remote call back
to the server. If you click on this call, it should show you what has been
returned, as well as what is passed to the server via its headers.

Also just because the query is working, doesn't mean the callback is. For
example lets look at what the call back offers, and unless you are
doing asynchronous calls, I wouldn't even worry about the callback. But the
callback if you read the documentation, takes a JSon string an returns or
passes it to the callback as a Javascript representation.

So that would begin to indicate that the data being returned is not JSon,
or is a malformed JSon string. Which would also throw an error when you try
to use it the way you are.

-- 
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: 
http://plus.google.com/113032480415921517411http://plus.google.com/108193156965451149543


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352527
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfajaxproxy... not defined return variable.

2012-09-12 Thread Greg Morphis

I use both Chrome and Firebug, can you tell me what or where to look in
Chrome Dev Tools to get you guys the information needed to help?
Thanks


On Wed, Sep 12, 2012 at 11:51 AM, Andrew Scott andr...@andyscott.id.auwrote:


 I haven't used firebug in a long time, as I use Chrome now. But from memory
 you should be able to see from one of the tabs, the actual remote call back
 to the server. If you click on this call, it should show you what has been
 returned, as well as what is passed to the server via its headers.

 Also just because the query is working, doesn't mean the callback is. For
 example lets look at what the call back offers, and unless you are
 doing asynchronous calls, I wouldn't even worry about the callback. But the
 callback if you read the documentation, takes a JSon string an returns or
 passes it to the callback as a Javascript representation.

 So that would begin to indicate that the data being returned is not JSon,
 or is a malformed JSon string. Which would also throw an error when you try
 to use it the way you are.

 --
 Regards,
 Andrew Scott
 WebSite: http://www.andyscott.id.au/
 Google+: http://plus.google.com/113032480415921517411
 http://plus.google.com/108193156965451149543


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352528
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfajaxproxy... not defined return variable.

2012-09-12 Thread Andrew Scott

In Chrome, bring up the developer tools, then before you run the page,
select network. Then when the call is made back to the server, you should
see it in this list. I usually clear this list, so that the call is at the
top. But when it is listed you just click the call, and you should see
options like response. It is that tab that would show you the information
that ColdFusion is returning.


-- 
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: 
http://plus.google.com/113032480415921517411http://plus.google.com/108193156965451149543



On Thu, Sep 13, 2012 at 2:54 AM, Greg Morphis gmorp...@gmail.com wrote:


 I use both Chrome and Firebug, can you tell me what or where to look in
 Chrome Dev Tools to get you guys the information needed to help?
 Thanks


 On Wed, Sep 12, 2012 at 11:51 AM, Andrew Scott andr...@andyscott.id.au
 wrote:

 
  I haven't used firebug in a long time, as I use Chrome now. But from
 memory
  you should be able to see from one of the tabs, the actual remote call
 back
  to the server. If you click on this call, it should show you what has
 been
  returned, as well as what is passed to the server via its headers.
 
  Also just because the query is working, doesn't mean the callback is. For
  example lets look at what the call back offers, and unless you are
  doing asynchronous calls, I wouldn't even worry about the callback. But
 the
  callback if you read the documentation, takes a JSon string an returns or
  passes it to the callback as a Javascript representation.
 
  So that would begin to indicate that the data being returned is not JSon,
  or is a malformed JSon string. Which would also throw an error when you
 try
  to use it the way you are.
 
  --
  Regards,
  Andrew Scott
  WebSite: http://www.andyscott.id.au/
  Google+: http://plus.google.com/113032480415921517411
  http://plus.google.com/108193156965451149543
 
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352529
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Ugent help - CF9 ODBC Server Issues

2012-09-12 Thread Meghna Chopra

Hi,

For last few days, I have been facing issues with CF 9 ODBC Server. In event 
logs I see:

The following information is part of the event: ColdFusion 9 ODBC 
Server@LOCALHOST,ErrorCode=2310,ErrorMessage=TCP/IP, connection reset by peer.

When I try to stop CF9 ODBC Service, it doesn't stops and I have to restart the 
server to get it fixed. This is a production server, so it has become a huge 
issue which I am not able to sort out. Tried Googling and everything without 
success.

I have:

Windows 2003 Enterprise (32 bit)
CF 9 Enterprise.

Any ideas, help is highly appreciated.


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352530
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfajaxproxy... not defined return variable.

2012-09-12 Thread Greg Morphis

This is what's in the proxy.cfc in the network tab..


   1. Request URL:

   
http://localhost:81/resources/proxy.cfc?method=getAllConferencePresentationsreturnFormat=jsonargumentCollection=%7B%22tag_id%22%3A0%2C%22year%22%3A2012%7D_cf_nodebug=true_cf_nocache=true_cf_clientid=235E1C59C699DA256BA5C27C5890D98B_cf_rc=0
   2. Request Headersview source
  1. Referer:
  http://localhost:81/resources/demo.cfm?reset=1cfdebug=1
  2. User-Agent:
  Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like
  Gecko) Chrome/21.0.1180.89 Safari/537.1
  3. Query String Parametersview URL encoded
  1. method:
  getAllConferencePresentations
  2. returnFormat:
  json
  3. argumentCollection:
  {tag_id:0,year:2012}
  4. _cf_nodebug:
  true
  5. _cf_nocache:
  true
  6. _cf_clientid:
  235E1C59C699DA256BA5C27C5890D98B
  7. _cf_rc:
  0



On Wed, Sep 12, 2012 at 11:57 AM, Andrew Scott andr...@andyscott.id.auwrote:


 In Chrome, bring up the developer tools, then before you run the page,
 select network. Then when the call is made back to the server, you should
 see it in this list. I usually clear this list, so that the call is at the
 top. But when it is listed you just click the call, and you should see
 options like response. It is that tab that would show you the information
 that ColdFusion is returning.


 --
 Regards,
 Andrew Scott
 WebSite: http://www.andyscott.id.au/
 Google+: http://plus.google.com/113032480415921517411
 http://plus.google.com/108193156965451149543



 On Thu, Sep 13, 2012 at 2:54 AM, Greg Morphis gmorp...@gmail.com wrote:

 
  I use both Chrome and Firebug, can you tell me what or where to look in
  Chrome Dev Tools to get you guys the information needed to help?
  Thanks
 
 
  On Wed, Sep 12, 2012 at 11:51 AM, Andrew Scott andr...@andyscott.id.au
  wrote:
 
  
   I haven't used firebug in a long time, as I use Chrome now. But from
  memory
   you should be able to see from one of the tabs, the actual remote call
  back
   to the server. If you click on this call, it should show you what has
  been
   returned, as well as what is passed to the server via its headers.
  
   Also just because the query is working, doesn't mean the callback is.
 For
   example lets look at what the call back offers, and unless you are
   doing asynchronous calls, I wouldn't even worry about the callback. But
  the
   callback if you read the documentation, takes a JSon string an returns
 or
   passes it to the callback as a Javascript representation.
  
   So that would begin to indicate that the data being returned is not
 JSon,
   or is a malformed JSon string. Which would also throw an error when you
  try
   to use it the way you are.
  
   --
   Regards,
   Andrew Scott
   WebSite: http://www.andyscott.id.au/
   Google+: http://plus.google.com/113032480415921517411
   http://plus.google.com/108193156965451149543
  
  
  
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352531
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Ugent help - CF9 ODBC Server Issues

2012-09-12 Thread Andrew Scott

ODBC!!!

What database are you connecting too?

-- 
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: 
http://plus.google.com/113032480415921517411http://plus.google.com/108193156965451149543



On Thu, Sep 13, 2012 at 3:00 AM, Meghna Chopra mymailsonl...@gmail.comwrote:


 Hi,

 For last few days, I have been facing issues with CF 9 ODBC Server. In
 event logs I see:

 The following information is part of the event: ColdFusion 9 ODBC
 Server@LOCALHOST,ErrorCode=2310,ErrorMessage=TCP/IP, connection reset by
 peer.

 When I try to stop CF9 ODBC Service, it doesn't stops and I have to
 restart the server to get it fixed. This is a production server, so it has
 become a huge issue which I am not able to sort out. Tried Googling and
 everything without success.

 I have:

 Windows 2003 Enterprise (32 bit)
 CF 9 Enterprise.

 Any ideas, help is highly appreciated.


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352532
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfajaxproxy... not defined return variable.

2012-09-12 Thread Andrew Scott

But what is in the response tab Greg?

-- 
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: 
http://plus.google.com/113032480415921517411http://plus.google.com/108193156965451149543



On Thu, Sep 13, 2012 at 3:04 AM, Greg Morphis gmorp...@gmail.com wrote:


 This is what's in the proxy.cfc in the network tab..


1. Request URL:


 http://localhost:81/resources/proxy.cfc?method=getAllConferencePresentationsreturnFormat=jsonargumentCollection=%7B%22tag_id%22%3A0%2C%22year%22%3A2012%7D_cf_nodebug=true_cf_nocache=true_cf_clientid=235E1C59C699DA256BA5C27C5890D98B_cf_rc=0
2. Request Headersview source
   1. Referer:
   http://localhost:81/resources/demo.cfm?reset=1cfdebug=1
   2. User-Agent:
   Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like
   Gecko) Chrome/21.0.1180.89 Safari/537.1
   3. Query String Parametersview URL encoded
   1. method:
   getAllConferencePresentations
   2. returnFormat:
   json
   3. argumentCollection:
   {tag_id:0,year:2012}
   4. _cf_nodebug:
   true
   5. _cf_nocache:
   true
   6. _cf_clientid:
   235E1C59C699DA256BA5C27C5890D98B
   7. _cf_rc:
   0



 On Wed, Sep 12, 2012 at 11:57 AM, Andrew Scott andr...@andyscott.id.au
 wrote:

 
  In Chrome, bring up the developer tools, then before you run the page,
  select network. Then when the call is made back to the server, you should
  see it in this list. I usually clear this list, so that the call is at
 the
  top. But when it is listed you just click the call, and you should see
  options like response. It is that tab that would show you the information
  that ColdFusion is returning.
 
 
  --
  Regards,
  Andrew Scott
  WebSite: http://www.andyscott.id.au/
  Google+: http://plus.google.com/113032480415921517411
  http://plus.google.com/108193156965451149543
 
 
 
  On Thu, Sep 13, 2012 at 2:54 AM, Greg Morphis gmorp...@gmail.com
 wrote:
 
  
   I use both Chrome and Firebug, can you tell me what or where to look in
   Chrome Dev Tools to get you guys the information needed to help?
   Thanks
  
  
   On Wed, Sep 12, 2012 at 11:51 AM, Andrew Scott 
 andr...@andyscott.id.au
   wrote:
  
   
I haven't used firebug in a long time, as I use Chrome now. But from
   memory
you should be able to see from one of the tabs, the actual remote
 call
   back
to the server. If you click on this call, it should show you what has
   been
returned, as well as what is passed to the server via its headers.
   
Also just because the query is working, doesn't mean the callback is.
  For
example lets look at what the call back offers, and unless you are
doing asynchronous calls, I wouldn't even worry about the callback.
 But
   the
callback if you read the documentation, takes a JSon string an
 returns
  or
passes it to the callback as a Javascript representation.
   
So that would begin to indicate that the data being returned is not
  JSon,
or is a malformed JSon string. Which would also throw an error when
 you
   try
to use it the way you are.
   
--
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/113032480415921517411
http://plus.google.com/108193156965451149543
   
   
   
  
  
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352533
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Ugent help - CF9 ODBC Server Issues

2012-09-12 Thread Meghna Chopra

We have MySQL 5.x and Access on this server.
We have remote MS SQL (2005 enterprise) Database server as well. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352534
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfajaxproxy... not defined return variable.

2012-09-12 Thread Greg Morphis

This request has no response data available
That's for the proxy.cfc file

On Wed, Sep 12, 2012 at 12:07 PM, Andrew Scott andr...@andyscott.id.auwrote:


 But what is in the response tab Greg?

 --
 Regards,
 Andrew Scott
 WebSite: http://www.andyscott.id.au/
 Google+: http://plus.google.com/113032480415921517411
 http://plus.google.com/108193156965451149543



 On Thu, Sep 13, 2012 at 3:04 AM, Greg Morphis gmorp...@gmail.com wrote:

 
  This is what's in the proxy.cfc in the network tab..
 
 
 1. Request URL:
 
 
 
 http://localhost:81/resources/proxy.cfc?method=getAllConferencePresentationsreturnFormat=jsonargumentCollection=%7B%22tag_id%22%3A0%2C%22year%22%3A2012%7D_cf_nodebug=true_cf_nocache=true_cf_clientid=235E1C59C699DA256BA5C27C5890D98B_cf_rc=0
 2. Request Headersview source
1. Referer:
http://localhost:81/resources/demo.cfm?reset=1cfdebug=1
2. User-Agent:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like
Gecko) Chrome/21.0.1180.89 Safari/537.1
3. Query String Parametersview URL encoded
1. method:
getAllConferencePresentations
2. returnFormat:
json
3. argumentCollection:
{tag_id:0,year:2012}
4. _cf_nodebug:
true
5. _cf_nocache:
true
6. _cf_clientid:
235E1C59C699DA256BA5C27C5890D98B
7. _cf_rc:
0
 
 
 
  On Wed, Sep 12, 2012 at 11:57 AM, Andrew Scott andr...@andyscott.id.au
  wrote:
 
  
   In Chrome, bring up the developer tools, then before you run the page,
   select network. Then when the call is made back to the server, you
 should
   see it in this list. I usually clear this list, so that the call is at
  the
   top. But when it is listed you just click the call, and you should see
   options like response. It is that tab that would show you the
 information
   that ColdFusion is returning.
  
  
   --
   Regards,
   Andrew Scott
   WebSite: http://www.andyscott.id.au/
   Google+: http://plus.google.com/113032480415921517411
   http://plus.google.com/108193156965451149543
  
  
  
   On Thu, Sep 13, 2012 at 2:54 AM, Greg Morphis gmorp...@gmail.com
  wrote:
  
   
I use both Chrome and Firebug, can you tell me what or where to look
 in
Chrome Dev Tools to get you guys the information needed to help?
Thanks
   
   
On Wed, Sep 12, 2012 at 11:51 AM, Andrew Scott 
  andr...@andyscott.id.au
wrote:
   

 I haven't used firebug in a long time, as I use Chrome now. But
 from
memory
 you should be able to see from one of the tabs, the actual remote
  call
back
 to the server. If you click on this call, it should show you what
 has
been
 returned, as well as what is passed to the server via its headers.

 Also just because the query is working, doesn't mean the callback
 is.
   For
 example lets look at what the call back offers, and unless you are
 doing asynchronous calls, I wouldn't even worry about the callback.
  But
the
 callback if you read the documentation, takes a JSon string an
  returns
   or
 passes it to the callback as a Javascript representation.

 So that would begin to indicate that the data being returned is not
   JSon,
 or is a malformed JSon string. Which would also throw an error when
  you
try
 to use it the way you are.

 --
 Regards,
 Andrew Scott
 WebSite: http://www.andyscott.id.au/
 Google+: http://plus.google.com/113032480415921517411
 http://plus.google.com/108193156965451149543



   
   
  
  
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352535
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfajaxproxy... not defined return variable.

2012-09-12 Thread Greg Morphis

The demo.cfm has this at the top and then the rest is the same cfm code

headscript type=text/javascript/* ![CDATA[ */_cf_loadingtexthtml=img
alt=' ' src='/CFIDE/scripts/ajax/resources/cf/images/loading.gif'/;
_cf_contextpath=;
_cf_ajaxscriptsrc=/CFIDE/scripts/ajax;
_cf_jsonprefix='//';
_cf_clientid='235E1C59C699DA256BA5C27C5890D98B';/* ]] *//scriptscript
type=text/javascript
src=/CFIDE/scripts/ajax/messages/cfmessage.jshttp://localhost:81/CFIDE/scripts/ajax/messages/cfmessage.js
/script
script type=text/javascript src=/CFIDE/scripts/ajax/package/cfajax.js
/script

script type=text/javascript/* ![CDATA[ */
 ColdFusion.Ajax.importTag('CFAJAXPROXY');
/* ]] *//script

script type=text/javascript/* ![CDATA[ */
 var _cf_proxy=ColdFusion.AjaxProxy.init('/resources/proxy.cfc','proxy');
 _cf_proxy.prototype.getAllConferencePresentations=function(tag_id,year) {
return ColdFusion.AjaxProxy.invoke(this, getAllConferencePresentations, {
tag_id:tag_id,year:year});};
/* ]] *//script



On Wed, Sep 12, 2012 at 12:11 PM, Greg Morphis gmorp...@gmail.com wrote:

 This request has no response data available
 That's for the proxy.cfc file


 On Wed, Sep 12, 2012 at 12:07 PM, Andrew Scott andr...@andyscott.id.auwrote:


 But what is in the response tab Greg?

 --
 Regards,
 Andrew Scott
 WebSite: http://www.andyscott.id.au/
 Google+: http://plus.google.com/113032480415921517411
 http://plus.google.com/108193156965451149543



 On Thu, Sep 13, 2012 at 3:04 AM, Greg Morphis gmorp...@gmail.com wrote:

 
  This is what's in the proxy.cfc in the network tab..
 
 
 1. Request URL:
 
 
 
 http://localhost:81/resources/proxy.cfc?method=getAllConferencePresentationsreturnFormat=jsonargumentCollection=%7B%22tag_id%22%3A0%2C%22year%22%3A2012%7D_cf_nodebug=true_cf_nocache=true_cf_clientid=235E1C59C699DA256BA5C27C5890D98B_cf_rc=0
 2. Request Headersview source
1. Referer:
http://localhost:81/resources/demo.cfm?reset=1cfdebug=1
2. User-Agent:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like
Gecko) Chrome/21.0.1180.89 Safari/537.1
3. Query String Parametersview URL encoded
1. method:
getAllConferencePresentations
2. returnFormat:
json
3. argumentCollection:
{tag_id:0,year:2012}
4. _cf_nodebug:
true
5. _cf_nocache:
true
6. _cf_clientid:
235E1C59C699DA256BA5C27C5890D98B
7. _cf_rc:
0
 
 
 
  On Wed, Sep 12, 2012 at 11:57 AM, Andrew Scott andr...@andyscott.id.au
  wrote:
 
  
   In Chrome, bring up the developer tools, then before you run the page,
   select network. Then when the call is made back to the server, you
 should
   see it in this list. I usually clear this list, so that the call is at
  the
   top. But when it is listed you just click the call, and you should see
   options like response. It is that tab that would show you the
 information
   that ColdFusion is returning.
  
  
   --
   Regards,
   Andrew Scott
   WebSite: http://www.andyscott.id.au/
   Google+: http://plus.google.com/113032480415921517411
   http://plus.google.com/108193156965451149543
  
  
  
   On Thu, Sep 13, 2012 at 2:54 AM, Greg Morphis gmorp...@gmail.com
  wrote:
  
   
I use both Chrome and Firebug, can you tell me what or where to
 look in
Chrome Dev Tools to get you guys the information needed to help?
Thanks
   
   
On Wed, Sep 12, 2012 at 11:51 AM, Andrew Scott 
  andr...@andyscott.id.au
wrote:
   

 I haven't used firebug in a long time, as I use Chrome now. But
 from
memory
 you should be able to see from one of the tabs, the actual remote
  call
back
 to the server. If you click on this call, it should show you what
 has
been
 returned, as well as what is passed to the server via its headers.

 Also just because the query is working, doesn't mean the callback
 is.
   For
 example lets look at what the call back offers, and unless you are
 doing asynchronous calls, I wouldn't even worry about the
 callback.
  But
the
 callback if you read the documentation, takes a JSon string an
  returns
   or
 passes it to the callback as a Javascript representation.

 So that would begin to indicate that the data being returned is
 not
   JSon,
 or is a malformed JSon string. Which would also throw an error
 when
  you
try
 to use it the way you are.

 --
 Regards,
 Andrew Scott
 WebSite: http://www.andyscott.id.au/
 Google+: http://plus.google.com/113032480415921517411
 http://plus.google.com/108193156965451149543



   
   
  
  
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352536
Subscription: 

Re: cfajaxproxy... not defined return variable.

2012-09-12 Thread Andrew Scott

Greg, the calling page will not help you here.

You need to have the network tabbed active, and then refresh the page or
force the call that is having the problem. Once that call is made, it will
appear in the list on the left hand side. When you click on that call,
which if I read your posting is called proxy.cfc so when you see proxy.cfc
appear you click on that call. Then a window will open in the network area,
that has many tabs, one of which is the response.

Now if you have done that, and it is showing no response data, that means
the call is failing and you will need to consult your logs as to why
proxy.cfc is failing.

-- 
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: 
http://plus.google.com/113032480415921517411http://plus.google.com/108193156965451149543





On Thu, Sep 13, 2012 at 3:13 AM, Greg Morphis gmorp...@gmail.com wrote:


 The demo.cfm has this at the top and then the rest is the same cfm code

 headscript type=text/javascript/* ![CDATA[
 */_cf_loadingtexthtml=img
 alt=' ' src='/CFIDE/scripts/ajax/resources/cf/images/loading.gif'/;
 _cf_contextpath=;
 _cf_ajaxscriptsrc=/CFIDE/scripts/ajax;
 _cf_jsonprefix='//';
 _cf_clientid='235E1C59C699DA256BA5C27C5890D98B';/* ]] *//scriptscript
 type=text/javascript
 src=/CFIDE/scripts/ajax/messages/cfmessage.js
 http://localhost:81/CFIDE/scripts/ajax/messages/cfmessage.js
 /script
 script type=text/javascript src=/CFIDE/scripts/ajax/package/cfajax.js
 /script

 script type=text/javascript/* ![CDATA[ */
  ColdFusion.Ajax.importTag('CFAJAXPROXY');
 /* ]] *//script

 script type=text/javascript/* ![CDATA[ */
  var _cf_proxy=ColdFusion.AjaxProxy.init('/resources/proxy.cfc','proxy');
  _cf_proxy.prototype.getAllConferencePresentations=function(tag_id,year) {
 return ColdFusion.AjaxProxy.invoke(this, getAllConferencePresentations, {
 tag_id:tag_id,year:year});};
 /* ]] *//script





~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352537
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF DDos update released

2012-09-12 Thread Byron Mann

I have to agree that this bulletin is really lacking.

There are organizations that just cannot do a hot-fix (DFIU), and
the details in this bulletin give us no idea of exposure or a means to
verify if we are at a high risk.  There have been Adobe patches in the
past that we have waited to a regular maintenance window perform
because there was little to no risk based on our analysis of the
issue.

So, is it really worth the over-time, customer frustration and such to
apply a hot-fix, that may or may not fix an issue (because we have not
details to verify before or after the fact).

Based on the bulletin and lack of detail, I would err on the
pessimistic side and fear the most.

Byron Mann
Lead Engineer  Architect
HostMySite.com




On Wed, Sep 12, 2012 at 11:32 AM, Judah McAuley ju...@wiredotter.com wrote:

 On Tue, Sep 11, 2012 at 7:48 PM,   wrote:

  i already read tha adobe bulletin, it doesn't really say much.

 I doubt you will ever see details and description about any possible attack.
 It would be too easy for those looking for ideas...

 Publication of details of an attack are pretty common. Good guys will
 typically find an attack, alert the people who are in a position to
 fix the product(s), wait for them to confirm it and start on a fix and
 then publish the details of the attack after the vulnerability patch
 has been released. The reason for this is so other researchers (and
 people wanting to protect their own systems) have an idea of the types
 of issues that a product has been vulnerable to so they can poke
 around the edges and see if there are similar issues that may have
 been missed, thereby strengthening the overall security of the
 product.  So, yes, the details are for people looking for ideas but
 that includes all the good people as well as the bad guys (tm).
 Security through obscurity isn't really security at all.

 cheers,
 Judah

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352538
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Ugent help - CF9 ODBC Server Issues

2012-09-12 Thread Andrew Scott

I so cringe when people use ODBC and Access. The last time I looked Access
is not an RDBMS database, and is what people need for production servers.

Any how.

The error message could be a combination of a lot of factors, one being
congestion on the network, congestion with the drivers, to name a couple.
But the most common is that you are hitting your connection limits made
simultaneously.

And just an FYI, Access is not designed to be a high performance database.


-- 
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: 
http://plus.google.com/113032480415921517411http://plus.google.com/108193156965451149543




On Thu, Sep 13, 2012 at 3:10 AM, Meghna Chopra mymailsonl...@gmail.comwrote:


 We have MySQL 5.x and Access on this server.
 We have remote MS SQL (2005 enterprise) Database server as well.

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352539
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfajaxproxy... not defined return variable.

2012-09-12 Thread Greg Morphis

What's weird is if I click on the RequestURL

http://localhost:81/resources/proxy.cfc?method=getAllConferencePresentationsreturnFormat=jsonargumentCollection=%7B%22tag_id%22%3A0%2C%22year%22%3A2012%7D_cf_nodebug=true_cf_nocache=true_cf_clientid=235E1C59C699DA256BA5C27C5890D98B_cf_rc=0


I get:
COLUMNS:[ID,TITLE,PATH,AUTHOR,CONFERENCETITLE,TAG_ID,DATE],DATA:[[44,Affiliate,\/assets\/utilities\/serve.cfm?gid=00666248-bead-4df7-b51f-2790a9bb232e,foo,NASWA
UI Committee Meeting,null,July, 16 2012 10:40:04],

...

but it still highlights
var pId = presentation.DATA[0][0];

saying presentation is undefined.

On Wed, Sep 12, 2012 at 12:23 PM, Andrew Scott andr...@andyscott.id.auwrote:


 Greg, the calling page will not help you here.

 You need to have the network tabbed active, and then refresh the page or
 force the call that is having the problem. Once that call is made, it will
 appear in the list on the left hand side. When you click on that call,
 which if I read your posting is called proxy.cfc so when you see proxy.cfc
 appear you click on that call. Then a window will open in the network area,
 that has many tabs, one of which is the response.

 Now if you have done that, and it is showing no response data, that means
 the call is failing and you will need to consult your logs as to why
 proxy.cfc is failing.

 --
 Regards,
 Andrew Scott
 WebSite: http://www.andyscott.id.au/
 Google+: http://plus.google.com/113032480415921517411
 http://plus.google.com/108193156965451149543





 On Thu, Sep 13, 2012 at 3:13 AM, Greg Morphis gmorp...@gmail.com wrote:

 
  The demo.cfm has this at the top and then the rest is the same cfm code
 
  headscript type=text/javascript/* ![CDATA[
  */_cf_loadingtexthtml=img
  alt=' ' src='/CFIDE/scripts/ajax/resources/cf/images/loading.gif'/;
  _cf_contextpath=;
  _cf_ajaxscriptsrc=/CFIDE/scripts/ajax;
  _cf_jsonprefix='//';
  _cf_clientid='235E1C59C699DA256BA5C27C5890D98B';/* ]] *//scriptscript
  type=text/javascript
  src=/CFIDE/scripts/ajax/messages/cfmessage.js
  http://localhost:81/CFIDE/scripts/ajax/messages/cfmessage.js
  /script
  script type=text/javascript
 src=/CFIDE/scripts/ajax/package/cfajax.js
  /script
 
  script type=text/javascript/* ![CDATA[ */
   ColdFusion.Ajax.importTag('CFAJAXPROXY');
  /* ]] *//script
 
  script type=text/javascript/* ![CDATA[ */
   var _cf_proxy=ColdFusion.AjaxProxy.init('/resources/proxy.cfc','proxy');
   _cf_proxy.prototype.getAllConferencePresentations=function(tag_id,year)
 {
  return ColdFusion.AjaxProxy.invoke(this,
 getAllConferencePresentations, {
  tag_id:tag_id,year:year});};
  /* ]] *//script
 
 
 


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352540
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Ugent help - CF9 ODBC Server Issues

2012-09-12 Thread Byron Mann

What are the adverse effects aside from the logs you've been experiencing.

We used to see similar logging errors on CF8, and narrowed them down
to firewall session timeouts between our CF application servers and
the MS Sql Servers.

Granted this is Localhost and a different scenario, I'm wondering if
you are just seeing this in the logs and not application errors.

Byron Mann
Lead Engineer  Architect
HostMySite.com



On Wed, Sep 12, 2012 at 1:00 PM, Meghna Chopra mymailsonl...@gmail.com wrote:

 Hi,

 For last few days, I have been facing issues with CF 9 ODBC Server. In event 
 logs I see:

 The following information is part of the event: ColdFusion 9 ODBC 
 Server@LOCALHOST,ErrorCode=2310,ErrorMessage=TCP/IP, connection reset by peer.

 When I try to stop CF9 ODBC Service, it doesn't stops and I have to restart 
 the server to get it fixed. This is a production server, so it has become a 
 huge issue which I am not able to sort out. Tried Googling and everything 
 without success.

 I have:

 Windows 2003 Enterprise (32 bit)
 CF 9 Enterprise.

 Any ideas, help is highly appreciated.


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352541
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfajaxproxy... not defined return variable.

2012-09-12 Thread Greg Morphis

But under Network proxy.cfc shows
Method: GET
Status: (canceled)
Type: Pending
Initiator: cfajax.js 147 Script
Size 13B 0B
Time: Pending

On Wed, Sep 12, 2012 at 12:36 PM, Greg Morphis gmorp...@gmail.com wrote:

 What's weird is if I click on the RequestURL


 http://localhost:81/resources/proxy.cfc?method=getAllConferencePresentationsreturnFormat=jsonargumentCollection=%7B%22tag_id%22%3A0%2C%22year%22%3A2012%7D_cf_nodebug=true_cf_nocache=true_cf_clientid=235E1C59C699DA256BA5C27C5890D98B_cf_rc=0


 I get:
 COLUMNS:[ID,TITLE,PATH,AUTHOR,CONFERENCETITLE,TAG_ID,DATE],DATA:[[44,Affiliate,\/assets\/utilities\/serve.cfm?gid=00666248-bead-4df7-b51f-2790a9bb232e,foo,NASWA
 UI Committee Meeting,null,July, 16 2012 10:40:04],

 ...

 but it still highlights
 var pId = presentation.DATA[0][0];

 saying presentation is undefined.


 On Wed, Sep 12, 2012 at 12:23 PM, Andrew Scott andr...@andyscott.id.auwrote:


 Greg, the calling page will not help you here.

 You need to have the network tabbed active, and then refresh the page or
 force the call that is having the problem. Once that call is made, it will
 appear in the list on the left hand side. When you click on that call,
 which if I read your posting is called proxy.cfc so when you see proxy.cfc
 appear you click on that call. Then a window will open in the network
 area,
 that has many tabs, one of which is the response.

 Now if you have done that, and it is showing no response data, that means
 the call is failing and you will need to consult your logs as to why
 proxy.cfc is failing.

 --
 Regards,
 Andrew Scott
 WebSite: http://www.andyscott.id.au/
 Google+: http://plus.google.com/113032480415921517411
 http://plus.google.com/108193156965451149543





 On Thu, Sep 13, 2012 at 3:13 AM, Greg Morphis gmorp...@gmail.com wrote:

 
  The demo.cfm has this at the top and then the rest is the same cfm code
 
  headscript type=text/javascript/* ![CDATA[
  */_cf_loadingtexthtml=img
  alt=' ' src='/CFIDE/scripts/ajax/resources/cf/images/loading.gif'/;
  _cf_contextpath=;
  _cf_ajaxscriptsrc=/CFIDE/scripts/ajax;
  _cf_jsonprefix='//';
  _cf_clientid='235E1C59C699DA256BA5C27C5890D98B';/* ]]
 *//scriptscript
  type=text/javascript
  src=/CFIDE/scripts/ajax/messages/cfmessage.js
  http://localhost:81/CFIDE/scripts/ajax/messages/cfmessage.js
  /script
  script type=text/javascript
 src=/CFIDE/scripts/ajax/package/cfajax.js
  /script
 
  script type=text/javascript/* ![CDATA[ */
   ColdFusion.Ajax.importTag('CFAJAXPROXY');
  /* ]] *//script
 
  script type=text/javascript/* ![CDATA[ */
   var
 _cf_proxy=ColdFusion.AjaxProxy.init('/resources/proxy.cfc','proxy');
 
  _cf_proxy.prototype.getAllConferencePresentations=function(tag_id,year) {
  return ColdFusion.AjaxProxy.invoke(this,
 getAllConferencePresentations, {
  tag_id:tag_id,year:year});};
  /* ]] *//script
 
 
 


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352542
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfajaxproxy... not defined return variable.

2012-09-12 Thread Greg Morphis

I'm not sure if this helps any but the Console tab is full of information:

 Arguments[2]

   1. 0: null
   2. 1: undefined
   3. callee: function (presentation)
  1. arguments: Arguments[2]
 1. 0: null
 2. 1: undefined
 3. callee: function (presentation)
1. arguments: Arguments[2]
   1. 0: null
   2. 1: undefined
   3. callee: function (presentation)
  1. arguments: Arguments[2]
 1. 0: null
 2. 1: undefined
 3. callee: function (presentation)
1. arguments: Arguments[2]
   1. 0: null
   2. 1: undefined





On Wed, Sep 12, 2012 at 12:39 PM, Greg Morphis gmorp...@gmail.com wrote:

 But under Network proxy.cfc shows
 Method: GET
 Status: (canceled)
 Type: Pending
 Initiator: cfajax.js 147 Script
 Size 13B 0B
 Time: Pending


 On Wed, Sep 12, 2012 at 12:36 PM, Greg Morphis gmorp...@gmail.com wrote:

 What's weird is if I click on the RequestURL


 http://localhost:81/resources/proxy.cfc?method=getAllConferencePresentationsreturnFormat=jsonargumentCollection=%7B%22tag_id%22%3A0%2C%22year%22%3A2012%7D_cf_nodebug=true_cf_nocache=true_cf_clientid=235E1C59C699DA256BA5C27C5890D98B_cf_rc=0


 I get:
 COLUMNS:[ID,TITLE,PATH,AUTHOR,CONFERENCETITLE,TAG_ID,DATE],DATA:[[44,Affiliate,\/assets\/utilities\/serve.cfm?gid=00666248-bead-4df7-b51f-2790a9bb232e,foo,NASWA
 UI Committee Meeting,null,July, 16 2012 10:40:04],

 ...

 but it still highlights
 var pId = presentation.DATA[0][0];

 saying presentation is undefined.


 On Wed, Sep 12, 2012 at 12:23 PM, Andrew Scott 
 andr...@andyscott.id.auwrote:


 Greg, the calling page will not help you here.

 You need to have the network tabbed active, and then refresh the page or
 force the call that is having the problem. Once that call is made, it
 will
 appear in the list on the left hand side. When you click on that call,
 which if I read your posting is called proxy.cfc so when you see
 proxy.cfc
 appear you click on that call. Then a window will open in the network
 area,
 that has many tabs, one of which is the response.

 Now if you have done that, and it is showing no response data, that means
 the call is failing and you will need to consult your logs as to why
 proxy.cfc is failing.

 --
 Regards,
 Andrew Scott
 WebSite: http://www.andyscott.id.au/
 Google+: http://plus.google.com/113032480415921517411
 http://plus.google.com/108193156965451149543





 On Thu, Sep 13, 2012 at 3:13 AM, Greg Morphis gmorp...@gmail.com
 wrote:

 
  The demo.cfm has this at the top and then the rest is the same cfm code
 
  headscript type=text/javascript/* ![CDATA[
  */_cf_loadingtexthtml=img
  alt=' ' src='/CFIDE/scripts/ajax/resources/cf/images/loading.gif'/;
  _cf_contextpath=;
  _cf_ajaxscriptsrc=/CFIDE/scripts/ajax;
  _cf_jsonprefix='//';
  _cf_clientid='235E1C59C699DA256BA5C27C5890D98B';/* ]]
 *//scriptscript
  type=text/javascript
  src=/CFIDE/scripts/ajax/messages/cfmessage.js
  http://localhost:81/CFIDE/scripts/ajax/messages/cfmessage.js
  /script
  script type=text/javascript
 src=/CFIDE/scripts/ajax/package/cfajax.js
  /script
 
  script type=text/javascript/* ![CDATA[ */
   ColdFusion.Ajax.importTag('CFAJAXPROXY');
  /* ]] *//script
 
  script type=text/javascript/* ![CDATA[ */
   var
 _cf_proxy=ColdFusion.AjaxProxy.init('/resources/proxy.cfc','proxy');
 
  _cf_proxy.prototype.getAllConferencePresentations=function(tag_id,year) {
  return ColdFusion.AjaxProxy.invoke(this,
 getAllConferencePresentations, {
  tag_id:tag_id,year:year});};
  /* ]] *//script
 
 
 


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352543
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfajaxproxy... not defined return variable.

2012-09-12 Thread Andrew Scott

Well if I read that right, this is from your console.dir() output and it
does indicate that the passed variable presentation is actually null.

So the question now is why the returned data is not being transformed, and
passed to the callback?


-- 
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: 
http://plus.google.com/113032480415921517411http://plus.google.com/108193156965451149543



On Thu, Sep 13, 2012 at 3:45 AM, Greg Morphis gmorp...@gmail.com wrote:


 I'm not sure if this helps any but the Console tab is full of information:

  Arguments[2]

1. 0: null
2. 1: undefined
3. callee: function (presentation)
   1. arguments: Arguments[2]
  1. 0: null
  2. 1: undefined
  3. callee: function (presentation)
 1. arguments: Arguments[2]
1. 0: null
2. 1: undefined
3. callee: function (presentation)
   1. arguments: Arguments[2]
  1. 0: null
  2. 1: undefined
  3. callee: function (presentation)
 1. arguments: Arguments[2]
1. 0: null
2. 1: undefined





 On Wed, Sep 12, 2012 at 12:39 PM, Greg Morphis gmorp...@gmail.com wrote:

  But under Network proxy.cfc shows
  Method: GET
  Status: (canceled)
  Type: Pending
  Initiator: cfajax.js 147 Script
  Size 13B 0B
  Time: Pending
 
 
  On Wed, Sep 12, 2012 at 12:36 PM, Greg Morphis gmorp...@gmail.com
 wrote:
 
  What's weird is if I click on the RequestURL
 
 
 
 http://localhost:81/resources/proxy.cfc?method=getAllConferencePresentationsreturnFormat=jsonargumentCollection=%7B%22tag_id%22%3A0%2C%22year%22%3A2012%7D_cf_nodebug=true_cf_nocache=true_cf_clientid=235E1C59C699DA256BA5C27C5890D98B_cf_rc=0
 
 
  I get:
 
 COLUMNS:[ID,TITLE,PATH,AUTHOR,CONFERENCETITLE,TAG_ID,DATE],DATA:[[44,Affiliate,\/assets\/utilities\/serve.cfm?gid=00666248-bead-4df7-b51f-2790a9bb232e,foo,NASWA
  UI Committee Meeting,null,July, 16 2012 10:40:04],
 
  ...
 
  but it still highlights
  var pId = presentation.DATA[0][0];
 
  saying presentation is undefined.
 
 
  On Wed, Sep 12, 2012 at 12:23 PM, Andrew Scott andr...@andyscott.id.au
 wrote:
 
 
  Greg, the calling page will not help you here.
 
  You need to have the network tabbed active, and then refresh the page
 or
  force the call that is having the problem. Once that call is made, it
  will
  appear in the list on the left hand side. When you click on that call,
  which if I read your posting is called proxy.cfc so when you see
  proxy.cfc
  appear you click on that call. Then a window will open in the network
  area,
  that has many tabs, one of which is the response.
 
  Now if you have done that, and it is showing no response data, that
 means
  the call is failing and you will need to consult your logs as to why
  proxy.cfc is failing.
 
  --
  Regards,
  Andrew Scott
  WebSite: http://www.andyscott.id.au/
  Google+: http://plus.google.com/113032480415921517411
  http://plus.google.com/108193156965451149543
 
 
 
 
 
  On Thu, Sep 13, 2012 at 3:13 AM, Greg Morphis gmorp...@gmail.com
  wrote:
 
  
   The demo.cfm has this at the top and then the rest is the same cfm
 code
  
   headscript type=text/javascript/* ![CDATA[
   */_cf_loadingtexthtml=img
   alt=' ' src='/CFIDE/scripts/ajax/resources/cf/images/loading.gif'/;
   _cf_contextpath=;
   _cf_ajaxscriptsrc=/CFIDE/scripts/ajax;
   _cf_jsonprefix='//';
   _cf_clientid='235E1C59C699DA256BA5C27C5890D98B';/* ]]
  *//scriptscript
   type=text/javascript
   src=/CFIDE/scripts/ajax/messages/cfmessage.js
   http://localhost:81/CFIDE/scripts/ajax/messages/cfmessage.js
   /script
   script type=text/javascript
  src=/CFIDE/scripts/ajax/package/cfajax.js
   /script
  
   script type=text/javascript/* ![CDATA[ */
ColdFusion.Ajax.importTag('CFAJAXPROXY');
   /* ]] *//script
  
   script type=text/javascript/* ![CDATA[ */
var
  _cf_proxy=ColdFusion.AjaxProxy.init('/resources/proxy.cfc','proxy');
  
 
  _cf_proxy.prototype.getAllConferencePresentations=function(tag_id,year) {
   return ColdFusion.AjaxProxy.invoke(this,
  getAllConferencePresentations, {
   tag_id:tag_id,year:year});};
   /* ]] *//script
  
  
  
 
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352544
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfajaxproxy... not defined return variable.

2012-09-12 Thread Rodney Enke

In your cfc method try changing the returntype=json to returntype=any
and add the attribute returnformat=json so you function declaration
should look like:

cffunction name=getAllConferencePresentations access=remote
output=false returntype=any returnformat=json

I have not tested this so it may not fix your problem, but I believe json
isn't a valid returntype.

-
Rodney

On Wed, Sep 12, 2012 at 12:36 PM, Greg Morphis gmorp...@gmail.com wrote:


 What's weird is if I click on the RequestURL


 http://localhost:81/resources/proxy.cfc?method=getAllConferencePresentationsreturnFormat=jsonargumentCollection=%7B%22tag_id%22%3A0%2C%22year%22%3A2012%7D_cf_nodebug=true_cf_nocache=true_cf_clientid=235E1C59C699DA256BA5C27C5890D98B_cf_rc=0


 I get:

 COLUMNS:[ID,TITLE,PATH,AUTHOR,CONFERENCETITLE,TAG_ID,DATE],DATA:[[44,Affiliate,\/assets\/utilities\/serve.cfm?gid=00666248-bead-4df7-b51f-2790a9bb232e,foo,NASWA
 UI Committee Meeting,null,July, 16 2012 10:40:04],

 ...

 but it still highlights
 var pId = presentation.DATA[0][0];

 saying presentation is undefined.

 On Wed, Sep 12, 2012 at 12:23 PM, Andrew Scott andr...@andyscott.id.au
 wrote:

 
  Greg, the calling page will not help you here.
 
  You need to have the network tabbed active, and then refresh the page or
  force the call that is having the problem. Once that call is made, it
 will
  appear in the list on the left hand side. When you click on that call,
  which if I read your posting is called proxy.cfc so when you see
 proxy.cfc
  appear you click on that call. Then a window will open in the network
 area,
  that has many tabs, one of which is the response.
 
  Now if you have done that, and it is showing no response data, that means
  the call is failing and you will need to consult your logs as to why
  proxy.cfc is failing.
 
  --
  Regards,
  Andrew Scott
  WebSite: http://www.andyscott.id.au/
  Google+: http://plus.google.com/113032480415921517411
  http://plus.google.com/108193156965451149543
 
 
 
 
 
  On Thu, Sep 13, 2012 at 3:13 AM, Greg Morphis gmorp...@gmail.com
 wrote:
 
  
   The demo.cfm has this at the top and then the rest is the same cfm code
  
   headscript type=text/javascript/* ![CDATA[
   */_cf_loadingtexthtml=img
   alt=' ' src='/CFIDE/scripts/ajax/resources/cf/images/loading.gif'/;
   _cf_contextpath=;
   _cf_ajaxscriptsrc=/CFIDE/scripts/ajax;
   _cf_jsonprefix='//';
   _cf_clientid='235E1C59C699DA256BA5C27C5890D98B';/* ]]
 *//scriptscript
   type=text/javascript
   src=/CFIDE/scripts/ajax/messages/cfmessage.js
   http://localhost:81/CFIDE/scripts/ajax/messages/cfmessage.js
   /script
   script type=text/javascript
  src=/CFIDE/scripts/ajax/package/cfajax.js
   /script
  
   script type=text/javascript/* ![CDATA[ */
ColdFusion.Ajax.importTag('CFAJAXPROXY');
   /* ]] *//script
  
   script type=text/javascript/* ![CDATA[ */
var
 _cf_proxy=ColdFusion.AjaxProxy.init('/resources/proxy.cfc','proxy');
  
  _cf_proxy.prototype.getAllConferencePresentations=function(tag_id,year)
  {
   return ColdFusion.AjaxProxy.invoke(this,
  getAllConferencePresentations, {
   tag_id:tag_id,year:year});};
   /* ]] *//script
  
  
  
 
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352545
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfajaxproxy... not defined return variable.

2012-09-12 Thread Greg Morphis

I noticed that earlier and changed it. It still highlights the
var pId = presentation.DATA[0][0];

with a null error

On Wed, Sep 12, 2012 at 12:58 PM, Rodney Enke renk...@gmail.com wrote:


 In your cfc method try changing the returntype=json to returntype=any
 and add the attribute returnformat=json so you function declaration
 should look like:

 cffunction name=getAllConferencePresentations access=remote
 output=false returntype=any returnformat=json

 I have not tested this so it may not fix your problem, but I believe json
 isn't a valid returntype.

 -
 Rodney

 On Wed, Sep 12, 2012 at 12:36 PM, Greg Morphis gmorp...@gmail.com wrote:

 
  What's weird is if I click on the RequestURL
 
 
 
 http://localhost:81/resources/proxy.cfc?method=getAllConferencePresentationsreturnFormat=jsonargumentCollection=%7B%22tag_id%22%3A0%2C%22year%22%3A2012%7D_cf_nodebug=true_cf_nocache=true_cf_clientid=235E1C59C699DA256BA5C27C5890D98B_cf_rc=0
 
 
  I get:
 
 
 COLUMNS:[ID,TITLE,PATH,AUTHOR,CONFERENCETITLE,TAG_ID,DATE],DATA:[[44,Affiliate,\/assets\/utilities\/serve.cfm?gid=00666248-bead-4df7-b51f-2790a9bb232e,foo,NASWA
  UI Committee Meeting,null,July, 16 2012 10:40:04],
 
  ...
 
  but it still highlights
  var pId = presentation.DATA[0][0];
 
  saying presentation is undefined.
 
  On Wed, Sep 12, 2012 at 12:23 PM, Andrew Scott andr...@andyscott.id.au
  wrote:
 
  
   Greg, the calling page will not help you here.
  
   You need to have the network tabbed active, and then refresh the page
 or
   force the call that is having the problem. Once that call is made, it
  will
   appear in the list on the left hand side. When you click on that call,
   which if I read your posting is called proxy.cfc so when you see
  proxy.cfc
   appear you click on that call. Then a window will open in the network
  area,
   that has many tabs, one of which is the response.
  
   Now if you have done that, and it is showing no response data, that
 means
   the call is failing and you will need to consult your logs as to why
   proxy.cfc is failing.
  
   --
   Regards,
   Andrew Scott
   WebSite: http://www.andyscott.id.au/
   Google+: http://plus.google.com/113032480415921517411
   http://plus.google.com/108193156965451149543
  
  
  
  
  
   On Thu, Sep 13, 2012 at 3:13 AM, Greg Morphis gmorp...@gmail.com
  wrote:
  
   
The demo.cfm has this at the top and then the rest is the same cfm
 code
   
headscript type=text/javascript/* ![CDATA[
*/_cf_loadingtexthtml=img
alt=' ' src='/CFIDE/scripts/ajax/resources/cf/images/loading.gif'/;
_cf_contextpath=;
_cf_ajaxscriptsrc=/CFIDE/scripts/ajax;
_cf_jsonprefix='//';
_cf_clientid='235E1C59C699DA256BA5C27C5890D98B';/* ]]
  *//scriptscript
type=text/javascript
src=/CFIDE/scripts/ajax/messages/cfmessage.js
http://localhost:81/CFIDE/scripts/ajax/messages/cfmessage.js
/script
script type=text/javascript
   src=/CFIDE/scripts/ajax/package/cfajax.js
/script
   
script type=text/javascript/* ![CDATA[ */
 ColdFusion.Ajax.importTag('CFAJAXPROXY');
/* ]] *//script
   
script type=text/javascript/* ![CDATA[ */
 var
  _cf_proxy=ColdFusion.AjaxProxy.init('/resources/proxy.cfc','proxy');
   
   _cf_proxy.prototype.getAllConferencePresentations=function(tag_id,year)
   {
return ColdFusion.AjaxProxy.invoke(this,
   getAllConferencePresentations, {
tag_id:tag_id,year:year});};
/* ]] *//script
   
   
   
  
  
  
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352546
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfajaxproxy... not defined return variable.

2012-09-12 Thread Greg Morphis

I've tried returntype of query, string, and even taking that attribute off

cffunction name=getAllConferencePresentations access=remote
output=false returntype=query returnformat=json

still not returning it to back to demo.cfm

On Wed, Sep 12, 2012 at 1:01 PM, Greg Morphis gmorp...@gmail.com wrote:

 I noticed that earlier and changed it. It still highlights the
 var pId = presentation.DATA[0][0];

 with a null error


 On Wed, Sep 12, 2012 at 12:58 PM, Rodney Enke renk...@gmail.com wrote:


 In your cfc method try changing the returntype=json to returntype=any
 and add the attribute returnformat=json so you function declaration
 should look like:

 cffunction name=getAllConferencePresentations access=remote
 output=false returntype=any returnformat=json

 I have not tested this so it may not fix your problem, but I believe json
 isn't a valid returntype.

 -
 Rodney

 On Wed, Sep 12, 2012 at 12:36 PM, Greg Morphis gmorp...@gmail.com
 wrote:

 
  What's weird is if I click on the RequestURL
 
 
 
 http://localhost:81/resources/proxy.cfc?method=getAllConferencePresentationsreturnFormat=jsonargumentCollection=%7B%22tag_id%22%3A0%2C%22year%22%3A2012%7D_cf_nodebug=true_cf_nocache=true_cf_clientid=235E1C59C699DA256BA5C27C5890D98B_cf_rc=0
 
 
  I get:
 
 
 COLUMNS:[ID,TITLE,PATH,AUTHOR,CONFERENCETITLE,TAG_ID,DATE],DATA:[[44,Affiliate,\/assets\/utilities\/serve.cfm?gid=00666248-bead-4df7-b51f-2790a9bb232e,foo,NASWA
  UI Committee Meeting,null,July, 16 2012 10:40:04],
 
  ...
 
  but it still highlights
  var pId = presentation.DATA[0][0];
 
  saying presentation is undefined.
 




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352547
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfajaxproxy... not defined return variable.

2012-09-12 Thread Raymond Camden

Can you post your entire CFM again? Please use something like pastebin
or gist.github.com so it is in the clear.


On Wed, Sep 12, 2012 at 1:04 PM, Greg Morphis gmorp...@gmail.com wrote:

 I've tried returntype of query, string, and even taking that attribute off

 cffunction name=getAllConferencePresentations access=remote
 output=false returntype=query returnformat=json

 still not returning it to back to demo.cfm

 On Wed, Sep 12, 2012 at 1:01 PM, Greg Morphis gmorp...@gmail.com wrote:

 I noticed that earlier and changed it. It still highlights the
 var pId = presentation.DATA[0][0];

 with a null error


 On Wed, Sep 12, 2012 at 12:58 PM, Rodney Enke renk...@gmail.com wrote:


 In your cfc method try changing the returntype=json to returntype=any
 and add the attribute returnformat=json so you function declaration
 should look like:

 cffunction name=getAllConferencePresentations access=remote
 output=false returntype=any returnformat=json

 I have not tested this so it may not fix your problem, but I believe json
 isn't a valid returntype.

 -
 Rodney

 On Wed, Sep 12, 2012 at 12:36 PM, Greg Morphis gmorp...@gmail.com
 wrote:

 
  What's weird is if I click on the RequestURL
 
 
 
 http://localhost:81/resources/proxy.cfc?method=getAllConferencePresentationsreturnFormat=jsonargumentCollection=%7B%22tag_id%22%3A0%2C%22year%22%3A2012%7D_cf_nodebug=true_cf_nocache=true_cf_clientid=235E1C59C699DA256BA5C27C5890D98B_cf_rc=0
 
 
  I get:
 
 
 COLUMNS:[ID,TITLE,PATH,AUTHOR,CONFERENCETITLE,TAG_ID,DATE],DATA:[[44,Affiliate,\/assets\/utilities\/serve.cfm?gid=00666248-bead-4df7-b51f-2790a9bb232e,foo,NASWA
  UI Committee Meeting,null,July, 16 2012 10:40:04],
 
  ...
 
  but it still highlights
  var pId = presentation.DATA[0][0];
 
  saying presentation is undefined.
 




 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352548
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfajaxproxy... not defined return variable.

2012-09-12 Thread Greg Morphis

Sure thing Ray, thanks so much for helping.

http://pastebin.com/2M04ZFaQ

And I'm not sure if this tells you anything, Firebug gives this error:

TypeError: presentation is null
onreadystatechange()cfajax.js (line 125)

$A.callback(req,_407,_408);


On Wed, Sep 12, 2012 at 1:29 PM, Raymond Camden raymondcam...@gmail.comwrote:


 Can you post your entire CFM again? Please use something like pastebin
 or gist.github.com so it is in the clear.


 On Wed, Sep 12, 2012 at 1:04 PM, Greg Morphis gmorp...@gmail.com wrote:
 
  I've tried returntype of query, string, and even taking that attribute
 off
 
  cffunction name=getAllConferencePresentations access=remote
  output=false returntype=query returnformat=json
 
  still not returning it to back to demo.cfm
 
  On Wed, Sep 12, 2012 at 1:01 PM, Greg Morphis gmorp...@gmail.com
 wrote:
 
  I noticed that earlier and changed it. It still highlights the
  var pId = presentation.DATA[0][0];
 
  with a null error
 
 
  On Wed, Sep 12, 2012 at 12:58 PM, Rodney Enke renk...@gmail.com
 wrote:
 
 
  In your cfc method try changing the returntype=json to
 returntype=any
  and add the attribute returnformat=json so you function declaration
  should look like:
 
  cffunction name=getAllConferencePresentations access=remote
  output=false returntype=any returnformat=json
 
  I have not tested this so it may not fix your problem, but I believe
 json
  isn't a valid returntype.
 
  -
  Rodney
 
  On Wed, Sep 12, 2012 at 12:36 PM, Greg Morphis gmorp...@gmail.com
  wrote:
 
  
   What's weird is if I click on the RequestURL
  
  
  
 
 http://localhost:81/resources/proxy.cfc?method=getAllConferencePresentationsreturnFormat=jsonargumentCollection=%7B%22tag_id%22%3A0%2C%22year%22%3A2012%7D_cf_nodebug=true_cf_nocache=true_cf_clientid=235E1C59C699DA256BA5C27C5890D98B_cf_rc=0
  
  
   I get:
  
  
 
 COLUMNS:[ID,TITLE,PATH,AUTHOR,CONFERENCETITLE,TAG_ID,DATE],DATA:[[44,Affiliate,\/assets\/utilities\/serve.cfm?gid=00666248-bead-4df7-b51f-2790a9bb232e,foo,NASWA
   UI Committee Meeting,null,July, 16 2012 10:40:04],
  
   ...
  
   but it still highlights
   var pId = presentation.DATA[0][0];
  
   saying presentation is undefined.
  
 
 
 
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352549
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfajaxproxy... not defined return variable.

2012-09-12 Thread Raymond Camden

Hmpth. This seems right. So dumb question. If you remove ALL the logic
in your callback, just keep in

console.dir(arguments);

and maybe a

console.log(why dont you freaking work);

does it work correctly? Also - can you put this online? It may be a lot quicker.

On Wed, Sep 12, 2012 at 1:45 PM, Greg Morphis gmorp...@gmail.com wrote:

 Sure thing Ray, thanks so much for helping.

 http://pastebin.com/2M04ZFaQ

 And I'm not sure if this tells you anything, Firebug gives this error:

 TypeError: presentation is null
 onreadystatechange()cfajax.js (line 125)

 $A.callback(req,_407,_408);


 On Wed, Sep 12, 2012 at 1:29 PM, Raymond Camden 
 raymondcam...@gmail.comwrote:


 Can you post your entire CFM again? Please use something like pastebin
 or gist.github.com so it is in the clear.


 On Wed, Sep 12, 2012 at 1:04 PM, Greg Morphis gmorp...@gmail.com wrote:
 
  I've tried returntype of query, string, and even taking that attribute
 off
 
  cffunction name=getAllConferencePresentations access=remote
  output=false returntype=query returnformat=json
 
  still not returning it to back to demo.cfm
 
  On Wed, Sep 12, 2012 at 1:01 PM, Greg Morphis gmorp...@gmail.com
 wrote:
 
  I noticed that earlier and changed it. It still highlights the
  var pId = presentation.DATA[0][0];
 
  with a null error
 
 
  On Wed, Sep 12, 2012 at 12:58 PM, Rodney Enke renk...@gmail.com
 wrote:
 
 
  In your cfc method try changing the returntype=json to
 returntype=any
  and add the attribute returnformat=json so you function declaration
  should look like:
 
  cffunction name=getAllConferencePresentations access=remote
  output=false returntype=any returnformat=json
 
  I have not tested this so it may not fix your problem, but I believe
 json
  isn't a valid returntype.
 
  -
  Rodney
 
  On Wed, Sep 12, 2012 at 12:36 PM, Greg Morphis gmorp...@gmail.com
  wrote:
 
  
   What's weird is if I click on the RequestURL
  
  
  
 
 http://localhost:81/resources/proxy.cfc?method=getAllConferencePresentationsreturnFormat=jsonargumentCollection=%7B%22tag_id%22%3A0%2C%22year%22%3A2012%7D_cf_nodebug=true_cf_nocache=true_cf_clientid=235E1C59C699DA256BA5C27C5890D98B_cf_rc=0
  
  
   I get:
  
  
 
 COLUMNS:[ID,TITLE,PATH,AUTHOR,CONFERENCETITLE,TAG_ID,DATE],DATA:[[44,Affiliate,\/assets\/utilities\/serve.cfm?gid=00666248-bead-4df7-b51f-2790a9bb232e,foo,NASWA
   UI Committee Meeting,null,July, 16 2012 10:40:04],
  
   ...
  
   but it still highlights
   var pId = presentation.DATA[0][0];
  
   saying presentation is undefined.
  
 
 
 
 
 



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352550
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfajaxproxy... not defined return variable.

2012-09-12 Thread Greg Morphis

I updated the pastebin to include my cfc file too.

In the console I get:
 Arguments[2]


demo.cfm:44 http://localhost:81/resources/demo.cfm
 why dont you freaking work demo.cfm:45http://localhost:81/resources/demo.cfm

There's no arguments listed below arguments.

I'll work on getting it online



On Wed, Sep 12, 2012 at 1:50 PM, Raymond Camden raymondcam...@gmail.comwrote:


 Hmpth. This seems right. So dumb question. If you remove ALL the logic
 in your callback, just keep in

 console.dir(arguments);

 and maybe a

 console.log(why dont you freaking work);

 does it work correctly? Also - can you put this online? It may be a lot
 quicker.

 On Wed, Sep 12, 2012 at 1:45 PM, Greg Morphis gmorp...@gmail.com wrote:
 
  Sure thing Ray, thanks so much for helping.
 
  http://pastebin.com/2M04ZFaQ
 
  And I'm not sure if this tells you anything, Firebug gives this error:
 
  TypeError: presentation is null
  onreadystatechange()cfajax.js (line 125)
 
  $A.callback(req,_407,_408);
 
 
  On Wed, Sep 12, 2012 at 1:29 PM, Raymond Camden raymondcam...@gmail.com
 wrote:
 
 
  Can you post your entire CFM again? Please use something like pastebin
  or gist.github.com so it is in the clear.
 
 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352551
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfajaxproxy... not defined return variable.

2012-09-12 Thread Raymond Camden

Ok, so the fact that it runs the callback is something. And as you
said, in the Network panel, you saw data being returned. Therefore, it
must be your use of the data. Once you get this online, let me know.
We should be close.

On Wed, Sep 12, 2012 at 2:02 PM, Greg Morphis gmorp...@gmail.com wrote:

 I updated the pastebin to include my cfc file too.

 In the console I get:
  Arguments[2]



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352552
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfajaxproxy... not defined return variable.

2012-09-12 Thread Raymond Camden

Also - when you get arguments[2] in the console, there should be a
black triangle you can click to expand it. Do that - let us know what
you see.


On Wed, Sep 12, 2012 at 2:02 PM, Greg Morphis gmorp...@gmail.com wrote:

 I updated the pastebin to include my cfc file too.

 In the console I get:
  Arguments[2]


 demo.cfm:44 http://localhost:81/resources/demo.cfm
  why dont you freaking work 
 demo.cfm:45http://localhost:81/resources/demo.cfm

 There's no arguments listed below arguments.

 I'll work on getting it online



 On Wed, Sep 12, 2012 at 1:50 PM, Raymond Camden 
 raymondcam...@gmail.comwrote:


 Hmpth. This seems right. So dumb question. If you remove ALL the logic
 in your callback, just keep in

 console.dir(arguments);

 and maybe a

 console.log(why dont you freaking work);

 does it work correctly? Also - can you put this online? It may be a lot
 quicker.

 On Wed, Sep 12, 2012 at 1:45 PM, Greg Morphis gmorp...@gmail.com wrote:
 
  Sure thing Ray, thanks so much for helping.
 
  http://pastebin.com/2M04ZFaQ
 
  And I'm not sure if this tells you anything, Firebug gives this error:
 
  TypeError: presentation is null
  onreadystatechange()cfajax.js (line 125)
 
  $A.callback(req,_407,_408);
 
 
  On Wed, Sep 12, 2012 at 1:29 PM, Raymond Camden raymondcam...@gmail.com
 wrote:
 
 
  Can you post your entire CFM again? Please use something like pastebin
  or gist.github.com so it is in the clear.
 
 



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352553
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfajaxproxy... not defined return variable.

2012-09-12 Thread Greg Morphis

Nothing, I clicked the triangle and there's a blank line.
Here's the file, thanks!

http://dev.fallcomm.com/demo.cfm


On Wed, Sep 12, 2012 at 2:10 PM, Raymond Camden raymondcam...@gmail.comwrote:


 Also - when you get arguments[2] in the console, there should be a
 black triangle you can click to expand it. Do that - let us know what
 you see.


 On Wed, Sep 12, 2012 at 2:02 PM, Greg Morphis gmorp...@gmail.com wrote:
 
  I updated the pastebin to include my cfc file too.
 
  In the console I get:
   Arguments[2]
 
 
  demo.cfm:44 http://localhost:81/resources/demo.cfm
   why dont you freaking work demo.cfm:45
 http://localhost:81/resources/demo.cfm
 
  There's no arguments listed below arguments.
 
  I'll work on getting it online
 
 
 
  On Wed, Sep 12, 2012 at 1:50 PM, Raymond Camden raymondcam...@gmail.com
 wrote:
 
 
  Hmpth. This seems right. So dumb question. If you remove ALL the logic
  in your callback, just keep in
 
  console.dir(arguments);
 
  and maybe a
 
  console.log(why dont you freaking work);
 
  does it work correctly? Also - can you put this online? It may be a lot
  quicker.
 
  On Wed, Sep 12, 2012 at 1:45 PM, Greg Morphis gmorp...@gmail.com
 wrote:
  
   Sure thing Ray, thanks so much for helping.
  
   http://pastebin.com/2M04ZFaQ
  
   And I'm not sure if this tells you anything, Firebug gives this error:
  
   TypeError: presentation is null
   onreadystatechange()cfajax.js (line 125)
  
   $A.callback(req,_407,_408);
  
  
   On Wed, Sep 12, 2012 at 1:29 PM, Raymond Camden 
 raymondcam...@gmail.com
  wrote:
  
  
   Can you post your entire CFM again? Please use something like
 pastebin
   or gist.github.com so it is in the clear.
  
  
 
 
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352554
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


automated screen capture of web pages

2012-09-12 Thread Dave Jemison

A recent project involves removing over a thousand folders from a site and 
archiving them. There is also a requirement to create an image of each archived 
page.

Rather than manually going to each page (e.g., archived.example.com/folder1/ 
and manually take a screenshot then save it), I am hoping to find something 
more automated.

My boss suggested snagit, but I don't see how to create an automated process 
like this with it.

I suppose an option may be to loop through the folder and do a cfhttp request 
and use cfdocument to make a .pdf file of each page?

Other suggestions? 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352555
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: automated screen capture of web pages

2012-09-12 Thread .jonah

There are a bunch of webpage-thumbnail-as-a-service offerings. See if 
any one of them works for you!

On 9/12/12 12:50 PM, Dave Jemison wrote:
 A recent project involves removing over a thousand folders from a site and 
 archiving them. There is also a requirement to create an image of each 
 archived page.

 Rather than manually going to each page (e.g., archived.example.com/folder1/ 
 and manually take a screenshot then save it), I am hoping to find something 
 more automated.

 My boss suggested snagit, but I don't see how to create an automated process 
 like this with it.

 I suppose an option may be to loop through the folder and do a cfhttp request 
 and use cfdocument to make a .pdf file of each page?

 Other suggestions?

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352556
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: automated screen capture of web pages

2012-09-12 Thread John M Bliss

You can do this with:

cfdocument format=PDF src=#theurl# filename=#thefilename#


On Wed, Sep 12, 2012 at 2:50 PM, Dave Jemison djemi...@vinesse.com wrote:


 A recent project involves removing over a thousand folders from a site and
 archiving them. There is also a requirement to create an image of each
 archived page.

 Rather than manually going to each page (e.g.,
 archived.example.com/folder1/ and manually take a screenshot then save
 it), I am hoping to find something more automated.

 My boss suggested snagit, but I don't see how to create an automated
 process like this with it.

 I suppose an option may be to loop through the folder and do a cfhttp
 request and use cfdocument to make a .pdf file of each page?

 Other suggestions?

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352557
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: automated screen capture of web pages

2012-09-12 Thread Judah McAuley

Selenium supports that functionality.

http://seleniumhq.org/docs/04_webdriver_advanced.html#taking-a-screenshot

There is also a CF wrapper for Selenium called cfselenium but I have
not used it yet, so I'm not sure if it support Webdriver and
screenshots. It looks like it may only support Selenium-RC at this
point. https://github.com/bobsilverberg/CFSelenium

Cheers,
Judah

On Wed, Sep 12, 2012 at 12:50 PM, Dave Jemison djemi...@vinesse.com wrote:

 A recent project involves removing over a thousand folders from a site and 
 archiving them. There is also a requirement to create an image of each 
 archived page.

 Rather than manually going to each page (e.g., archived.example.com/folder1/ 
 and manually take a screenshot then save it), I am hoping to find something 
 more automated.

 My boss suggested snagit, but I don't see how to create an automated process 
 like this with it.

 I suppose an option may be to loop through the folder and do a cfhttp request 
 and use cfdocument to make a .pdf file of each page?

 Other suggestions?

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352558
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfajaxproxy... not defined return variable.

2012-09-12 Thread Azadi Saryev

Greg

please add type=button to your button in your onlline example to
prevent it from acting like a submit button and refreshing the page.

when i did this in chrome dev tools, i could see the return from
proxy.cfc and the arguments dump.

Azadi

On Thu, Sep 13, 2012 at 4:18 AM, Greg Morphis gmorp...@gmail.com wrote:

 Nothing, I clicked the triangle and there's a blank line.
 Here's the file, thanks!

 http://dev.fallcomm.com/demo.cfm


 On Wed, Sep 12, 2012 at 2:10 PM, Raymond Camden 
 raymondcam...@gmail.comwrote:


 Also - when you get arguments[2] in the console, there should be a
 black triangle you can click to expand it. Do that - let us know what
 you see.


 On Wed, Sep 12, 2012 at 2:02 PM, Greg Morphis gmorp...@gmail.com wrote:
 
  I updated the pastebin to include my cfc file too.
 
  In the console I get:
   Arguments[2]
 
 
  demo.cfm:44 http://localhost:81/resources/demo.cfm
   why dont you freaking work demo.cfm:45
 http://localhost:81/resources/demo.cfm
 
  There's no arguments listed below arguments.
 
  I'll work on getting it online
 
 
 
  On Wed, Sep 12, 2012 at 1:50 PM, Raymond Camden raymondcam...@gmail.com
 wrote:
 
 
  Hmpth. This seems right. So dumb question. If you remove ALL the logic
  in your callback, just keep in
 
  console.dir(arguments);
 
  and maybe a
 
  console.log(why dont you freaking work);
 
  does it work correctly? Also - can you put this online? It may be a lot
  quicker.
 
  On Wed, Sep 12, 2012 at 1:45 PM, Greg Morphis gmorp...@gmail.com
 wrote:
  
   Sure thing Ray, thanks so much for helping.
  
   http://pastebin.com/2M04ZFaQ
  
   And I'm not sure if this tells you anything, Firebug gives this error:
  
   TypeError: presentation is null
   onreadystatechange()cfajax.js (line 125)
  
   $A.callback(req,_407,_408);
  
  
   On Wed, Sep 12, 2012 at 1:29 PM, Raymond Camden 
 raymondcam...@gmail.com
  wrote:
  
  
   Can you post your entire CFM again? Please use something like
 pastebin
   or gist.github.com so it is in the clear.
  
  
 
 
 
 



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352559
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfajaxproxy... not defined return variable.

2012-09-12 Thread Greg Morphis

That's what it was.. I seem to remember running into that once before when
experimenting with cfajax.. doh!
Thanks for all of your help

On Wed, Sep 12, 2012 at 3:12 PM, Azadi Saryev azadi.sar...@gmail.comwrote:


 Greg

 please add type=button to your button in your onlline example to
 prevent it from acting like a submit button and refreshing the page.

 when i did this in chrome dev tools, i could see the return from
 proxy.cfc and the arguments dump.

 Azadi

 On Thu, Sep 13, 2012 at 4:18 AM, Greg Morphis gmorp...@gmail.com wrote:
 
  Nothing, I clicked the triangle and there's a blank line.
  Here's the file, thanks!
 
  http://dev.fallcomm.com/demo.cfm
 
 
  On Wed, Sep 12, 2012 at 2:10 PM, Raymond Camden raymondcam...@gmail.com
 wrote:
 
 
  Also - when you get arguments[2] in the console, there should be a
  black triangle you can click to expand it. Do that - let us know what
  you see.
 
 
  On Wed, Sep 12, 2012 at 2:02 PM, Greg Morphis gmorp...@gmail.com
 wrote:
  
   I updated the pastebin to include my cfc file too.
  
   In the console I get:
Arguments[2]
  
  
   demo.cfm:44 http://localhost:81/resources/demo.cfm
why dont you freaking work demo.cfm:45
  http://localhost:81/resources/demo.cfm
  
   There's no arguments listed below arguments.
  
   I'll work on getting it online
  
  
  
   On Wed, Sep 12, 2012 at 1:50 PM, Raymond Camden 
 raymondcam...@gmail.com
  wrote:
  
  
   Hmpth. This seems right. So dumb question. If you remove ALL the
 logic
   in your callback, just keep in
  
   console.dir(arguments);
  
   and maybe a
  
   console.log(why dont you freaking work);
  
   does it work correctly? Also - can you put this online? It may be a
 lot
   quicker.
  
   On Wed, Sep 12, 2012 at 1:45 PM, Greg Morphis gmorp...@gmail.com
  wrote:
   
Sure thing Ray, thanks so much for helping.
   
http://pastebin.com/2M04ZFaQ
   
And I'm not sure if this tells you anything, Firebug gives this
 error:
   
TypeError: presentation is null
onreadystatechange()cfajax.js (line 125)
   
$A.callback(req,_407,_408);
   
   
On Wed, Sep 12, 2012 at 1:29 PM, Raymond Camden 
  raymondcam...@gmail.com
   wrote:
   
   
Can you post your entire CFM again? Please use something like
  pastebin
or gist.github.com so it is in the clear.
   
   
  
  
  
  
 
 
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352560
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: automated screen capture of web pages

2012-09-12 Thread Lewis Sellers

The cfdocument option John Bliss mentioned works nicely. I just wrote a
script that nicely converted a couple websites on my dev machine into a
collection of pdfs. :)

On Wed, Sep 12, 2012 at 3:56 PM, John M Bliss bliss.j...@gmail.com wrote:


 You can do this with:

 cfdocument format=PDF src=#theurl# filename=#thefilename#





-- 
Lewis A. Sellers
cell 1 828 423 1822 (main cell, android)
cell 865-719-0928 (backup cell, always with 24/7)
865 828 4024 (other backup)
http://lewisasellers.com Blog
https://plus.google.com/u/0/106364214681900327755/posts G+ (writing
oriented)
https://www.facebook.com/pages/Lewis-A-Sellers-Author/121055864636231 FB
Page
http://www.facebook.com/lasellers FB
http://www.goodreads.com/lewisasellers
http://twitter.com/#!/lewisasellers
http://www.intrafoundation.com Software
http://www.cedargrovedesign.com Web Design
http://www.happyplacegames.com Games
http://www.communalperfection.com Programming
P.O. Box 8340 Asheville, NC 28814


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352561
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF DDos update released

2012-09-12 Thread Russ Michaels

also having to edit hundreds or possibly thousands of security sandboxes is
really not acceptable, not to mention the fact that disabling that function
will break many sites, such as those using popular frameworks.
This really isn't a very acceptable solution.


On Wed, Sep 12, 2012 at 6:26 PM, Byron Mann byronos...@gmail.com wrote:


 I have to agree that this bulletin is really lacking.

 There are organizations that just cannot do a hot-fix (DFIU), and
 the details in this bulletin give us no idea of exposure or a means to
 verify if we are at a high risk.  There have been Adobe patches in the
 past that we have waited to a regular maintenance window perform
 because there was little to no risk based on our analysis of the
 issue.

 So, is it really worth the over-time, customer frustration and such to
 apply a hot-fix, that may or may not fix an issue (because we have not
 details to verify before or after the fact).

 Based on the bulletin and lack of detail, I would err on the
 pessimistic side and fear the most.

 Byron Mann
 Lead Engineer  Architect
 HostMySite.com




 On Wed, Sep 12, 2012 at 11:32 AM, Judah McAuley ju...@wiredotter.com
 wrote:
 
  On Tue, Sep 11, 2012 at 7:48 PM,   wrote:
 
   i already read tha adobe bulletin, it doesn't really say much.
 
  I doubt you will ever see details and description about any possible
 attack.
  It would be too easy for those looking for ideas...
 
  Publication of details of an attack are pretty common. Good guys will
  typically find an attack, alert the people who are in a position to
  fix the product(s), wait for them to confirm it and start on a fix and
  then publish the details of the attack after the vulnerability patch
  has been released. The reason for this is so other researchers (and
  people wanting to protect their own systems) have an idea of the types
  of issues that a product has been vulnerable to so they can poke
  around the edges and see if there are similar issues that may have
  been missed, thereby strengthening the overall security of the
  product.  So, yes, the details are for people looking for ideas but
  that includes all the good people as well as the bad guys (tm).
  Security through obscurity isn't really security at all.
 
  cheers,
  Judah
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352562
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Embedding image to a document that is attached to an email

2012-09-12 Thread Bruce Sorge

So I have a page that every day queries a db for new voucher registrations. I 
am using CFDOCUMENT to create a PDF for the voucher, then CFMAIL to attach the 
voucher to an email. Problem is that I cannot get the companies logo image to 
appear on the PDF. I am using the folllowing code:

cfoutput query=qGetUserEmail
cfdocument format=PDF filename=Voucher.pdf overwrite=Yes

table width=900 border=0 cellspacing=1 cellpadding=1
  tr
td width=416 align=left valign=bottomimg 
src=http://www.makeaherodonations.com/Images/Logo.png/td
...

/cfdocument

cfmail blah blah blah

blah blah blah

/cfmail
/cfoutput

I also tried expandpath but that did  not work either. Any suggestions?

Bruce



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352563
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: automated screen capture of web pages

2012-09-12 Thread Dave Jemison

That's what I'm leaning towards right now. Unfortunately, the pages I've tested 
so far are pretty heavy with css and JavaScript and the resulting PDF file 
looks awful. I'm hoping the archived folders will look nicer...

The cfdocument option John Bliss mentioned works nicely. I just wrote a
script that nicely converted a couple websites on my dev machine into a
collection of pdfs. :)




 You can do this with:

 cfdocument format=PDF src=#theurl# filename=#thefilename#

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352564
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Embedding image to a document that is attached to an email

2012-09-12 Thread Russ Michaels

you should reference the image locally, e.g.

image src=images/bird.jpg


On Wed, Sep 12, 2012 at 10:09 PM, Bruce Sorge sor...@gmail.com wrote:


 So I have a page that every day queries a db for new voucher
 registrations. I am using CFDOCUMENT to create a PDF for the voucher, then
 CFMAIL to attach the voucher to an email. Problem is that I cannot get the
 companies logo image to appear on the PDF. I am using the folllowing code:

 cfoutput query=qGetUserEmail
 cfdocument format=PDF filename=Voucher.pdf overwrite=Yes

 table width=900 border=0 cellspacing=1 cellpadding=1
   tr
 td width=416 align=left valign=bottomimg src=
 http://www.makeaherodonations.com/Images/Logo.png/td
 ...

 /cfdocument

 cfmail blah blah blah

 blah blah blah

 /cfmail
 /cfoutput

 I also tried expandpath but that did  not work either. Any suggestions?

 Bruce



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352565
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfajaxproxy... not defined return variable.

2012-09-12 Thread Raymond Camden

Woot - glad you got it. Spent the last few hours helping a friend with
a broken down car so was AFK.

On Wed, Sep 12, 2012 at 3:17 PM, Greg Morphis gmorp...@gmail.com wrote:

 That's what it was.. I seem to remember running into that once before when
 experimenting with cfajax.. doh!
 Thanks for all of your help

 On Wed, Sep 12, 2012 at 3:12 PM, Azadi Saryev azadi.sar...@gmail.comwrote:


 Greg

 please add type=button to your button in your onlline example to
 prevent it from acting like a submit button and refreshing the page.

 when i did this in chrome dev tools, i could see the return from
 proxy.cfc and the arguments dump.

 Azadi

 On Thu, Sep 13, 2012 at 4:18 AM, Greg Morphis gmorp...@gmail.com wrote:
 
  Nothing, I clicked the triangle and there's a blank line.
  Here's the file, thanks!
 
  http://dev.fallcomm.com/demo.cfm
 
 
  On Wed, Sep 12, 2012 at 2:10 PM, Raymond Camden raymondcam...@gmail.com
 wrote:
 
 
  Also - when you get arguments[2] in the console, there should be a
  black triangle you can click to expand it. Do that - let us know what
  you see.
 
 
  On Wed, Sep 12, 2012 at 2:02 PM, Greg Morphis gmorp...@gmail.com
 wrote:
  
   I updated the pastebin to include my cfc file too.
  
   In the console I get:
Arguments[2]
  
  
   demo.cfm:44 http://localhost:81/resources/demo.cfm
why dont you freaking work demo.cfm:45
  http://localhost:81/resources/demo.cfm
  
   There's no arguments listed below arguments.
  
   I'll work on getting it online
  
  
  
   On Wed, Sep 12, 2012 at 1:50 PM, Raymond Camden 
 raymondcam...@gmail.com
  wrote:
  
  
   Hmpth. This seems right. So dumb question. If you remove ALL the
 logic
   in your callback, just keep in
  
   console.dir(arguments);
  
   and maybe a
  
   console.log(why dont you freaking work);
  
   does it work correctly? Also - can you put this online? It may be a
 lot
   quicker.
  
   On Wed, Sep 12, 2012 at 1:45 PM, Greg Morphis gmorp...@gmail.com
  wrote:
   
Sure thing Ray, thanks so much for helping.
   
http://pastebin.com/2M04ZFaQ
   
And I'm not sure if this tells you anything, Firebug gives this
 error:
   
TypeError: presentation is null
onreadystatechange()cfajax.js (line 125)
   
$A.callback(req,_407,_408);
   
   
On Wed, Sep 12, 2012 at 1:29 PM, Raymond Camden 
  raymondcam...@gmail.com
   wrote:
   
   
Can you post your entire CFM again? Please use something like
  pastebin
or gist.github.com so it is in the clear.
   
   
  
  
  
  
 
 
 
 



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352566
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Embedding image to a document that is attached to an email

2012-09-12 Thread Bruce Sorge

That does not work either

Bruce


On Sep 12, 2012, at 3:16 PM, Russ Michaels r...@michaels.me.uk wrote:

 
 you should reference the image locally, e.g.
 
 image src=images/bird.jpg
 
 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352567
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Embedding image to a document that is attached to an email

2012-09-12 Thread Azadi Saryev

you use proper img tag and not Russ's mysterious image one, right?

On Thu, Sep 13, 2012 at 6:52 AM, Bruce Sorge sor...@gmail.com wrote:

 That does not work either

 Bruce


 On Sep 12, 2012, at 3:16 PM, Russ Michaels r...@michaels.me.uk wrote:


 you should reference the image locally, e.g.

 image src=images/bird.jpg




 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352568
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Embedding image to a document that is attached to an email

2012-09-12 Thread Bruce Sorge

Yes I did.
On Sep 12, 2012, at 5:29 PM, Azadi Saryev azadi.sar...@gmail.com wrote:

 
 you use proper img tag and not Russ's mysterious image one, right?
 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352569
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Embedding image to a document that is attached to an email

2012-09-12 Thread .jonah

And actually make the path absolute to the app root:

img src=/images/site/logo_print.png alt=#siteName# name=logo/


On 9/12/12 2:16 PM, Russ Michaels wrote:
 you should reference the image locally, e.g.

 image src=images/bird.jpg


 On Wed, Sep 12, 2012 at 10:09 PM, Bruce Sorge sor...@gmail.com wrote:

 So I have a page that every day queries a db for new voucher
 registrations. I am using CFDOCUMENT to create a PDF for the voucher, then
 CFMAIL to attach the voucher to an email. Problem is that I cannot get the
 companies logo image to appear on the PDF. I am using the folllowing code:

 cfoutput query=qGetUserEmail
 cfdocument format=PDF filename=Voucher.pdf overwrite=Yes

  table width=900 border=0 cellspacing=1 cellpadding=1
tr
  td width=416 align=left valign=bottomimg src=
 http://www.makeaherodonations.com/Images/Logo.png/td
 ...

 /cfdocument

 cfmail blah blah blah

 blah blah blah

 /cfmail
 /cfoutput

 I also tried expandpath but that did  not work either. Any suggestions?

 Bruce




 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352570
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Embedding image to a document that is attached to an email

2012-09-12 Thread Bruce Sorge

I have done the following:

http://www.makeaherodonations.com/Images/Logo.png
C:\pathtoimage (I put the actual path but I won't put it on a public forum.
Images/Logo.png

No joy. I'll have to dig deeper into Google I guess.


On Sep 12, 2012, at 5:41 PM, .jonah jonah@creori.com wrote:

 
 And actually make the path absolute to the app root:
 
 img src=/images/site/logo_print.png alt=#siteName# name=logo/
 
 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352571
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Embedding image to a document that is attached to an email

2012-09-12 Thread Russ Michaels

haha!! I actually copied that from the CF livedocs, so it is Adobe that
made that typo :-)


On Thu, Sep 13, 2012 at 12:29 AM, Azadi Saryev azadi.sar...@gmail.comwrote:


 you use proper img tag and not Russ's mysterious image one, right?

 On Thu, Sep 13, 2012 at 6:52 AM, Bruce Sorge sor...@gmail.com wrote:
 
  That does not work either
 
  Bruce
 
 
  On Sep 12, 2012, at 3:16 PM, Russ Michaels r...@michaels.me.uk wrote:
 
 
  you should reference the image locally, e.g.
 
  image src=images/bird.jpg
 
 
 
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352572
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm