Getting this stupid error over and over with absolutely no headers being sent other than this one over and over again ( prints 5 times each time page is ran )
Cannot modify header information - headers already sent by (output started at /home/xx/public_html/xx/index.php:1) in /home/xx/public_html/xx/index.php on line 1
My index.php:
<?php header('Content-Type:text/html; charset=UTF-8');
require("load.php");?>
<!DOCTYPE HTML>
<html>
<head>
My load.php:
<?php
define("ABS_PATH", $_SERVER['DOCUMENT_ROOT']);
include_once (ABS_PATH .'/assets/x/la.php');
require(ABS_PATH ."/assets/x/go.php");
///some more variables;?>
My la.php:
<?php
session_start();
header('Cache-control: private'); // IE 6 FIX
if(isSet($_GET['lang']))
{
$lang = $_GET['lang'];
}
/// more code?>
I have no idea what's going on.
EDIT: Found the issue. There was a freaking single space after my ?>
. I removed it and voila, it is now fixed. Thanks obama