• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

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

New Here ,
Nov 07, 2014 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.4K

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
community guidelines
LEGEND ,
Nov 07, 2014 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,

^_^

Votes

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
community guidelines
New Here ,
Nov 07, 2014 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?

Votes

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
community guidelines
Engaged ,
Nov 10, 2014 Nov 10, 2014

Copy link to clipboard

Copied

Never seen CFCONTENT failing to reset !

Votes

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
community guidelines
New Here ,
Nov 10, 2014 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?

Votes

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
community guidelines
Community Beginner ,
Nov 12, 2014 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.

Votes

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
community guidelines
Engaged ,
Nov 17, 2014 Nov 17, 2014

Copy link to clipboard

Copied

LATEST

Could you file a bug with a test case ?

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

Tom

Votes

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
community guidelines
Resources
Documentation