테스트 사이트 - 개발 중인 베타 버전입니다

도와주세요.. 채택완료

방문객광고 11년 전 조회 5,224
파일등록 하면 에러가 발생 합니다.
php5.3 으로 서버 업데이트 요청 이후 이런 현상이 나타납니다.
 
에러나는곳:
 
에러내용:
Warning: imagecreatefromstring(): Data is not in a recognized format in /home/addpangc/public_html/addpang/lib/thumb.lib.php on line 381

Warning: imagejpeg() expects parameter 1 to be resource, boolean given in /home/addpangc/public_html/addpang/lib/thumb.lib.php on line 481
 
 
lib/thumb.lib.php on line 381 라인.
 $target = imagecreatefromstring($tmp_image_str);
381.jpg
 
 
lib/thumb.lib.php on line 481 라인
imagejpeg($target, $thumb_file, 100);   // jpeg
481.jpg
 
 
어떻게 소스를 수정 해야 에러가 나지 안을까요..
부탁 드립니다.
 
댓글을 작성하려면 로그인이 필요합니다.

답변 2개

채택된 답변
+20 포인트
11년 전
thumb.lib.php를 최근 불당썸으로 바꾸시면 됩니다.
 
로그인 후 평가할 수 있습니다

답변에 대한 댓글 2개

방문객광고
11년 전
불당썸 최신것으로 바꾸었더니..
Warning: imagecreatefromstring(): Data is not in a recognized format in /home/addpangc/public_html/addpang/lib/thumb.lib.php on line 398

Warning: imagejpeg() expects parameter 1 to be resource, boolean given in /home/addpangc/public_html/addpang/lib/thumb.lib.php on line 498

Warning: imagecreatefromstring(): Data is not in a recognized format in /home/addpangc/public_html/addpang/lib/thumb.lib.php on line 398

Warning: imagejpeg() expects parameter 1 to be resource, boolean given in /home/addpangc/public_html/addpang/lib/thumb.lib.php on line 498

Warning: imagecreatefromstring(): Data is not in a recognized format in /home/addpangc/public_html/addpang/lib/thumb.lib.php on line 398

Warning: imagejpeg() expects parameter 1 to be resource, boolean given in /home/addpangc/public_html/addpang/lib/thumb.lib.php on line 498

,,,,,,,,,,,,,,,,,,,,
방문객광고
11년 전
불당썸 - 2.0.29 로 변경 하였더니 맞지를 안내요..심한 에러 발생..
현재 2.0.27 로 변경하니 아래와 같은 에러가 발생 됩니다.
Warning: imagecreatefromstring(): Data is not in a recognized format in /home/addpangc/public_html/addpang/lib/thumb.lib.php on line 398

Warning: imagejpeg() expects parameter 1 to be resource, boolean given in /home/addpangc/public_html/addpang/lib/thumb.lib.php on line 498

댓글을 작성하려면 로그인이 필요합니다.

다른 스킨으ㅗ 대체 해서 해결 했내요..
맞을꺼야님.. 답변은 감사 드립니다.
로그인 후 평가할 수 있습니다

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인