Results 1 to 2 of 2

Thread: masalah session_start();

  1. #1
    Join Date
    Aug 2002
    Posts
    6
    Rep Power
    0

    masalah session_start();

    masalah saya apabila nak preview php login page yang saya buat dalam DWMX keluar error ...

    Warning: session_start(): open(/tmp\sess_0fcd962338996d547e73a4edb05c3c97, O_RDWR) failed: No such file or directory (2) in D:\rekodcuti\TMP2ohzqivwc1.php on line 4

    Warning: session_start(): Cannot send session cookie - headers already sent by (output started at D:\rekodcuti\TMP2ohzqivwc1.php:4) in D:\rekodcuti\TMP2ohzqivwc1.php on line 4

    Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at D:\rekodcuti\TMP2ohzqivwc1.php:4) in D:\rekodcuti\TMP2ohzqivwc1.php on line 4

    error line 4 tu adalah session_start();

    Pada sapa sapa tahu masalah ni harap dapat menolong....
    Terima kasih

  2. #2
    Join Date
    Jul 2001
    Location
    ttdi
    Posts
    130
    Rep Power
    222
    kalau guna windows, temproray directory "/tmp" (untuk save session information) tak wujud secara default. kena create secara manual!

    buka php.ini dalam notepad (dalam C:\WINDOWS\ atau dalam PHP installation dir, not sure, sorry) cari dan edit this line:

    session.save_path = "/tmp" (something like that)

    tukar directory "/tmp" kepada Windows temporary directory atau any other directory yang dah wujud. eg:

    session.save_path = "C:\WINDOWS\Temp"

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Masalah FTP Display Tak Lengkap
    By deathrasher in forum Webmaster Tools
    Replies: 5
    Last Post: 16-06-2009, 02:43 PM
  2. masalah wordpress....
    By syedafiq in forum Website Programming
    Replies: 2
    Last Post: 07-12-2007, 12:21 PM
  3. masalah online
    By meiji in forum Website Programming
    Replies: 3
    Last Post: 28-01-2005, 08:43 PM
  4. php+sql : masalah coding
    By progmania in forum Website Programming
    Replies: 3
    Last Post: 25-08-2003, 03:46 PM
  5. Masalah Skit
    By mshahir in forum Website Programming
    Replies: 1
    Last Post: 14-03-2003, 09:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Search Engine Optimization by vBSEO 3.5.0 RC1 PL1

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32