워닝 에러 해결하는 방법 문의드립니다

매출이 오르면 내리는 수수료! 지금 수수료센터에서 전자결제(PG)수수료 비교견적 신청해 보세요!
워닝 에러 해결하는 방법 문의드립니다

QA

워닝 에러 해결하는 방법 문의드립니다

본문

서브페이지에서 아래와 같이 4개의 오류글이 나오고 있는데, 이 부분을 해결하려면 어떻게 해야할까요?

답변 해주시면 정말 감사하겠습니다 ~!!

 

에러 아래는 head.sub.seo.php 오류 부분 소스입니다. (굵은 글씨 47번 줄)

 

Warning: Use of undefined constant file - assumed 'file' (this will throw an Error in a future version of PHP) in /WEB/echocg/html/theme/basic/head.sub.SEO.php on line 47

Warning: Use of undefined constant path - assumed 'path' (this will throw an Error in a future version of PHP) in /WEB/echocg/html/theme/basic/head.sub.SEO.php on line 47

Warning: Use of undefined constant file - assumed 'file' (this will throw an Error in a future version of PHP) in /WEB/echocg/html/theme/basic/head.sub.SEO.php on line 47

Warning: Use of undefined constant file - assumed 'file' (this will throw an Error in a future version of PHP) in /WEB/echocg/html/theme/basic/head.sub.SEO.php on line 47

 

 

==========================================================

 

head.sub.seo.php 47번 줄

 


// [데이터추출] 게시판 데이터 추출
if ($bo_table) {
    $sql_seo_board = " select * from {$g5['write_prefix']}{$bo_table}  ";
        if ($wr_id) {
            $sql_seo_board .= " where wr_id='{$wr_id}' ";
        }
    $result_seo_board = sql_query($sql_seo_board);
    $row_seo_board = sql_fetch_array($result_seo_board);

    $desc_board1 = str_replace(" "," ",$row_seo_board['wr_content']);
    $desc_board1 = strip_tags($desc_board1); // 긴문장
    $desc_board2 = cut_str($desc_board1,150); // 150자
 
 include_once(G5_LIB_PATH.'/thumbnail.lib.php');
 $thumb = get_list_thumbnail($bo_table, $wr_id, $seo_thumb_width, $seo_thumb_height);
 //$thumb['src'] 정의를 않하면 상단에 >">" 의 에러문구가 나옴
 $thumb['src'] = $list[$i][file][0][path].'/'.$list[$i][file][0][file];
 //끝
 if($thumb['src']) {
        $seo_thumb_url = $thumb['src'];
    } else {
        $seo_thumb_url = G5_DATA_URL.'/common/seo_img.jpg">';
    }
}

 

 

 

이 질문에 댓글 쓰기 :

답변을 작성하시기 전에 로그인 해주세요.
전체 0
QA 내용 검색
  • 개별 목록 구성 제목 답변작성자조회작성일
  • 질문이 없습니다.

회원로그인

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