Skip to content

Session cannot be started .. Unclear / Incomplete warning message #16372

Closed
@ianwhiteley

Description

@ianwhiteley

Description

The following error message is unclear:

"PHP Warning: session_start(): Session cannot be started after headers have already been sent in /home/website/public_html/session.inc on line 419"

LINE 419 >> session_start ();

THE PROBLEM
The warning does not identify the line and file that the headers were first sent. Debugging this error has proved fruitless.

THE SOLUTION
Indicate where first Headers were already sent, file and line number.

PHP Version

PHP 8

Operating System

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions