Skip to content

Fresh-install welcome page browser title is "Wheels - Error" — _header_simple.cfm hardcodes the error-page title #3175

Description

@bpamiri

Repro

Boot any fresh 4.0.x app (verified on CommandBox + wheels-base-template 4.0.3, Lucee 7.0.4.34) and load the homepage. The congratulations/welcome page renders correctly ('Running successfully', Wheels 4.0.3) but the browser tab says Wheels - Error.

Root cause

vendor/wheels/public/views/congratulations.cfm:6 includes ../layout/_header_simple.cfm, and vendor/wheels/public/layout/_header_simple.cfm:39 hardcodes:

<title>Wheels - Error</title>

The header partial was written for the error page and reused by the welcome page without parameterizing the title. Still present on origin/develop at the same line.

Impact

The very first impression of every successful fresh install — LuCLI and CommandBox alike — is a tab titled 'Error'. Cosmetic but maximally visible.

Suggested fix

Parameterize the title (e.g. <cfparam name="pageTitle" default="Wheels"> in the partial, set pageTitle before the include in congratulations.cfm vs the error view), or default the partial title to plain 'Wheels'.

Evidence from audit journey j1-template-install, 2026-06-12.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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