Does anyone know what this warning might be?
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at *caminho*) in *caminho* on line 2
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at *caminho*) in *caminho* on line 2
The only thing found in this line 2 of the file is:
session_start();
Thank you in advance!
As a request, posting the index.php file:
<?php
session_start();
require("require/config.php");
require(REQUIRE_PATH . "db.php");
require(CLASS_PATH . "class.login.php");
if(isset($_GET["url"]) && !empty($_GET["url"])){
$url = $_GET["url"];
if(in_array($url, $config["secure_pages"])){
$file = INCLUDE_PATH . $url . ".php";
if(file_exists($file)){
include($file);
} else{
include(INCLUDE_PATH . "home.php");
}
} else{
include(INCLUDE_PATH . "home.php");
}
} else{
include(INCLUDE_PATH . "home.php");
}
}