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

Unable to add text to HTML HEAD tag.

New Here ,
Dec 14, 2012 Dec 14, 2012

Copy link to clipboard

Copied

Hi all

After migrating from CF7 to CF 10 we are getting this error "Unable to add text to HTML HEAD tag.ColdFusion was unable to add the text you specified to the output stream.  This is probably because you have already used a CFFLUSH tag in your template or buffered output is turned off. The specific sequence of files included or processed is:"

Javascript code  is available in  script.cfm page.

We are referencing the Script .cfm in admin .cfm using CFInclude and CFFLUSH is nowhere avaialable but still it throws the error.

Only thing is we are referencing the script.cfm page more than once in admin.cfm.

PLease how to get ride of this error.

Thanks in advance.

Naresh.

Views

3.9K

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 ,
Dec 14, 2012 Dec 14, 2012

Copy link to clipboard

Copied

Have you checked to see if output buffering is turned on? It's usually a good ideas if you have files sending headers in the mix.

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 Expert ,
Dec 15, 2012 Dec 15, 2012

Copy link to clipboard

Copied

LATEST

Do you use the cfhtmlhead tag? If so, what for?

If not, then you might accidentally have chosen to show debugging output. In that case, switch it off in the administrator. If you have no access to the administrator, it might help to place the following line at the top of the offending page:

<cfsetting showdebugoutput="no">

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