Skip to main content
Participant
December 15, 2012
Question

Unable to add text to HTML HEAD tag.

  • December 15, 2012
  • 2 replies
  • 4156 views

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.

This topic has been closed for replies.

2 replies

BKBK
Community Expert
Community Expert
December 15, 2012

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">

ehr_aaron
Participating Frequently
December 15, 2012

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.