Error Cannot Send Session Cache Limiter Headers Already Sent
Post Description: error cannot send session cache limiter headers already sent
error, cannot, send, session, cache, limiter, headers, already, sent
This Post Has Been Viewed 150 Times Since Wed Apr 23, 2008 5:44 pm Posted By bon4rjam with 4 replies
POST# 1273
Posted On: Wed Apr 23, 2008 5:44 pm
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
Related
- Error Cannot Send Session Cache Limiter Headers Already Sent