Page 1 of 1

Problem header saratoga

Posted: Mon 18 Jan 2021 5:32 pm
by pekkie
i am having a problem on the site header do you know how to fix this problem thanks in advance.



Warning: Cannot modify header information - headers already sent by (output started at /home/mhd-01/www.meteobrianza.net/htdocs/top.php:140) in /home/mhd-01/www.meteobrianza.net/htdocs/AW-forecast.php on line 1065

Re: Problem header saratoga

Posted: Mon 18 Jan 2021 6:04 pm
by saratogaWX
Hi,
You do have some updates to do ( http://www.meteobrianza.net/check-fetch ... w=versions ).

In the page(s) where you have include("AW-forecast.php"); do you also have

Code: Select all

$doIncludeAW = true;
include_once("AW-forecast.php");
The reason for the error message is the script is trying to emit a header() and it shouldn't be doing that, which leads me to suspect that the include mode was not set before calling the script.

Re: Problem header saratoga

Posted: Tue 19 Jan 2021 12:47 am
by pekkie
Thank you so much I solved everything!