Re: ColdFusion 9 cflayout ajax errors

2011-03-28 Thread Dave Watts

  What does Firebug tell you?

 I use the Chrome console, but I ran it in FF w/ firebug as well and get the 
 same '404' response:

 GET http://machineaddresshere.asu.edu/test/selectpage.cfm?
 _cf_containerId=selectpage_cf_nodebug=true_cf_nocache=true_cf_clientid=
 EE835B64871E4BDA8BF645C28C2EC7EF_cf_rc=0 404 (Not Found)

Is selectpage.cfm in a directory called test? Is that the same
directory used above for the page that refers to selectpage.cfm?

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:343334
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion 9 cflayout ajax errors

2011-03-28 Thread Jeff Carpenter

And if you copy that response link, can you browse it the browse. My bet you
can't.


I'm not sure if some of your post was cut off,  but specifying source= will 
result in the expected source not found error.   Browsing directly to the 
'selectpage.cfm' url will return the page fine with no errors.  
If I start taking off part of the CF generated ajax URL until it succeeds or 
fails, I get the following:
This will fail:
http://machinename.asu.edu/test/selectpage.cfm?_cf_containerId=selectpage

This will succeed (of course): http://machinename.asu.edu/test/selectpage.cfm

The 'NET' tab in firebug indeed provides more info than Chrome, 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:343343
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion 9 cflayout ajax errors

2011-03-28 Thread Jeff Carpenter

 Is selectpage.cfm in a directory called test? Is that the same
 directory used above for the page that refers to selectpage.cfm?

Yes on both counts.  I can browse selectpage.cfm directly no problems.  Also, I 
should mention that the server is running the latest CHF 9.0.1 

~|
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:343344
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: ColdFusion 9 cflayout ajax errors

2011-03-28 Thread Andrew Scott

I am not sure if this is related to your problem or not, but I did discover
some changes to ColdFusion 9 and the ajaxproxy that ColdFusion uses for this
stuff.

It might be a long shot.

http://www.andyscott.id.au/2010/12/13/Problems-with-CFAjaxProxy-and-migratin
g-over-to-ColdFusion-9-what-you-need-to-know


Regards,
Andrew Scott
http://www.andyscott.id.au/




~|
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:343345
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion 9 cflayout ajax errors

2011-03-28 Thread Jeff Carpenter

I found the error, which was due to server-side config and IIS 7 security 
settings. In the move from IIS 6 to IIS 7 on a new server, the server admin did 
not correctly copy the SQL Injection exception terms from the previous config.  
So, II 7 then denied certain keywords in the query string which had the only 
'symptom' of a 404. Thanks for your help. 

~|
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:343354
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion 9 cflayout ajax errors

2011-03-27 Thread Dave Watts

 We are upgrading from CF 8 Ent to 9 Ent - the following example runs fine on 
 CF 8, but once in CF 9 it fails with
 Error retreiving markup for selected element.. not found, the page returns 
 a 404. Here's the interesting part - as
 soon as I remove the source= argument in cflayoutarea, the error goes away. 
 It only happens when I specify a
 source.  Does anyone have any suggestion on what might be going on?  The 
 basic stuff already set:

 * selectpage.cfm exists and is valid and is is same directory.
 * CFIDE is in a virtual directory


 cfajaximport  
 tags=cfform,cfwindow,cfdiv,cflayout-tab,cfmenu,cflayout-border /

 cfoutput

 !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN 
 http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;
 html

 head
 meta http-equiv=Content-Type content=text/html; charset=UTF-8
 titleTest Title/title
 /head

 body

 cflayout type=vbox

 cflayoutarea  overflow=hidden name=selectpage source=selectpage.cfm  /

                cflayoutarea size=25 name=layoutbottom
    Here is the layout bottom
                /cflayoutarea

 /cflayout

 /body
 /html

 /cfoutput

Are you also using CFAJAXIMPORT in selectpage.cfm?

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 cent

~|
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:343322
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion 9 cflayout ajax errors

