Author Topic: PHP Warning: ini_set(): Headers already sent.  (Read 354 times)

Offline gummi007

  • Newbie
  • *
  • Posts: 2
PHP Warning: ini_set(): Headers already sent.
« on: November 02, 2021, 04:59:00 AM »
So I have docker-compose that runs roundcube and a postgres db. Then on my host machine I have a nginx that serves the page. Everything works fine until some russian ip starts probing the site and I start getting the error:
[error] 3631#3631: *277 FastCGI sent in stderr: "PHP message: PHP Warning:  ini_set(): Headers already sent. You cannot change the session module's ini settings at this time in /var/www/html/program/lib/Roundcube/rcube.php.
Then it repeats itself for some other lines and other files.

Is there some misconfiguration in my roundcube or nginx? Because after this "attack" when I try to login to my roundcube it just says "Invalid input no data saved" and some token, username and password get printed on the site.

Best Regards, hopeful for solution

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,691
    • http://SKaero.com/
Re: PHP Warning: ini_set(): Headers already sent.
« Reply #1 on: November 02, 2021, 09:58:06 AM »
It sounds like there is a problem with your configuration but you'd need to post the error messages before anyone could help with the problem.