I know this has been posted before but none of the other answers worked for me. Here is my problem: I am making a login page for my website. I keep getting this error and I cant get rid of it:
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/howto570/public_html/admin/index.php:1) in /home/howto570/public_html/admin/index.php on line 6
now here is the first bit of code
<?php
$session_prefix = "henry_";
$default_title = "Admin Panel";
$folder_root = "/admin";
session_start();
require("../auth.php");
$userdata = array();
?>
Even when I slash out all the other code like so:
<?php
session_start();
//$session_prefix = "henry_";
//$default_title = "Admin Panel";
//$folder_root = "/admin";
//require("../auth.php");
//$userdata = array();
?>
I still get the error.
So im at a loss not sure what to do, you can see the site itself here: www.howtotech.ca/admin/ . I dont know what to do.