2011-03-27 Thread Dave Watts

 We are upgrading from CF 8 Ent to 9 Ent - the following example runs fine on 
 CF 8, but once in CF 9 it fails with
 Error retreiving markup for selected element.. not found, the page returns 
 a 404. Here's the interesting part - as
 soon as I remove the source= argument in cflayoutarea, the error goes away. 
 It only happens when I specify a
 source.  Does anyone have any suggestion on what might be going on?  The 
 basic stuff already set:

 * selectpage.cfm exists and is valid and is is same directory.
 * CFIDE is in a virtual directory

Also, have you tested access to /CFIDE and its contents in a browser?

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 onsit

~|
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:343323
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion 9 cflayout ajax errors

2011-03-27 Thread Jeff Carpenter

Dave, Yes, I can access CFIDE / CF admin fine.  Imported the cfajax tags as 
well on selectpage.cfm but still see the error.  Thanks

  We are upgrading from CF 8 Ent to 9 Ent - the following example runs 
 fine on CF 8, but once in CF 9 it fails with
  Error retreiving markup for selected element.. not found, the page 
 returns a 404. Here's the interesting part - as
  soon as I remove the source= argument in cflayoutarea, the error 
 goes away. It only happens when I specify a
  source.  Does anyone have any suggestion on what might be going on? 
  The basic stuff already set:
 
  * selectpage.cfm exists and is valid and is is same directory.
  * CFIDE is in a virtual directory
 
 
  cfajaximport  tags=cfform,cfwindow,cfdiv,cflayout-tab,cfmenu,
 cflayout-border /
 
  cfoutput
 
  !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.
 w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
  html
 
  head
  meta http-equiv=Content-Type content=text/html; charset=UTF-8
  titleTest Title/title
  /head
 
  body
 
  cflayout type=vbox
 
  cflayoutarea  overflow=hidden name=selectpage 
 source=selectpage.cfm  /
 
                 cflayoutarea size=25 name=layoutbottom
     Here is the layout bottom
                 /cflayoutarea
 
  /cflayout
 
  /body
  /html
 
  /cfoutput
 
 Are you also using CFAJAXIMPORT in selectpage.cfm?
 
 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 
cent

~|
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:343325
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion 9 cflayout ajax errors

2011-03-27 Thread Dave Watts

 Dave, Yes, I can access CFIDE / CF admin fine.  Imported the cfajax tags as 
 well on selectpage.cfm but still see the error.  Thanks

What does Firebug tell you?

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 onsit

~|
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:343328
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion 9 cflayout ajax errors

2011-03-27 Thread Jeff Carpenter

 What does Firebug tell you?

I use the Chrome console, but I ran it in FF w/ firebug as well and get the 
same '404' response:  

GET 
http://machineaddresshere.asu.edu/test/selectpage.cfm?_cf_containerId=selectpage_cf_nodebug=true_cf_nocache=true_cf_clientid=EE835B64871E4BDA8BF645C28C2EC7EF_cf_rc=0
 404 (Not Found) 

Thanks for the 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:343331
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: ColdFusion 9 cflayout ajax errors

2011-03-27 Thread Andrew Scott

And if you copy that response link, can you browse it the browse. My bet you
can't.

Just so you know the source attribute is just a way of saying where to find
the file via the url, in other words if this file is not in the root of the
url. Then you need to provide the URL path so the Ajax component ColdFusion
can hit the url to retrieve the data.

So in recapping the source= must also be reachable if you just type this
information into the browser URL.

Hope that makes sense.

I have tried this here on ColdFusion 9.01 and it works as expected, the only
thing I changed was the source= to point to a file in my application to
load from.

The NET option of firebug can give you a lot more data and information and
what might be going wrong, whereas the chrome version doesn't have this
option. So when you find that a file is not loading Chrome firebug is
missing the required functionality to help you even further.

I would first try loading the file via the URL in your browser, as you would
expect it to be reached. And then compare that with what firebug in firefox
is telling you in the NET tab, and you should be able to track the problem
very quickly.

Regards,
Andrew Scott
http://www.andyscott.id.au/



 -Original Message-
 From: Jeff Carpenter [mailto:jeff.carpen...@asu.edu]
 Sent: Monday, 28 March 2011 3:15 PM
 To: cf-talk
 Subject: Re: ColdFusion 9 cflayout ajax errors
 
 
  What does Firebug tell you?
 
 I use the Chrome console, but I ran it in FF w/ firebug as well and get
