Fri Feb 29, 2008 12:01 pm - Help: Error Warning: Session_start(): Cannot Send Session Cache Limiter
#1159
Help: Error Warning: Session_start(): Cannot Send Session Cache Limiter
Hi,
I am getting the following error evey time I pull up my webpages
Error Warning: session_start(): Cannot send session cache limiter - headers already sent
Whats going on?
author: john607
Share
Share this post by copy and paste this URL and put it on your forums or use it on your profile like myspace, friendster, Facebook, Twitter or others and add in with your comments.
Use this HTML code to embed this topic, just copy the code from the "Embed" box. Once you've copied the code, just paste it into your website or blog to embed it.
BBCODE is use on forums. You can put this code on all your BBCODE enabled forums like PhpBB, vBulletin® and others. Just Copy and Paste this code on with Posts and Replies on your forums
Thu Jul 20, 2006 1:15 pm - Re: Help: Error Warning: Session_start(): Cannot Send Session Cache Limiter
#1555
webune support
Can you please provide a copy of your code. Particularly the first 25 lines of code
Thanks
Thu Jul 20, 2006 1:20 pm - Re: Help: Error Warning: Session_start(): Cannot Send Session Cache Limiter
#1556
john607
This are the first lines of code in my index.php file
Code:
<?php
########################
# DEFAULT PAGE
########################
if ($pager==""){$pager=135;}
This is the code from my index.php file
########################
# DEFAULT category
########################
if ($category==""){$category=11;}
session_start();
include("system/config.php");
include("databse/dbx.php");
include("includesfiles/functions.php");
include("system/common.php");
include("secured/ip_trck.php");
include("secured/ip_blk.php");
Thu Jul 20, 2006 1:22 pm - Re: Help: Error Warning: Session_start(): Cannot Send Session Cache Limiter
#1557
webune support
We found your problem.
You need to delete the first line right before "<?php" on line 2.
You CANNOT send anything to the browser before the headers. In this case your seesion() function. To fix this error, just delete line 1 entirely.
Thu Jul 20, 2006 1:26 pm - Re: Help: Error Warning: Session_start(): Cannot Send Session Cache Limiter
#1558
john607
:lol: IT WORKED!!!! :lol:
Thanks guys!
I removed the first line before the <?php and it worked great. I am not getting that annoying error anymore. I dont know what happened, my script was working fine, and all of the sudden it stop working and giving me this error message. I must have pressed returned before the <?php. I learned something new today.
Many Thanks for your support Webune!!!
Thu May 17, 2007 7:21 pm - Re: Help: Error Warning: Session_start(): Cannot Send Session Cache Limiter
#1559
makali
you should always put session_start(); at the very begining of your code. sometimes if you put it after any other command, you will get this error. so its best that you session_start() right after you start your php. session_start() should be your fist command in your code. try that.
Sat May 24, 2008 5:14 pm - Re: Help: Error Warning: Session_start(): Cannot Send Session Cache Limiter
#1560
Mary
I have been working on adding a login script to my website, but I keep getting this error message, and don't know what to do:
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/skaladze/public_html/ge/menu/bible in /home/skaladze/public_html/ge/menu/bible on line 1
Thu May 15, 2008 9:25 am - Re: Help: Error Warning: Session_start(): Cannot Send Session Cache Limiter
#1561
alex
PLEASE HELP! I am getting the following on my webpage and login is being denied too:
Warning: session_start() [function.session-start]: open(/tmp/sess_37df5aa9c11e29d0a4f3cb698 O_RDWR) failed: Permission denied (13) in /home/nigeria/public_html/index.php on line 2
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/nigeria/public_html/index.php:2) in /home/nigeria/public_html/index.php on line 2
Warning: Unknown: open(/tmp/sess_37df5aa9c11e29d0a4f3cb698 O_RDWR) failed: Permission denied (13) in Unknown on line 0
Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0
Tue Apr 22, 2008 9:48 am - Re: Help: Error Warning: Session_start(): Cannot Send Session Cache Limiter
#1562
tencho
The weard thing is that once you create a code that work and after that when you creating sommething else with the same code - it does not work, even on the same server.... I am talking about the sessin_start() function...By the way this topics help me a lot, but i steel don understand why sommetimes it work an dsommetimes you need to put the function in the very beginig...Any way...THANK YOU!
Tue Apr 22, 2008 12:27 pm - Re: Help: Error Warning: Session_start(): Cannot Send Session Cache Limiter
#1563
Web Hosting Support
that's the beauty about apache web server, its very flexible. you can configure it to your liking. some linux administrators configure their servers differently, there are many option you have with apache, some servers are more secured than others, it all depends what you are using your dedicated server for. its up to you how you want to configure it.
Sat May 17, 2008 7:15 am - Re: Help: Error Warning: Session_start(): Cannot Send Session Cache Limiter
#1564
alex
thank you for your help, i got it now. i was able to fix it, you were right
Wed Jul 23, 2008 4:26 pm - Re: Help: Error Warning: Session_start(): Cannot Send Session Cache Limiter
#1565
sunny
I was getting the session_start() problem. All I had to do was to eliminate the space before "php-opening" session_start() "php-close" . When I introduced the space before the "php-opening" session_start() "php-close", the warning came back. How wierd. Is is due to a bug?