묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
세션을 시작하기도 전에 에러가 납니다.
2004.02.12 15:41
///// test.html ///////////////
<HTML>
<HEAD>
</HEAD>
<BODY>
<form action='test.php' method=post>
<input type=text value=okpcok name=id>
<input type=submit value=test>
</form>
</BODY>
</HTML>
////// test.php //////////////
<?
session_start();
//4096 byte 내
$user=$id;
session_register("user");
$cnt++;
session_register("cnt");
echo $cnt;
?>
///////////// 에러내용 //////////////
Warning: session_start(): open(/tmpsess_6b2cd82dbb6ad29a8a9df49dd9a3a2d1, O_RDWR) failed: No such file or directory (2) in D:autodaejintest.php on line 2
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at D:autodaejintest.php:2) in D:autodaejintest.php on line 2
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at D:autodaejintest.php:2) in D:autodaejintest.php on line 2
1
Warning: Unknown(): open(/tmpsess_6b2cd82dbb6ad29a8a9df49dd9a3a2d1, 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
test.html 에서 test.php 로 넘어가는것인데
위와 같은 에러가 납니다.
이해가 안됩니다.
어찌된것인지요...
<HTML>
<HEAD>
</HEAD>
<BODY>
<form action='test.php' method=post>
<input type=text value=okpcok name=id>
<input type=submit value=test>
</form>
</BODY>
</HTML>
////// test.php //////////////
<?
session_start();
//4096 byte 내
$user=$id;
session_register("user");
$cnt++;
session_register("cnt");
echo $cnt;
?>
///////////// 에러내용 //////////////
Warning: session_start(): open(/tmpsess_6b2cd82dbb6ad29a8a9df49dd9a3a2d1, O_RDWR) failed: No such file or directory (2) in D:autodaejintest.php on line 2
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at D:autodaejintest.php:2) in D:autodaejintest.php on line 2
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at D:autodaejintest.php:2) in D:autodaejintest.php on line 2
1
Warning: Unknown(): open(/tmpsess_6b2cd82dbb6ad29a8a9df49dd9a3a2d1, 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
test.html 에서 test.php 로 넘어가는것인데
위와 같은 에러가 납니다.
이해가 안됩니다.
어찌된것인지요...
댓글 4
-
플로렐라
2004.02.12 17:44
퍼미션이 없어서 그런게 아닐지... -
김윤희
2004.02.12 18:07
어느곳에 퍼미션을 주라는 말씀이죠? -
플로렐라
2004.02.12 18:43
.
현재 디렉토리에 쓰기가 안되는게 아닐지?
777이 제일 편합니다_-_ -
IIzNET
2004.02.12 20:30
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
세션 데이터를 저장하는 경로가 잘못지정되어 있다고 친절하게 알려주고 있습니다.