the
 same '404' response:
 
 GET
 http://machineaddresshere.asu.edu/test/selectpage.cfm?_cf_containerId=
 selectpage_cf_nodebug=true_cf_nocache=true_cf_clientid=EE835B648
 71E4BDA8BF645C28C2EC7EF_cf_rc=0 404 (Not Found)
 
 Thanks for the 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:343331
 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
 Unsubscribe: http://www.houseoffusion.com/groups/cf-
 talk/unsubscribe.cfm


~|
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:343332
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion 9 cflayout ajax errors

2011-03-26 Thread Russ Michaels

perhaps it is looking for the file in the wrong location, trying specifying
the path relative to the website root and see if that works.



On Sat, Mar 26, 2011 at 2:10 AM, Jeffrey Carpenter
jeff.carpen...@asu.eduwrote:


 We are upgrading from CF 8 Ent to 9 Ent - the following example runs fine
 on CF 8, but once in CF 9 it fails with Error retreiving markup for
 selected element.. not found, the page returns a 404. Here's the
 interesting part - as soon as I remove the source= argument in
 cflayoutarea, the error goes away. It only happens when I specify a source.
  Does anyone have any suggestion on what might be going on?  The basic stuff
 already set:

 * selectpage.cfm exists and is valid and is is same directory.
 * CFIDE is in a virtual directory


 cfajaximport
  tags=cfform,cfwindow,cfdiv,cflayout-tab,cfmenu,cflayout-border /

 cfoutput

 !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN 
 http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;
 html

 head
 meta http-equiv=Content-Type content=text/html; charset=UTF-8
 titleTest Title/title
 /head

 body

 cflayout type=vbox

 cflayoutarea  overflow=hidden name=selectpage source=selectpage.cfm
  /

cflayoutarea size=25 name=layoutbottom
Here is the layout bottom
/cflayoutarea

 /cflayout

 /body
 /html

 /cfoutput



 Jeff Carpenter
 Computing Manager, Engineering Technical Services
 Ira A. Fulton School of Engineering at Arizona State University
 Tempe, AZ 85287-5206
 (480) 965-2459 voice
 (480) 965-7938 fax



 

~|
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:343298
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion 9 cflayout ajax errors

2011-03-26 Thread Jeff Carpenter

Thanks, Yes, we already tried that.  It should pickup the file location from 
the default current directory search. This app was working fine in CF8.  I 
think it is some sort of server configuration problem, I just don't see what it 
could be. 

perhaps it is looking for the file in the wrong location, trying specifying
the path relative to the website root and see if that works.



On Sat, Mar 26, 2011 at 2:10 AM, Jeffrey Carpenter
jeff.carpen...@asu.eduwrote:

 

~|
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:343301
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


ColdFusion 9 cflayout ajax errors

2011-03-25 Thread Jeffrey Carpenter

We are upgrading from CF 8 Ent to 9 Ent - the following example runs fine on CF 
8, but once in CF 9 it fails with Error retreiving markup for selected 
element.. not found, the page returns a 404. Here's the interesting part - as 
soon as I remove the source= argument in cflayoutarea, the error goes away. 
It only happens when I specify a source.  Does anyone have any suggestion on 
what might be going on?  The basic stuff already set:

* selectpage.cfm exists and is valid and is is same directory.
* CFIDE is in a virtual directory


cfajaximport  tags=cfform,cfwindow,cfdiv,cflayout-tab,cfmenu,cflayout-border 
/

cfoutput

!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN 
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;
html

head
meta http-equiv=Content-Type content=text/html; charset=UTF-8
titleTest Title/title
/head

body

cflayout type=vbox

cflayoutarea  overflow=hidden name=selectpage source=selectpage.cfm  /

cflayoutarea size=25 name=layoutbottom
Here is the layout bottom
/cflayoutarea

/cflayout

/body
/html

/cfoutput



Jeff Carpenter
Computing Manager, Engineering Technical Services
Ira A. Fulton School of Engineering at Arizona State University
Tempe, AZ 85287-5206
(480) 965-2459 voice
(480) 965-7938 fax



~|
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:343297
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm