Problem During the Web Application Installation

Discussion in 'PHP' started by ccwoon, Nov 8, 2007.

  1. #1
    Guys,
    I a new in the php.
    Recently, i had install the apche and php 5 server to my pc.
    Then, i had install one of the web application example to the server.

    I encounter the message below when i try to browse the page,

    Warning: session_start() [function.session-start]: open(/logs/phpsession/\sess_b7944155c0c9c9755560fb5427e8ddce, O_RDWR) failed: No such file or directory (2) in C:\public_html\testing\source\test.php.inc on line 19

    * the logs/phpsession/ directory was exists in the C:\public_html\

    Can anybody tell me what is the cause and the solution for the error the above?

    thanks in advance ..
     
    ccwoon, Nov 8, 2007 IP
  2. bartolay13

    bartolay13 Active Member

    Messages:
    735
    Likes Received:
    14
    Best Answers:
    1
    Trophy Points:
    98
    #2
    hmm.. there might be a problem with your session start, follow the script where you put the session start.
     
    bartolay13, Nov 9, 2007 IP
  3. Brewster

    Brewster Active Member

    Messages:
    489
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    60
    #3
    I would guess from the following line that your session directory has not been setup correctly:

    Warning: session_start() [function.session-start]: open(/logs/phpsession/\sess_b7944155c0c9c9755560fb5427e8ddce, O_RDWR) failed: No such file or directory (2) in C:\public_html\testing\source\test.php.inc on line 19
    Code (markup):
    I would edit php.ini and remove the trailing slash from the session directory then restart php.

    Brew
     
    Brewster, Nov 9, 2007 IP