Error Cannot Send Session Cache Limiter Headers Already Sent
error cannot send session cache limiter headers already sent
error, cannot, send, session, cache, limiter, headers, already, sent
Error Cannot Send Session Cache Limiter Headers Already Sent
Post Description: error cannot send session cache limiter headers already sent
POST# 1273
Posted On: Wed Apr 23, 2008 5:44 pm
bon4rjam
Topic: Error Cannot Send Session Cache Limiter Headers Already Sent
hay im tired of this, ive been breaking my head with this error all day long, i can't figure it out i really need your help, im a webune customer and ive come to a dead end i need help

this is the error im getting:

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /var/www/html/includes/header.php:1) in /var/www/index.php on line 7

what do i need to do?


Wed Apr 23, 2008 5:45 pm
1
Web Hosting Support
Reply #1943
show me the first 5 lines of your two files:

header.php and index.php
Wed Apr 23, 2008 5:50 pm
2
Web Hosting Support
Reply #1944
header.php
session_start();
#header file
include (headers.php);
#includes
include (include/function.php);
# this section is saved for the script
$start = 'log';



index.php
session_start();
include (headers.php);
$login = false;
$allowFast = true;
$printersafe = 23;
$lock_cookies= 'on';
session_start();
$if ($_get['id']){
Wed Apr 23, 2008 5:51 pm
3
Web Hosting Support
Reply #1945
there's your problem, you have session_start(); in both files

delete this line session_start(); in the index.php file
Wed Apr 23, 2008 5:51 pm
4
bon4rjam
Reply #1946
yes, thank you

that worked great, no more errors

thank your for your support.

i've been a customer for 2 years now. im very happy with your service

What do you think?

* name:  

* email:  

* Please enter comments:


Receive Replies on my Comments
(An email will be sent to you when someone replies to your comments)

Add image to comments
yes no             upload
     
  1. Error Cannot Send Session Cache Limiter Headers Already Sent