Skip to content

Guides page fails on Adobe ColdFusion with ‘Unable to add text to HTML HEAD tag’ error #2569

@zainforbjs

Description

@zainforbjs

Describe the bug
When running a Wheels application on Adobe ColdFusion and navigating to the Guides page, the following error is thrown:

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.

As a result, the Guides page does not render.

To Reproduce
Steps to reproduce the behavior:

  1. Run a Wheels application using Adobe ColdFusion.
  2. Navigate to the Guides page.
  3. Observe the error shown above.

Expected behavior
The Guides page should render successfully on Adobe ColdFusion without throwing errors related to adding content to the HTML <head>.

Screenshots
Image

Desktop:

  • OS: Any
  • CFML Engine: Adobe ColdFusion

Additional context
This error usually occurs in Adobe ColdFusion when code attempts to add content to the after output has already started. Possible causes include:

  • Output being generated before contentFor("head") or similar helpers are called
  • Use of cfflush
  • Response buffering differences between Lucee and Adobe ColdFusion

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions