Skip to content

PHP Warning: Cannot modify header information - headers already sent #73

@hans-mayer

Description

@hans-mayer

Dear All,

I installed waf-fle 0.6.4 on Debian 10 with Apache 2.4.38, php 7.3.19 and MySQL 8.0.20
When I open my Browser Chrome I see some empty areas in the HOME tab. But when I click on "EVENTS" I get an error "HTTP/1.1 500 Internal Server Error". In Apache error log there is

PHP Warning: Cannot modify header information - headers already sent by (output started at /usr/local/waf-fle_0.6.4/header.php:74) in /usr/local/waf-fle_0.6.4/functions.php on line 1536, referer: http://xxxxxxxxx/waf-fle/index.php

Nothing happens when I click on "FILTER".
MANAGEMENT shows Sensors, Users and Info. But when I try to edit a sensor I get this error 500 too. The error log in Apache is slightly different:

PHP Warning: Cannot modify header information - headers already sent by (output started at /usr/local/waf-fle_0.6.4/header.php:74) in /usr/local/waf-fle_0.6.4/functions.php on line 2503, referer: http://xxxxxxxxx/waf-fle/management.php?s&edit&sensor=1

But it includes always this "Cannot modify header information - headers already sent"

As I run waf-fle successfully more than 2 year on a different Debian server ( which does not exists anymore ) with Apache 2.4.10 and PHP 5.6.13 I thought it's maybe an issue of PHP 7. So I installed within a Docker container Apache 2.4.10 with PHP 5.6.40, because I couldn't find a container with the same PHP version. But with this combination I run into exactly the same issues.

Any ideas what to do ?

Kind regards
Hans

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions