Copy link to clipboard
Copied
We are starting to upgrade from CF 9 to CF 11 and have run across several applications that are not loading the js files that the ColdFusion UI tags use from the /CFIDE/scripts folder. Has anyone run across this issue?
Copy link to clipboard
Copied
Which webserver are you using? Built-in? IIS? Apache?
Do you have the folder for scripts aliased? (Pgs 36, 43, and 65 of http://www.adobe.com/content/dam/Adobe/en/products/coldfusion/pdfs/cf11/cf11-lockdown-guide.pdf)
Are you sure that all files are present? (Bug#3757544 - cfpresentation, html format, loading invalid scripts)
Are you taking any measures to isolate the CFSCRIPTS folder from the public? (Changing the ColdFusion CFIDE Scripts Location)
HTH,
^_^
Copy link to clipboard
Copied
We've actually narrowed this down to the cfcontent tag. We are using it in this manner <cfcontent reset="true">. Looks like in ColdFusion 9 the buffer wasn't getting completely cleared and now it is. Anyone else seen this?
Copy link to clipboard
Copied
Never seen CFCONTENT failing to reset !
Copy link to clipboard
Copied
Here's a quick example we put together. While this is not how you would do this, it was the best way to replicate how out layout in fusebox is kind of putting it together, the cfcontent tag is in our default layout page.
<cfsavecontent variable="myvar">
<cfpod
name = "pod_test1"
title = "Google"
height = "35"
width = "300"
headerstyle="font-family: Verdana; font-size: 11px;">This is a test</cfpod>
</cfsavecontent>
<cfcontent reset="true" />
<cfoutput>#myvar#</cfoutput>
<cfpod
name = "pod_test2"
title = "Google"
height = "35"
width = "300"
headerstyle="font-family: Verdana; font-size: 11px;">This is a test</cfpod>
<cfhtmlhead text="<title>test</title>">
ColdFusion version: <cfoutput>#SERVER.ColdFusion.ProductVersion#</cfoutput>
Here's the output to the browser in CF 9, CF 10, and CF 11.
As you can see with ColdFusion 11 the cfcontent tag is removing or preventing the javascript from the cfide scripts directory from being included.
Anyone have any ideas other than no longer using the tag?
Copy link to clipboard
Copied
Chad way to go, I can confirm this problem. We have had the same problem since cf 11 came out. We also had cfcontect reset = true. Once we removed it all cflayout and cfgrids started working again.
Copy link to clipboard
Copied