Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-13-2010, 10:13 AM   PM User | #1
pphpnewbie
New Coder

 
Join Date: Jan 2010
Posts: 36
Thanks: 1
Thanked 0 Times in 0 Posts
pphpnewbie is an unknown quantity at this point
Warning: session_start()

I am trying out php/mysql. I not sure why this message appear -

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at D:\vhosts\toy4sales.com\subdomains\bells\httpdocs\ToySales_Add.php:81) in D:\vhosts\toy4sales.com\subdomains\bells\httpdocs\includes\restrictaccess.php on line 3

Would appreciate any help to resolve it.
Thanks in advanced.
pphpnewbie is offline   Reply With Quote
Old 01-13-2010, 10:23 AM   PM User | #2
oesxyl
Master Coder


 
Join Date: Dec 2007
Posts: 6,682
Thanks: 436
Thanked 890 Times in 879 Posts
oesxyl is a jewel in the roughoesxyl is a jewel in the roughoesxyl is a jewel in the rough
Quote:
Originally Posted by pphpnewbie View Post
I am trying out php/mysql. I not sure why this message appear -

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at D:\vhosts\toy4sales.com\subdomains\bells\httpdocs\ToySales_Add.php:81) in D:\vhosts\toy4sales.com\subdomains\bells\httpdocs\includes\restrictaccess.php on line 3

Would appreciate any help to resolve it.
Thanks in advanced.
you display, echo or print, something before session_start.

btw, how you want to help you when you don't post some code?

Edit: if don't have any output before session start, add a line with session_cache_limiter before:
http://www.php.net/manual/en/functio...he-limiter.php

best regards

Last edited by oesxyl; 01-13-2010 at 10:28 AM..
oesxyl is offline   Reply With Quote
Old 01-13-2010, 10:42 AM   PM User | #3
pphpnewbie
New Coder

 
Join Date: Jan 2010
Posts: 36
Thanks: 1
Thanked 0 Times in 0 Posts
pphpnewbie is an unknown quantity at this point
Sorry I'm still toying with the page. I move this script - restrictaccess to the top of the page and the problem gone.
Thanks.
pphpnewbie is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:28 AM.


Advertisement
Log in to turn off these ads.