session_start

rodrigovim
2007-05-28
2013-05-30
  • rodrigovim
    rodrigovim
    2007-05-28

    The following error message appears when start OpenBiblio:

    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at openbiblio/database_constants.php:28) in public_html/openbiblio/shared/common.php on line 65

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started public_html/openbiblio/database_constants.php:28) public_html/openbiblio/shared/common.php on line 65

    Many thanks

     
    • Micah Stetson
      Micah Stetson
      2007-05-30

      Sometimes PHP is confused by blank lines at the end of a file.  If you edit database_constants.php and remove the line that looks like this:

      ?>

      Then I think your problem may go away.

      Micah