갑자기 Warning: move_uploaded_file 메시지와 함께 파일 첨부 에러가 뜹니다. 도와주세요 -_-
한창 바쁠시기인데 정말 난감하게 오류가 생겼습니다. 도와주세요;;
일단 코드는 수정한곳이 없습니다. 서버쪽에서 별도로 홈페이지쪽에 수정한곳이 없다고 하구요
글쓰기는 되는데 파일 업로드만 에러가 발생합니다. (data 쪽 폴더 권한은 777)입니다.
[파일 첨부하고 글쓸경우 - > 발생 에러코드]
-------------------------------------------------------------------------------------------
Warning: move_uploaded_file(../data/file/information01/1935646331_9d6d7f34_Interop.MSExchangeLib.dll) [function.move-uploaded-file]: failed to open stream: No such file or directory in /export/home/nursing/www/gnu/bbs/write_update.php on line 194
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/var/tmp/php0JaWzZ' to '../data/file/information01/1935646331_9d6d7f34_Interop.MSExchangeLib.dll' in /export/home/nursing/www/gnu/bbs/write_update.php on line 194
--------------------------------------------------------------------------------------------
data 쪽 폴더 권한은 777이구요,
혹시 몰라서 간단한 업로드 소스코드를 돌려봤는데 첨부가 됬습니다.
[upload.htm]
-------------------------------------------------------------------------------
<form method="post" enctype="multipart/form-data" action="upload.php">
<input name="up" type="file" /><input type="submit" value="OK" />
</form>
--------------------------------------------------------------------------------
[upload.php]
--------------------------------------------------------------------------------
<?php
error_reporting(E_ALL);
echo '<xmp>';
echo '* Upload Info'."\n";
print_r($_FILES);
move_uploaded_file($_FILES['up']['tmp_name'],'./upload/'.$_FILES['up']['name']);
echo '* Upload File(s)'."\n";
$dh = opendir('./upload/');
while ( ($read=readdir($dh))!==false )
{
if ( $read[0]=='.' ) continue;
echo $read."\n";
}
closedir($dh);
echo '</xmp>';
?>
-----------------------------------------------------------------------------------------
그누보드 게시판만 파일 첨부가 안되는데 원인을 알 수가 없네요 ;;;
원인은 둘째 치고 수정을 해야하는데 위소스를 그누보드에 적용이 가능할까요??
일단 코드는 수정한곳이 없습니다. 서버쪽에서 별도로 홈페이지쪽에 수정한곳이 없다고 하구요
글쓰기는 되는데 파일 업로드만 에러가 발생합니다. (data 쪽 폴더 권한은 777)입니다.
[파일 첨부하고 글쓸경우 - > 발생 에러코드]
-------------------------------------------------------------------------------------------
Warning: move_uploaded_file(../data/file/information01/1935646331_9d6d7f34_Interop.MSExchangeLib.dll) [function.move-uploaded-file]: failed to open stream: No such file or directory in /export/home/nursing/www/gnu/bbs/write_update.php on line 194
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/var/tmp/php0JaWzZ' to '../data/file/information01/1935646331_9d6d7f34_Interop.MSExchangeLib.dll' in /export/home/nursing/www/gnu/bbs/write_update.php on line 194
--------------------------------------------------------------------------------------------
data 쪽 폴더 권한은 777이구요,
혹시 몰라서 간단한 업로드 소스코드를 돌려봤는데 첨부가 됬습니다.
[upload.htm]
-------------------------------------------------------------------------------
<form method="post" enctype="multipart/form-data" action="upload.php">
<input name="up" type="file" /><input type="submit" value="OK" />
</form>
--------------------------------------------------------------------------------
[upload.php]
--------------------------------------------------------------------------------
<?php
error_reporting(E_ALL);
echo '<xmp>';
echo '* Upload Info'."\n";
print_r($_FILES);
move_uploaded_file($_FILES['up']['tmp_name'],'./upload/'.$_FILES['up']['name']);
echo '* Upload File(s)'."\n";
$dh = opendir('./upload/');
while ( ($read=readdir($dh))!==false )
{
if ( $read[0]=='.' ) continue;
echo $read."\n";
}
closedir($dh);
echo '</xmp>';
?>
-----------------------------------------------------------------------------------------
그누보드 게시판만 파일 첨부가 안되는데 원인을 알 수가 없네요 ;;;
원인은 둘째 치고 수정을 해야하는데 위소스를 그누보드에 적용이 가능할까요??
댓글 1개
14년 전
전에 용량이 꽉 차서 비슷한 증상이 생겼던 적이 있는데... 혹시 모르니까 그쪽도 함 체크해보세요;;
게시판 목록
그누4 질문답변
그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.
기존 게시물은 열람만 가능합니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 66474 | 11년 전 | 3617 | ||
| 66473 | 11년 전 | 2669 | ||
| 66472 | 11년 전 | 4860 | ||
| 66471 |
hoonii
|
11년 전 | 4435 | |
| 66470 | 11년 전 | 2249 | ||
| 66469 | 11년 전 | 3104 | ||
| 66468 |
100볼트
|
11년 전 | 3096 | |
| 66467 |
몬스터박스
|
11년 전 | 2112 | |
| 66466 |
몬스터박스
|
11년 전 | 2657 | |
| 66465 |
lsj9894
|
11년 전 | 2438 | |
| 66464 |
테크노관리자
|
11년 전 | 2847 | |
| 66463 | 11년 전 | 2875 | ||
| 66462 |
커네드커네드
|
11년 전 | 3227 | |
| 66461 | 11년 전 | 2641 | ||
| 66460 | 11년 전 | 3309 | ||
| 66459 |
narasarang
|
11년 전 | 2603 | |
| 66458 |
AnnieK
|
11년 전 | 3366 | |
| 66457 | 11년 전 | 3232 | ||
| 66456 | 11년 전 | 2084 | ||
| 66455 | 11년 전 | 3257 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기