Bonjour j'ai cette erreur :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
<br />
<b>Warning</b>:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /homez.145/corsevill/www/loc.php:1) in <b>/homez.145/corsevill/www/loc.php</b> on line <b>2</b><br />
Mon code se trouve en debut de page :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
 
<?php
session_start();
if(empty($_SESSION["enreg"])) { header("Location: session.php"); }
if(isset($_SESSION["ok"])) { header("Location:locmod.php"); }
$annonce=($_SESSION['id_annonce]);
?>