SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot
    Join Date
    Sep 2002
    Posts
    180
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Understanding error messages

    Hi all,

    Can someone interpert this error message for me, i don't understand why it won't allow me to start a session...

    Warning: session_start(): Cannot send session cookie - headers already sent by (output started at E:\innovativedevelopers_net\admin\index.php(23) : eval()'d code:10) in E:\innovativedevelopers_net\admin\index.php(23) : eval()'d code on line 11

    Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at E:\innovativedevelopers_net\admin\index.php(23) : eval()'d code:10) in E:\innovativedevelopers_net\admin\index.php(23) : eval()'d code on line 11

    Thanks for your help,
    David

  2. #2
    SitePoint Zealot
    Join Date
    Nov 2002
    Location
    Belgium
    Posts
    147
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you need your session_start() to be placed above ALL other output such as html or text etc. thus mostly at the first lines of your script.

  3. #3
    SitePoint Zealot
    Join Date
    Sep 2002
    Posts
    180
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •