Hi New to PHP and got a probs

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kachchhkunvar
    New Member
    • Oct 2006
    • 1

    Hi New to PHP and got a probs

    Hi All,

    I m new to PHP and when I loaded my site on local machine gives me error...

    Warning: session_start() [function.sessio n-start]: open(/tmp\sess_478fb7 5ec741f8032b9d4 15973a2409b, O_RDWR) failed: No such file or directory (2) in C:\web\www.hous eofbargains.com \includes\funct ions\sessions.p hp on line 67

    Warning: session_start() [function.sessio n-start]: Cannot send session cookie - headers already sent by (output started at C:\web\www.hous eofbargains.com \includes\funct ions\sessions.p hp:67) in C:\web\www.hous eofbargains.com \includes\funct ions\sessions.p hp on line 67

    Warning: session_start() [function.sessio n-start]: Cannot send session cache limiter - headers already sent (output started at C:\web\www.hous eofbargains.com \includes\funct ions\sessions.p hp:67) in C:\web\www.hous eofbargains.com \includes\funct ions\sessions.p hp on line 67
    Warning: I am able to write to the configuration file: C:/web/www.houseofbarg ains.com/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.
    Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created.





    CAN ANYBODY PLEASE TELL ME WHTS WRONG WITH CODES/FILES.....


    THANKS
    PR@VIN
  • JustPHP
    New Member
    • Oct 2006
    • 1

    #2
    Have a look at line 67 of sessions.php there a file or directory name there that the script cannot find (might be miss spelt). Also need to check that yu have permission to access the file or folder.

    Comment

    Working...