Warning: copy(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in... 원인이 뭔가요

Warning: copy(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in... 원인이 뭔가요

QA

Warning: copy(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in... 원인이 뭔가요

본문

https://e-dk.co.kr/bbs/board.php?bo_table=awards1

 

Warning: copy(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /host/home1/edk/html/theme/dk/lib/thumbnail2.lib.php on line 26

Warning: copy(http://e-dk.co.kr/data/file/awards1/no-image.png): failed to open stream: no suitable wrapper could be found in /host/home1/edk/html/theme/dk/lib/thumbnail2.lib.php on line 26
no image

 

 

일단 FTP 들어가보니 말한 폴더에 이미지가 사라져서 자료를 일일이 찾아 넣어보려고 합니다..

폴더 안에 이미지 파일 손대지도 않았는데 도대체 어디간건지....ㅠ

 

일단 원인은 무엇일까요?...

이 질문에 댓글 쓰기 :

답변 2

php 설정에 보면 allow_url_fopen 가 1 으로 설정 되야해요~ 

혹시나 호스팅 사용한다면 거기 서버측 문의해서 allow_url_fopen 를 오픈 해달라고 요청해보세요

이게 보안에 관련 있다보니 보통 0으로 하거든요 

근데 copy 함수 쓰는데 allow_url_fopen랑 왜 있는지 모르겠네요 

소스코드 내부를 확인해야하는데~ 

 

ini_set("allow_url_fopen", 'On');

이렇게 하는 방법도 있긴한데 안될경우 서버측으로 문의를 해야되요 

답변 감사드립니다!!

답변을 작성하시기 전에 로그인 해주세요.
전체 16,792
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT