Session problems

From: John Victor (wiegeabo_at_pacbell.net)
Date: 12/26/04

  • Next message: John Victor: "Re: Session problems"
    Date: Sun, 26 Dec 2004 00:40:57 GMT
    
    

    I've built a site that uses sessions, and it was working fine. Now it's a
    couple of months later and I have to do some more work, but starting
    sessions is now bringing up errors, when before they worked fine.

    I start my page by calling session_start() as normal, but now I get the
    following errors:

    Warning: session_start(): open(/tmp\sess_310a566d44f545a2e3b5a4b152d331ca,
    O_RDWR) failed: No such file or directory (2) in
    c:\public_html\login\login.php on line 2
    Warning: session_start(): Cannot send session cookie - headers already sent
    by (output started at c:\public_html\login\login.php:2) in
    c:\public_html\login\login.php on line 2
    Warning: session_start(): Cannot send session cache limiter - headers
    already sent (output started at c:\public_html\login\login.php:2) in
    c:\public_html\login\login.php on line 2
    Cannot connect to DTL data base management system!
    Warning: Unknown(): open(/tmp\sess_310a566d44f545a2e3b5a4b152d331ca, O_RDWR)
    failed: No such file or directory (2) in Unknown on line 0
    Warning: Unknown(): Failed to write session data (files). Please verify that
    the current setting of session.save_path is correct (/tmp) in Unknown on
    line 0

    I don't belive any changes have been made to the Apache server
    configuration, nor have the versions of Apache or PHP been changed. Any
    ideas? Thanks.

    -- 
    John Victor
    

  • Next message: John Victor: "Re: Session problems"

    Relevant Pages

    • "register_globals off" and "session side-effect"
      ... Warning: Unknown(): Your script possibly relies on a session side- ... I should replace all global variables which I care ...
      (comp.lang.php)
    • SESSION error -> Your script possibly relies on a session side-effect which existed until PH
      ... Warning: Unknown(): Your script possibly relies on a session side-effect which existed until PHP 4.2.3. ... Please be advised that the session extension does not consider global variables as a source of data, ...
      (comp.lang.php)
    • Sessions
      ... Warning: Unknown(): Your script possibly relies on a session side-effect ... My version of php is version 4.3.4 ...
      (comp.lang.php)
    • Sessions
      ... Warning: Unknown(): Your script possibly relies on a session side-effect ... My version of php is version 4.3.4 ...
      (comp.lang.php)
    • sessions
      ... Warning: Unknown(): Your script possibly relies on a session side-effect ... My version of php is version 4.3.4 ...
      (alt.php)