첨부파일 오류

blog/adm_write_update.php 74라인

수정 전

        if (!$is_admin && $filesize > $board[bo_upload_size])
        {
            alert("\'{$filename}\' 파일의 용량(".number_format($filesize)." 바이트)이 게시판에 설정(".number_format($board[bo_upload_size])." 바이트)된 값보다 크므로 업로드 하지 않습니다.\\n");
            continue;
        }



수정 후

        if (!$is_admin && $filesize > $gb4['upload_one_file_size'])
        {
            alert("\'{$filename}\' 파일의 용량(".number_format($filesize)." 바이트)이 게시판에 설정(".number_format($gb4['upload_one_file_size'])." 바이트)된 값보다 크므로 업로드 하지 않습니다.\\n");
            continue;
        }
|

댓글 3개

기본 설정이 db에 저장 되는 줄 알고 약간 당황했네요. -_-
Warning: move_uploaded_file(../data/blog/file/admin/2130706433_4e5eeba3_1.gif): failed to open stream: No such file or directory in d:\usr\www\blog\adm_write_update.php on line 93

Warning: move_uploaded_file(): Unable to move 'D:\usr\local\php\uploadtemp\php7.tmp' to '../data/blog/file/admin/2130706433_4e5eeba3_1.gif' in d:\usr\www\blog\adm_write_update.php on line 93

님께서 알려주신대로 하시니까 파일첨부하면 이렇게 되네요. 무슨 문제이죠? ㅜㅜ
수정했습니다. 왠 버그가 ㅠㅠ
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누4 플러그인

그누보드에는 여러가지 기능 추가가 쉽도록 제작 되었습니다. 플러그인의 저작권은 해당 플러그인 제작자님께 있으며, 그누보드의 저작권과 다를 수 있습니다. 플러그인 다운로드시 좋아요와 감사의 코멘트를 남기시면 제작자에게 큰 힘이됩니다. ^^y

+
제목 글쓴이 날짜 조회
19년 전 조회 1,605
19년 전 조회 1,423
19년 전 조회 1,254
19년 전 조회 1,232
19년 전 조회 1,191
19년 전 조회 1,363
19년 전 조회 1,402
19년 전 조회 1,507
19년 전 조회 3,664
19년 전 조회 1,396
19년 전 조회 1,980
19년 전 조회 1,208
19년 전 조회 1,291
19년 전 조회 1,720
19년 전 조회 1,400
🐛 버그신고