Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Linux, Apache, MySQL, PHP
  4. Cannot send session cache limiter - headers already sent

Cannot send session cache limiter - headers already sent

Scheduled Pinned Locked Moved Linux, Apache, MySQL, PHP
helpphpdatabasecomannouncement
3 Posts 3 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jassim Rahma
    wrote on last edited by
    #1

    Hi, I am getting the following error in my index.php:

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/meskholdings/meskholdings.com/jobs/index.php:1) in /home/meskholdings/meskholdings.com/jobs/index.php on line 3

    I checked my code and my session_start() is the first line. cany anyone help please... this is my index.php:

    and this is my php_header.php:

    Technology News @ www.JassimRahma.com

    S R 2 Replies Last reply
    0
    • J Jassim Rahma

      Hi, I am getting the following error in my index.php:

      Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/meskholdings/meskholdings.com/jobs/index.php:1) in /home/meskholdings/meskholdings.com/jobs/index.php on line 3

      I checked my code and my session_start() is the first line. cany anyone help please... this is my index.php:

      and this is my php_header.php:

      Technology News @ www.JassimRahma.com

      S Offline
      S Offline
      speda1
      wrote on last edited by
      #2

      Look out for any whitespace, including newlines.

      1 Reply Last reply
      0
      • J Jassim Rahma

        Hi, I am getting the following error in my index.php:

        Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/meskholdings/meskholdings.com/jobs/index.php:1) in /home/meskholdings/meskholdings.com/jobs/index.php on line 3

        I checked my code and my session_start() is the first line. cany anyone help please... this is my index.php:

        and this is my php_header.php:

        Technology News @ www.JassimRahma.com

        R Offline
        R Offline
        ribluc
        wrote on last edited by
        #3

        You can automate the cleanup with this: How to find PHP files with trailing whitespace - Jimbojw.com[^]

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups