session

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Arsench2000
Forum Commoner
Posts: 38
Joined: Sat Sep 15, 2007 8:18 pm

session

Post 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
User avatar
yacahuma
Forum Regular
Posts: 870
Joined: Sun Jul 01, 2007 7:11 am

Re: session

Post by yacahuma »

a single space or line before the php tag will cause this error
Arsench2000
Forum Commoner
Posts: 38
Joined: Sat Sep 15, 2007 8:18 pm

Re: session

Post 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:
User avatar
yacahuma
Forum Regular
Posts: 870
Joined: Sun Jul 01, 2007 7:11 am

Re: session

Post 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?
Post Reply