Page 1 of 1

session

Posted: Sat Nov 08, 2008 8:29 pm
by Arsench2000
Hello can you help me please to resolve the problem with session.After logging in, in the member area appears this error

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/ginerlli/public_html/member.php:1) in /home/ginerlli/public_html/member.php on line 1

the code is

Code: Select all

<?php session_start();?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> ...etc
any advice please?

Thank you and best regards

Re: session

Posted: Sat Nov 08, 2008 9:07 pm
by yacahuma
a single space or line before the php tag will cause this error

Re: session

Posted: Sun Nov 09, 2008 5:36 am
by Arsench2000
yacahuma wrote:a single space or line before the php tag will cause this error
Thanks, the problem is , that Ive removed all spaces and cant resolve after that :banghead:

Re: session

Posted: Sun Nov 09, 2008 10:34 am
by yacahuma
and you are not including any other libraries on top of the session star?
Can you post the whole file or a link to download the file?