Highlighted

js files not loading from /CFIDE/scripts folder in ColdFusion 11

New Here ,
Nov 07, 2014

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?

Views

1.1K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

js files not loading from /CFIDE/scripts folder in ColdFusion 11

New Here ,
Nov 07, 2014

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?

Views

1.1K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Nov 07, 2014 0
LEGEND ,
Nov 07, 2014

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,

^_^

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 07, 2014 0
New Here ,
Nov 07, 2014

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?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 07, 2014 0
Engaged ,
Nov 10, 2014

Copy link to clipboard

Copied

Never seen CFCONTENT failing to reset !

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 10, 2014 0
New Here ,
Nov 10, 2014

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.

cf9.PNG

cf10.PNG

cf11.PNG

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?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 10, 2014 0
Community Beginner ,
Nov 12, 2014

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 12, 2014 0
Engaged ,
Nov 17, 2014

Copy link to clipboard

Copied

Could you file a bug with a test case ?

https://bugbase.adobe.com/index.cfm?event=home

Tom

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 17, 2014 0