Jump to content
The Uniform Server Community
tjw

Warning: session_start()

Recommended Posts

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at W:\www\header\top.php:6) in W:\www\login\members.php on line 2

 

I keep getting this error only in uniform server. Ive used the same page on a few different web severs and no problems. does anyone have any ideals?

Share this post


Link to post
Share on other sites

Yeah, want to know what exactly happens when this occurs?

Share this post


Link to post
Share on other sites

if u haven't fixed that error then its simple to fix :blink:... all u have to to is

make sure the session_start() is before every think else including whie spaces...

<?

session_start();

blah blah blah

?>

Share this post


Link to post
Share on other sites
I keep getting this error only in uniform server. Ive used the same page on a few different web severs and no problems. does anyone have any ideals?

just a side note: uniform servers PHP is configured to show warnings. online hosters have mostly configured their PHP to not output warnings, only errors.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...