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. PHP Header() error

PHP Header() error

Scheduled Pinned Locked Moved Linux, Apache, MySQL, PHP
phpdatabasehelpannouncement
4 Posts 3 Posters 0 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.
  • S Offline
    S Offline
    Samiullah
    wrote on last edited by
    #1

    Hi, As i am developing a small CRUD(create,read,update,delete) application. In this application the following errors persists. Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\WishList\index.php:3) in C:\xampp\htdocs\WishList\index.php on line 12 Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\WishList\index.php:3) in C:\xampp\htdocs\WishList\index.php on line 14 Can anyone provide solution for this one.

    F M 2 Replies Last reply
    0
    • S Samiullah

      Hi, As i am developing a small CRUD(create,read,update,delete) application. In this application the following errors persists. Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\WishList\index.php:3) in C:\xampp\htdocs\WishList\index.php on line 12 Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\WishList\index.php:3) in C:\xampp\htdocs\WishList\index.php on line 14 Can anyone provide solution for this one.

      F Offline
      F Offline
      fly904
      wrote on last edited by
      #2

      session_start() needs to be the first thing called on a page; you can't have anything before it. Have a read of this.[^]

      If at first you don't succeed, you're not Chuck Norris.

      1 Reply Last reply
      0
      • S Samiullah

        Hi, As i am developing a small CRUD(create,read,update,delete) application. In this application the following errors persists. Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\WishList\index.php:3) in C:\xampp\htdocs\WishList\index.php on line 12 Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\WishList\index.php:3) in C:\xampp\htdocs\WishList\index.php on line 14 Can anyone provide solution for this one.

        M Offline
        M Offline
        Marc Firth
        wrote on last edited by
        #3

        you can't print any text to the screen before calling session_start()

        Neonlight

        S 1 Reply Last reply
        0
        • M Marc Firth

          you can't print any text to the screen before calling session_start()

          Neonlight

          S Offline
          S Offline
          Samiullah
          wrote on last edited by
          #4

          Ok. Thanks for your responses.

          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