Jump to content

Cannot send session cache limiter...


PaulRyan

Recommended Posts

I've looked at this a bazillion times and cannot for the life of me see anything wrong with it. It's really starting to annoy me...

 

Error:

Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\*\index.php:1)

*Pathname Hidden

 

index.php - top

<?PHP session_start();

  include('includes/config.php');

  if(isSet($_SESSION['is_logged'])) {
    $loggedUser = mysql_query("SELECT `firstname`,`lastname`,`flag`,`account_type`,`id` FROM `accounts` WHERE `id` = {$_SESSION['is_logged']}");
    $user = mysql_fetch_assoc($loggedUser);
  }

  if(!isSet($_SESSION['is_logged']) && isSet($_GET['ref'])) {
    $_SESSION['referrer'] = intval($_GET['ref']);
  }
?>

Link to comment
https://forums.phpfreaks.com/topic/244760-cannot-send-session-cache-limiter/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.