https://eond.com/xemarket/461285?search_keyword=%EB%A7%88%EC%9D%B4%EB%A1%9C%EA%B7%B8&search_target=title_content
voiceits.net님 카톡으로 이슈 알려주심
comment.html <pre> @php // exit($document_srl); // $output = CommentModel::getCommentList($this->document_srl, $cpage); // if(!$output->toBool() || !count($output->data)) return; // var_dump($oDocument->getCommentcount()); //$oDocument = DocumentModel::getDocument($document_srl); //$oComment = CommentModel::getCommentList($document_srl); echo $document_srl; $oCommentModel = getModel('comment'); $commentItemList = $oCommentModel->getCommentList($document_srl); var_dump($commentItemList); // if($oDocument->getComments()===NULL){ // return; // } // var_dump($oDocument->getComments()); // $comments = $oDocument->getComments(); // if ($comments !== null) { // exit(var_dump($comments)); // } else { // exit('No comments found.'); // } @endphp </pre>
데이터베이스 확인해본 결과, 코멘트 존재하고, 코멘트 자체 데이터베이스도 이상 없음.
특이하게 해당 글만 해당 동작이 안됨.
원인 파악 안됨.
/modules/comment/comment.model.php:512 exit($oDocument->getCommentCount());
한단락씩 체크해본바 위 구문에서 에러가 발생함
1. comment.html
$oDocument->getComments()
2. modules/document/document.item.php:972 getComment() 함수
$output = CommentModel::getCommentList($this->document_srl, $cpage);
3. modules/comment/comment.model.php:495
getCommentList 516라인에서 오류 발생
$document_comment_count = $oDocument->getCommentCount(); if($document_comment_count < 1) { return; }
comment.model.php:514
exit(var_dump($oDocument)); // return if no comment exists $document_comment_count = $oDocument->getCommentCount(); if($document_comment_count < 1) { return; }
1. 일반 게시판
object(DocumentItem)#456 (14) { ["error"]=> int(0) ["message"]=> string(7) "success" ["variables"]=> array(43) { ["document_srl"]=> int(473843) ["module_srl"]=> int(118290) ["category_srl"]=> int(165261) ["is_notice"]=> string(1) "N" ["title"]=> string(15) "xe마켓 오류" ["title_bold"]=> string(1) "N" ["title_color"]=> string(1) "N" ["content"]=> string(316) "
" ["readed_count"]=> int(0) ["voted_count"]=> int(0) ["comment_count"]=> int(3) ["trackback_count"]=> int(0) ["uploaded_count"]=> int(0) ["password"]=> NULL ["user_id"]=> string(4) "eond" ["user_name"]=> string(9) "이온디" ["nick_name"]=> string(9) "이온디" ["member_srl"]=> int(4) ["email_address"]=> string(13) "eond@eond.com" ["homepage"]=> string(0) "" ["tags"]=> string(0) "" ["extra_vars"]=> string(19) "O:8:"stdClass":0:{}" ["regdate"]=> string(14) "20250219095344" ["last_update"]=> string(14) "20250219174130" ["last_updater"]=> string(9) "이온디" ["ipaddress"]=> string(14) "182.209.233.26" ["list_order"]=> int(-473843) ["update_order"]=> int(-473880) ["allow_trackback"]=> string(1) "N" ["notify_message"]=> string(1) "N" ["blamed_count"]=> int(0) ["lang_code"]=> string(2) "ko" ["reward_point"]=> int(0) ["reward_srl"]=> int(0) ["status"]=> string(6) "PUBLIC" ["comment_status"]=> string(5) "ALLOW" ["spam_score"]=> NULL ["spam_type"]=> NULL ["spam_config_exception_word"]=> NULL ["map_latitude"]=> NULL ["map_longitude"]=> NULL ["apparent_module_srl"]=> int(118290) ["origin_module_srl"]=> int(118290) } ["httpStatusCode"]=> int(200) ["document_srl"]=> int(473843) ["lang_code"]=> string(2) "ko" ["grant_cache"]=> bool(true) ["allow_trackback_status"]=> NULL ["comment_page_navigation"]=> NULL ["columnList"]=> array(0) { } ["allowscriptaccessList"]=> array(0) { } ["allowscriptaccessKey"]=> int(0) ["uploadedFiles"]=> array(0) { } ["extra_eids":protected]=> array(0) { } }
2. 콘텐츠 모듈
object(DocumentItem)#906 (30) { ["error"]=> int(0) ["message"]=> string(7) "success" ["variables"]=> array(23) { ["document_srl"]=> int(461285) ["module_srl"]=> int(363909) ["member_srl"]=> int(4) ["category_srl"]=> int(363914) ["sale_point"]=> int(0) ["sale_profit"]=> NULL ["purchase_count"]=> int(14) ["title"]=> string(60) "라이믹스 마이로그 스킨 - 인스타그램 스타일" ["copyright_srl"]=> NULL ["closed"]=> string(0) "" ["sale"]=> NULL ["anonymous"]=> string(0) "" ["adult"]=> string(0) "" ["preview"]=> string(0) "" ["capacity"]=> int(23431) ["extension"]=> string(0) "" ["sale_period_start_date"]=> NULL ["sale_period_end_date"]=> NULL ["category"]=> NULL ["regdate"]=> string(14) "20240329103434" ["apparent_module_srl"]=> int(363909) ["origin_module_srl"]=> int(363909) ["title_color"]=> string(0) "" } ["httpStatusCode"]=> int(200) ["document_srl"]=> int(461285) ["lang_code"]=> NULL ["grant_cache"]=> bool(true) ["allow_trackback_status"]=> NULL ["comment_page_navigation"]=> NULL ["columnList"]=> array(0) { } ["allowscriptaccessList"]=> array(0) { } ["allowscriptaccessKey"]=> int(0) ["uploadedFiles"]=> array(0) { } ["extra_eids":protected]=> array(14) { ["category"]=> object(Rhymix\Modules\Extravar\Models\Value)#521 (18) { ["module_srl"]=> int(363909) ["idx"]=> int(1) ["eid"]=> string(8) "category" ["input_id"]=> string(0) "" ["input_name"]=> string(0) "" ["parent_type"]=> string(8) "document" ["type"]=> string(8) "checkbox" ["value"]=> string(12) "모듈스킨" ["name"]=> string(18) "상품카테고리" ["desc"]=> string(0) "" ["default"]=> string(127) "패키지,레이아웃 ,모바일레이아웃,모듈 ,모듈스킨 ,애드온,위젯 ,위젯스킨,위젯스타일스킨,기타" ["options"]=> NULL ["is_required"]=> string(1) "Y" ["is_strict"]=> string(1) "N" ["is_disabled"]=> string(1) "N" ["is_readonly"]=> string(1) "N" ["search"]=> string(1) "Y" ["style"]=> NULL } ["status"]=> object(Rhymix\Modules\Extravar\Models\Value)#522 (18) { ["module_srl"]=> int(363909) ["idx"]=> int(2) ["eid"]=> string(6) "status" ["input_id"]=> string(0) "" ["input_name"]=> string(0) "" ["parent_type"]=> string(8) "document" ["type"]=> string(5) "radio" ["value"]=> string(9) "판매중" ["name"]=> string(6) "상태" ["desc"]=> string(0) "" ["default"]=> string(58) "준비중,판매중,일시중단,판매종료,제품소개" ["options"]=> NULL ["is_required"]=> string(1) "Y" ["is_strict"]=> string(1) "N" ["is_disabled"]=> string(1) "N" ["is_readonly"]=> string(1) "N" ["search"]=> string(1) "Y" ["style"]=> NULL } ["summary"]=> object(Rhymix\Modules\Extravar\Models\Value)#523 (18) { ["module_srl"]=> int(363909) ["idx"]=> int(3) ["eid"]=> string(7) "summary" ["input_id"]=> string(0) "" ["input_name"]=> string(0) "" ["parent_type"]=> string(8) "document" ["type"]=> string(4) "text" ["value"]=> string(152) "마이로그는 회원정보 보기 화면을 SNS처럼 꾸며줍니다. 이 스킨은 인스타그램 스타일의 회원정보 보기 스킨입니다." ["name"]=> string(6) "소개" ["desc"]=> string(73) "목록에 표시될 상품 소개입니다. 간단히 입력해주세요." ["default"]=> string(0) "" ["options"]=> NULL ["is_required"]=> string(1) "Y" ["is_strict"]=> string(1) "N" ["is_disabled"]=> string(1) "N" ["is_readonly"]=> string(1) "N" ["search"]=> string(1) "Y" ["style"]=> NULL } ["dir"]=> object(Rhymix\Modules\Extravar\Models\Value)#524 (18) { ["module_srl"]=> int(363909) ["idx"]=> int(4) ["eid"]=> string(3) "dir" ["input_id"]=> string(0) "" ["input_name"]=> string(0) "" ["parent_type"]=> string(8) "document" ["type"]=> string(4) "text" ["value"]=> string(36) "./modules/elkhabook/skins/eondmylog/" ["name"]=> string(12) "설치경로" ["desc"]=> string(0) "" ["default"]=> string(0) "" ["options"]=> NULL ["is_required"]=> string(1) "Y" ["is_strict"]=> string(1) "N" ["is_disabled"]=> string(1) "N" ["is_readonly"]=> string(1) "N" ["search"]=> string(1) "Y" ["style"]=> NULL } ["ver"]=> object(Rhymix\Modules\Extravar\Models\Value)#525 (18) { ["module_srl"]=> int(363909) ["idx"]=> int(5) ["eid"]=> string(3) "ver" ["input_id"]=> string(0) "" ["input_name"]=> string(0) "" ["parent_type"]=> string(8) "document" ["type"]=> string(4) "text" ["value"]=> string(3) "0.1" ["name"]=> string(6) "버전" ["desc"]=> string(0) "" ["default"]=> NULL ["options"]=> NULL ["is_required"]=> string(1) "Y" ["is_strict"]=> string(1) "N" ["is_disabled"]=> string(1) "N" ["is_readonly"]=> string(1) "N" ["search"]=> string(1) "N" ["style"]=> NULL } ["license"]=> object(Rhymix\Modules\Extravar\Models\Value)#526 (18) { ["module_srl"]=> int(363909) ["idx"]=> int(6) ["eid"]=> string(7) "license" ["input_id"]=> string(0) "" ["input_name"]=> string(0) "" ["parent_type"]=> string(8) "document" ["type"]=> string(8) "checkbox" ["value"]=> string(6) "GPL v2" ["name"]=> string(12) "라이센스" ["desc"]=> string(0) "" ["default"]=> string(52) "LGPL, GPL v2, LGPL v3 ,MIT License, GPL, 기타, XPM" ["options"]=> NULL ["is_required"]=> string(1) "Y" ["is_strict"]=> string(1) "N" ["is_disabled"]=> string(1) "N" ["is_readonly"]=> string(1) "N" ["search"]=> string(1) "N" ["style"]=> NULL } ["core"]=> object(Rhymix\Modules\Extravar\Models\Value)#527 (18) { ["module_srl"]=> int(363909) ["idx"]=> int(7) ["eid"]=> string(4) "core" ["input_id"]=> string(0) "" ["input_name"]=> string(0) "" ["parent_type"]=> string(8) "document" ["type"]=> string(8) "checkbox" ["value"]=> string(2) "RX" ["name"]=> string(12) "지원환경" ["desc"]=> string(0) "" ["default"]=> string(7) "XE1, RX" ["options"]=> NULL ["is_required"]=> string(1) "N" ["is_strict"]=> string(1) "N" ["is_disabled"]=> string(1) "N" ["is_readonly"]=> string(1) "N" ["search"]=> string(1) "Y" ["style"]=> NULL } ["developer"]=> object(Rhymix\Modules\Extravar\Models\Value)#528 (18) { ["module_srl"]=> int(363909) ["idx"]=> int(8) ["eid"]=> string(9) "developer" ["input_id"]=> string(0) "" ["input_name"]=> string(0) "" ["parent_type"]=> string(8) "document" ["type"]=> string(4) "text" ["value"]=> string(9) "이온디" ["name"]=> string(9) "개발자" ["desc"]=> string(0) "" ["default"]=> string(0) "" ["options"]=> NULL ["is_required"]=> string(1) "N" ["is_strict"]=> string(1) "N" ["is_disabled"]=> string(1) "N" ["is_readonly"]=> string(1) "N" ["search"]=> string(1) "Y" ["style"]=> NULL } ["store_link"]=> object(Rhymix\Modules\Extravar\Models\Value)#529 (18) { ["module_srl"]=> int(363909) ["idx"]=> int(9) ["eid"]=> string(10) "store_link" ["input_id"]=> string(0) "" ["input_name"]=> string(0) "" ["parent_type"]=> string(8) "document" ["type"]=> string(8) "homepage" ["value"]=> NULL ["name"]=> string(16) "구매 페이지" ["desc"]=> string(53) "구매 페이지가 있을 경우 입력해주세요." ["default"]=> NULL ["options"]=> NULL ["is_required"]=> string(1) "N" ["is_strict"]=> string(1) "N" ["is_disabled"]=> string(1) "N" ["is_readonly"]=> string(1) "N" ["search"]=> string(1) "N" ["style"]=> NULL } ["preview"]=> object(Rhymix\Modules\Extravar\Models\Value)#530 (18) { ["module_srl"]=> int(363909) ["idx"]=> int(10) ["eid"]=> string(7) "preview" ["input_id"]=> string(0) "" ["input_name"]=> string(0) "" ["parent_type"]=> string(8) "document" ["type"]=> string(8) "homepage" ["value"]=> NULL ["name"]=> string(12) "미리보기" ["desc"]=> string(84) "상품을 미리볼 수 있는 데모 페이지가 있을 경우 입력해주세요." ["default"]=> NULL ["options"]=> NULL ["is_required"]=> string(1) "N" ["is_strict"]=> string(1) "N" ["is_disabled"]=> string(1) "N" ["is_readonly"]=> string(1) "N" ["search"]=> string(1) "N" ["style"]=> NULL } ["component"]=> object(Rhymix\Modules\Extravar\Models\Value)#531 (18) { ["module_srl"]=> int(363909) ["idx"]=> int(11) ["eid"]=> string(9) "component" ["input_id"]=> string(0) "" ["input_name"]=> string(0) "" ["parent_type"]=> string(8) "document" ["type"]=> string(8) "textarea" ["value"]=> NULL ["name"]=> string(9) "구성품" ["desc"]=> string(197) "테마/패키지 상품이거나 본품 이외에 다른 상품이 함께 제공되는 경우 입력해주세요. 기본 구성품(무상제공)이 아닌 경우 추가금액을 표기해주세요." ["default"]=> NULL ["options"]=> NULL ["is_required"]=> string(1) "N" ["is_strict"]=> string(1) "N" ["is_disabled"]=> string(1) "N" ["is_readonly"]=> string(1) "N" ["search"]=> string(1) "N" ["style"]=> NULL } ["contact"]=> object(Rhymix\Modules\Extravar\Models\Value)#532 (18) { ["module_srl"]=> int(363909) ["idx"]=> int(12) ["eid"]=> string(7) "contact" ["input_id"]=> string(0) "" ["input_name"]=> string(0) "" ["parent_type"]=> string(8) "document" ["type"]=> string(8) "textarea" ["value"]=> NULL ["name"]=> string(6) "문의" ["desc"]=> string(120) "구매문의, 기술지원 문의 등을 할 수 있는 연락 방법, 문의시 유의사항 등을 입력해주세요." ["default"]=> NULL ["options"]=> NULL ["is_required"]=> string(1) "N" ["is_strict"]=> string(1) "N" ["is_disabled"]=> string(1) "N" ["is_readonly"]=> string(1) "N" ["search"]=> string(1) "N" ["style"]=> NULL } ["label"]=> object(Rhymix\Modules\Extravar\Models\Value)#533 (18) { ["module_srl"]=> int(363909) ["idx"]=> int(13) ["eid"]=> string(5) "label" ["input_id"]=> string(0) "" ["input_name"]=> string(0) "" ["parent_type"]=> string(8) "document" ["type"]=> string(8) "checkbox" ["value"]=> NULL ["name"]=> string(6) "라벨" ["desc"]=> string(0) "" ["default"]=> string(9) "best,must" ["options"]=> NULL ["is_required"]=> string(1) "N" ["is_strict"]=> string(1) "N" ["is_disabled"]=> string(1) "N" ["is_readonly"]=> string(1) "N" ["search"]=> string(1) "N" ["style"]=> NULL } ["ourl"]=> object(Rhymix\Modules\Extravar\Models\Value)#534 (18) { ["module_srl"]=> int(363909) ["idx"]=> int(14) ["eid"]=> string(4) "ourl" ["input_id"]=> string(0) "" ["input_name"]=> string(0) "" ["parent_type"]=> string(8) "document" ["type"]=> string(8) "homepage" ["value"]=> NULL ["name"]=> string(9) "외부URL" ["desc"]=> string(0) "" ["default"]=> NULL ["options"]=> NULL ["is_required"]=> string(1) "N" ["is_strict"]=> string(1) "N" ["is_disabled"]=> string(1) "N" ["is_readonly"]=> string(1) "N" ["search"]=> string(1) "N" ["style"]=> NULL } } ["filesize"]=> int(23431) ["file_size"]=> string(7) "22.88KB" ["purchase_count"]=> int(14) ["sale_point"]=> string(59) "무료" ["nick_name"]=> string(9) "이온디" ["purchase"]=> bool(true) ["grade_main"]=> array(2) { [1]=> string(3) "5.0" [2]=> string(24) "5.0점 / 총 1명 참여" } ["closed"]=> string(0) "" ["anonymous"]=> string(0) "" ["preview"]=> string(0) "" ["sale"]=> NULL ["sale_period_start_date"]=> NULL ["sale_period_end_date"]=> NULL ["title"]=> string(60) "라이믹스 마이로그 스킨 - 인스타그램 스타일" ["titleM"]=> string(60) "라이믹스 마이로그 스킨 - 인스타그램 스타일" ["thumbnail"]=> string(56) "/files/thumbnails/285/461/250x250.ratio.jpg?t=1739952187" }
$oDocument->getComments() 함수를 살펴보면,
CommentModel::getCommentList($this->document_srl, $cpage); 여기서 못 불러오는거 같다.
1. modules/contents/skins/ec_imin/form/file/comment.html
$oDocument->getComments() 오류 발생
2. modules/document/document.item.php - getComments() 함수에서
코멘트 모델 참조하고 있음
3. modules/comment/comment.model.php - getCommentList() 함수를 보면,
$document_comment_count = $oDocument->getCommentCount(); 참조하고 있음.
4. modules/document/document.item.php -> getCommentCount()
function getCommentCount()
{
return $this->get('comment_count');
}
작업하면서 확인해보니해당 게시판의 특정 게시물만 그렇네요. @_@?;....댓글 자체의 문제가 아니고 해당 게시물에 뭔가가 DB 쿼리를 방해하고 있는게 아닌가 싶네요.감사합니다.
1번 : 오류 안남. (데이터 없다고 나옴. 댓글 있는데도;)
{@ $output = CommentModel::getCommentList($document_srl, $cpage); if($output==null): return; endif; }
2번 : 오류남
{@ $output = $oDocument->getComments(); if($output==null): return; endif; }
2번에서 오류나는건 $oDocument->getComments() 함수 사용 자체가 위 과정에서 막혀서 그런거 같고.
1번에서도 댓글 데이터가 있는데 없다고 나오는건 이상하네요
1일 전
2일 전
4일 전
노코딩툴은 역설적이게...
03.08
여러분들은 라이믹스 X...
설치형 스레드
03.02
해외 디자이너들의 프...
03.11
아임웹 이미지, 파일은...
03.16
common.php에서 실행되는 쿼리문 select count(0) as cnt from happy_auto_jump where aj_hour <= '".date("... 3일 전
SELECT a.*, (SELECT COUNT(0) FROM happy_coupon WHERE a.seq = happy_coupon.hi_seq) AS coupon FROM happ... 4일 전
1. _2024/partners/manage.php 위 파일에서 form[name='autojumpfrm'] 폼에서 자동점프 시간 설정하기를 오... 4일 전
다행입니다 :) 5일 전
와! 나와요! 나옵니다!! 고맙습니다! 정말 고맙습니다!! 5일 전
이온디에서 실시간으로 많이 검색된 검색어 순위
표준
코드
comment.html <pre> @php // exit($document_srl); // $output = CommentModel::getCommentList($this->document_srl, $cpage); // if(!$output->toBool() || !count($output->data)) return; // var_dump($oDocument->getCommentcount()); //$oDocument = DocumentModel::getDocument($document_srl); //$oComment = CommentModel::getCommentList($document_srl); echo $document_srl; $oCommentModel = getModel('comment'); $commentItemList = $oCommentModel->getCommentList($document_srl); var_dump($commentItemList); // if($oDocument->getComments()===NULL){ // return; // } // var_dump($oDocument->getComments()); // $comments = $oDocument->getComments(); // if ($comments !== null) { // exit(var_dump($comments)); // } else { // exit('No comments found.'); // } @endphp </pre>
데이터베이스 확인해본 결과, 코멘트 존재하고, 코멘트 자체 데이터베이스도 이상 없음.
특이하게 해당 글만 해당 동작이 안됨.
원인 파악 안됨.
/modules/comment/comment.model.php:512 exit($oDocument->getCommentCount());
한단락씩 체크해본바 위 구문에서 에러가 발생함
1. comment.html
$oDocument->getComments()
2. modules/document/document.item.php:972 getComment() 함수
$output = CommentModel::getCommentList($this->document_srl, $cpage);
3. modules/comment/comment.model.php:495
getCommentList 516라인에서 오류 발생
$document_comment_count = $oDocument->getCommentCount(); if($document_comment_count < 1) { return; }
comment.model.php:514
exit(var_dump($oDocument)); // return if no comment exists $document_comment_count = $oDocument->getCommentCount(); if($document_comment_count < 1) { return; }
1. 일반 게시판
object(DocumentItem)#456 (14) { ["error"]=> int(0) ["message"]=> string(7) "success" ["variables"]=> array(43) { ["document_srl"]=> int(473843) ["module_srl"]=> int(118290) ["category_srl"]=> int(165261) ["is_notice"]=> string(1) "N" ["title"]=> string(15) "xe마켓 오류" ["title_bold"]=> string(1) "N" ["title_color"]=> string(1) "N" ["content"]=> string(316) "
https://eond.com/xemarket/461285?search_keyword=%EB%A7%88%EC%9D%B4%EB%A1%9C%EA%B7%B8&search_target=title_content
voiceits.net님 카톡으로 이슈 알려주심
" ["readed_count"]=> int(0) ["voted_count"]=> int(0) ["comment_count"]=> int(3) ["trackback_count"]=> int(0) ["uploaded_count"]=> int(0) ["password"]=> NULL ["user_id"]=> string(4) "eond" ["user_name"]=> string(9) "이온디" ["nick_name"]=> string(9) "이온디" ["member_srl"]=> int(4) ["email_address"]=> string(13) "eond@eond.com" ["homepage"]=> string(0) "" ["tags"]=> string(0) "" ["extra_vars"]=> string(19) "O:8:"stdClass":0:{}" ["regdate"]=> string(14) "20250219095344" ["last_update"]=> string(14) "20250219174130" ["last_updater"]=> string(9) "이온디" ["ipaddress"]=> string(14) "182.209.233.26" ["list_order"]=> int(-473843) ["update_order"]=> int(-473880) ["allow_trackback"]=> string(1) "N" ["notify_message"]=> string(1) "N" ["blamed_count"]=> int(0) ["lang_code"]=> string(2) "ko" ["reward_point"]=> int(0) ["reward_srl"]=> int(0) ["status"]=> string(6) "PUBLIC" ["comment_status"]=> string(5) "ALLOW" ["spam_score"]=> NULL ["spam_type"]=> NULL ["spam_config_exception_word"]=> NULL ["map_latitude"]=> NULL ["map_longitude"]=> NULL ["apparent_module_srl"]=> int(118290) ["origin_module_srl"]=> int(118290) } ["httpStatusCode"]=> int(200) ["document_srl"]=> int(473843) ["lang_code"]=> string(2) "ko" ["grant_cache"]=> bool(true) ["allow_trackback_status"]=> NULL ["comment_page_navigation"]=> NULL ["columnList"]=> array(0) { } ["allowscriptaccessList"]=> array(0) { } ["allowscriptaccessKey"]=> int(0) ["uploadedFiles"]=> array(0) { } ["extra_eids":protected]=> array(0) { } }
2. 콘텐츠 모듈
object(DocumentItem)#906 (30) { ["error"]=> int(0) ["message"]=> string(7) "success" ["variables"]=> array(23) { ["document_srl"]=> int(461285) ["module_srl"]=> int(363909) ["member_srl"]=> int(4) ["category_srl"]=> int(363914) ["sale_point"]=> int(0) ["sale_profit"]=> NULL ["purchase_count"]=> int(14) ["title"]=> string(60) "라이믹스 마이로그 스킨 - 인스타그램 스타일" ["copyright_srl"]=> NULL ["closed"]=> string(0) "" ["sale"]=> NULL ["anonymous"]=> string(0) "" ["adult"]=> string(0) "" ["preview"]=> string(0) "" ["capacity"]=> int(23431) ["extension"]=> string(0) "" ["sale_period_start_date"]=> NULL ["sale_period_end_date"]=> NULL ["category"]=> NULL ["regdate"]=> string(14) "20240329103434" ["apparent_module_srl"]=> int(363909) ["origin_module_srl"]=> int(363909) ["title_color"]=> string(0) "" } ["httpStatusCode"]=> int(200) ["document_srl"]=> int(461285) ["lang_code"]=> NULL ["grant_cache"]=> bool(true) ["allow_trackback_status"]=> NULL ["comment_page_navigation"]=> NULL ["columnList"]=> array(0) { } ["allowscriptaccessList"]=> array(0) { } ["allowscriptaccessKey"]=> int(0) ["uploadedFiles"]=> array(0) { } ["extra_eids":protected]=> array(14) { ["category"]=> object(Rhymix\Modules\Extravar\Models\Value)#521 (18) { ["module_srl"]=> int(363909) ["idx"]=> int(1) ["eid"]=> string(8) "category" ["input_id"]=> string(0) "" ["input_name"]=> string(0) "" ["parent_type"]=> string(8) "document" ["type"]=> string(8) "checkbox" ["value"]=> string(12) "모듈스킨" ["name"]=> string(18) "상품카테고리" ["desc"]=> string(0) "" ["default"]=> string(127) "패키지,레이아웃 ,모바일레이아웃,모듈 ,모듈스킨 ,애드온,위젯 ,위젯스킨,위젯스타일스킨,기타" ["options"]=> NULL ["is_required"]=> string(1) "Y" ["is_strict"]=> string(1) "N" ["is_disabled"]=> string(1) "N" ["is_readonly"]=> string(1) "N" ["search"]=> string(1) "Y" ["style"]=> NULL } ["status"]=> object(Rhymix\Modules\Extravar\Models\Value)#522 (18) { ["module_srl"]=> int(363909) ["idx"]=> int(2) ["eid"]=> string(6) "status" ["input_id"]=> string(0) "" ["input_name"]=> string(0) "" ["parent_type"]=> string(8) "document" ["type"]=> string(5) "radio" ["value"]=> string(9) "판매중" ["name"]=> string(6) "상태" ["desc"]=> string(0) "" ["default"]=> string(58) "준비중,판매중,일시중단,판매종료,제품소개" ["options"]=> NULL ["is_required"]=> string(1) "Y" ["is_strict"]=> string(1) "N" ["is_disabled"]=> string(1) "N" ["is_readonly"]=> string(1) "N" ["search"]=> string(1) "Y" ["style"]=> NULL } ["summary"]=> object(Rhymix\Modules\Extravar\Models\Value)#523 (18) { ["module_srl"]=> int(363909) ["idx"]=> int(3) ["eid"]=> string(7) "summary" ["input_id"]=> string(0) "" ["input_name"]=> string(0) "" ["parent_type"]=> string(8) "document" ["type"]=> string(4) "text" ["value"]=> string(152) "마이로그는 회원정보 보기 화면을 SNS처럼 꾸며줍니다. 이 스킨은 인스타그램 스타일의 회원정보 보기 스킨입니다." ["name"]=> string(6) "소개" ["desc"]=> string(73) "목록에 표시될 상품 소개입니다. 간단히 입력해주세요." ["default"]=> string(0) "" ["options"]=> NULL ["is_required"]=> string(1) "Y" ["is_strict"]=> string(1) "N" ["is_disabled"]=> string(1) "N" ["is_readonly"]=> string(1) "N" ["search"]=> string(1) "Y" ["style"]=> NULL } ["dir"]=> object(Rhymix\Modules\Extravar\Models\Value)#524 (18) { ["module_srl"]=> int(363909) ["idx"]=> int(4) ["eid"]=> string(3) "dir" ["input_id"]=> string(0) "" ["input_name"]=> string(0) "" ["parent_type"]=> string(8) "document" ["type"]=> string(4) "text" ["value"]=> string(36) "./modules/elkhabook/skins/eondmylog/" ["name"]=> string(12) "설치경로" ["desc"]=> string(0) "" ["default"]=> string(0) "" ["options"]=> NULL ["is_required"]=> string(1) "Y" ["is_strict"]=> string(1) "N" ["is_disabled"]=> string(1) "N" ["is_readonly"]=> string(1) "N" ["search"]=> string(1) "Y" ["style"]=> NULL } ["ver"]=> object(Rhymix\Modules\Extravar\Models\Value)#525 (18) { ["module_srl"]=> int(363909) ["idx"]=> int(5) ["eid"]=> string(3) "ver" ["input_id"]=> string(0) "" ["input_name"]=> string(0) "" ["parent_type"]=> string(8) "document" ["type"]=> string(4) "text" ["value"]=> string(3) "0.1" ["name"]=> string(6) "버전" ["desc"]=> string(0) "" ["default"]=> NULL ["options"]=> NULL ["is_required"]=> string(1) "Y" ["is_strict"]=> string(1) "N" ["is_disabled"]=> string(1) "N" ["is_readonly"]=> string(1) "N" ["search"]=> string(1) "N" ["style"]=> NULL } ["license"]=> object(Rhymix\Modules\Extravar\Models\Value)#526 (18) { ["module_srl"]=> int(363909) ["idx"]=> int(6) ["eid"]=> string(7) "license" ["input_id"]=> string(0) "" ["input_name"]=> string(0) "" ["parent_type"]=> string(8) "document" ["type"]=> string(8) "checkbox" ["value"]=> string(6) "GPL v2" ["name"]=> string(12) "라이센스" ["desc"]=> string(0) "" ["default"]=> string(52) "LGPL, GPL v2, LGPL v3 ,MIT License, GPL, 기타, XPM" ["options"]=> NULL ["is_required"]=> string(1) "Y" ["is_strict"]=> string(1) "N" ["is_disabled"]=> string(1) "N" ["is_readonly"]=> string(1) "N" ["search"]=> string(1) "N" ["style"]=> NULL } ["core"]=> object(Rhymix\Modules\Extravar\Models\Value)#527 (18) { ["module_srl"]=> int(363909) ["idx"]=> int(7) ["eid"]=> string(4) "core" ["input_id"]=> string(0) "" ["input_name"]=> string(0) "" ["parent_type"]=> string(8) "document" ["type"]=> string(8) "checkbox" ["value"]=> string(2) "RX" ["name"]=> string(12) "지원환경" ["desc"]=> string(0) "" ["default"]=> string(7) "XE1, RX" ["options"]=> NULL ["is_required"]=> string(1) "N" ["is_strict"]=> string(1) "N" ["is_disabled"]=> string(1) "N" ["is_readonly"]=> string(1) "N" ["search"]=> string(1) "Y" ["style"]=> NULL } ["developer"]=> object(Rhymix\Modules\Extravar\Models\Value)#528 (18) { ["module_srl"]=> int(363909) ["idx"]=> int(8) ["eid"]=> string(9) "developer" ["input_id"]=> string(0) "" ["input_name"]=> string(0) "" ["parent_type"]=> string(8) "document" ["type"]=> string(4) "text" ["value"]=> string(9) "이온디" ["name"]=> string(9) "개발자" ["desc"]=> string(0) "" ["default"]=> string(0) "" ["options"]=> NULL ["is_required"]=> string(1) "N" ["is_strict"]=> string(1) "N" ["is_disabled"]=> string(1) "N" ["is_readonly"]=> string(1) "N" ["search"]=> string(1) "Y" ["style"]=> NULL } ["store_link"]=> object(Rhymix\Modules\Extravar\Models\Value)#529 (18) { ["module_srl"]=> int(363909) ["idx"]=> int(9) ["eid"]=> string(10) "store_link" ["input_id"]=> string(0) "" ["input_name"]=> string(0) "" ["parent_type"]=> string(8) "document" ["type"]=> string(8) "homepage" ["value"]=> NULL ["name"]=> string(16) "구매 페이지" ["desc"]=> string(53) "구매 페이지가 있을 경우 입력해주세요." ["default"]=> NULL ["options"]=> NULL ["is_required"]=> string(1) "N" ["is_strict"]=> string(1) "N" ["is_disabled"]=> string(1) "N" ["is_readonly"]=> string(1) "N" ["search"]=> string(1) "N" ["style"]=> NULL } ["preview"]=> object(Rhymix\Modules\Extravar\Models\Value)#530 (18) { ["module_srl"]=> int(363909) ["idx"]=> int(10) ["eid"]=> string(7) "preview" ["input_id"]=> string(0) "" ["input_name"]=> string(0) "" ["parent_type"]=> string(8) "document" ["type"]=> string(8) "homepage" ["value"]=> NULL ["name"]=> string(12) "미리보기" ["desc"]=> string(84) "상품을 미리볼 수 있는 데모 페이지가 있을 경우 입력해주세요." ["default"]=> NULL ["options"]=> NULL ["is_required"]=> string(1) "N" ["is_strict"]=> string(1) "N" ["is_disabled"]=> string(1) "N" ["is_readonly"]=> string(1) "N" ["search"]=> string(1) "N" ["style"]=> NULL } ["component"]=> object(Rhymix\Modules\Extravar\Models\Value)#531 (18) { ["module_srl"]=> int(363909) ["idx"]=> int(11) ["eid"]=> string(9) "component" ["input_id"]=> string(0) "" ["input_name"]=> string(0) "" ["parent_type"]=> string(8) "document" ["type"]=> string(8) "textarea" ["value"]=> NULL ["name"]=> string(9) "구성품" ["desc"]=> string(197) "테마/패키지 상품이거나 본품 이외에 다른 상품이 함께 제공되는 경우 입력해주세요. 기본 구성품(무상제공)이 아닌 경우 추가금액을 표기해주세요." ["default"]=> NULL ["options"]=> NULL ["is_required"]=> string(1) "N" ["is_strict"]=> string(1) "N" ["is_disabled"]=> string(1) "N" ["is_readonly"]=> string(1) "N" ["search"]=> string(1) "N" ["style"]=> NULL } ["contact"]=> object(Rhymix\Modules\Extravar\Models\Value)#532 (18) { ["module_srl"]=> int(363909) ["idx"]=> int(12) ["eid"]=> string(7) "contact" ["input_id"]=> string(0) "" ["input_name"]=> string(0) "" ["parent_type"]=> string(8) "document" ["type"]=> string(8) "textarea" ["value"]=> NULL ["name"]=> string(6) "문의" ["desc"]=> string(120) "구매문의, 기술지원 문의 등을 할 수 있는 연락 방법, 문의시 유의사항 등을 입력해주세요." ["default"]=> NULL ["options"]=> NULL ["is_required"]=> string(1) "N" ["is_strict"]=> string(1) "N" ["is_disabled"]=> string(1) "N" ["is_readonly"]=> string(1) "N" ["search"]=> string(1) "N" ["style"]=> NULL } ["label"]=> object(Rhymix\Modules\Extravar\Models\Value)#533 (18) { ["module_srl"]=> int(363909) ["idx"]=> int(13) ["eid"]=> string(5) "label" ["input_id"]=> string(0) "" ["input_name"]=> string(0) "" ["parent_type"]=> string(8) "document" ["type"]=> string(8) "checkbox" ["value"]=> NULL ["name"]=> string(6) "라벨" ["desc"]=> string(0) "" ["default"]=> string(9) "best,must" ["options"]=> NULL ["is_required"]=> string(1) "N" ["is_strict"]=> string(1) "N" ["is_disabled"]=> string(1) "N" ["is_readonly"]=> string(1) "N" ["search"]=> string(1) "N" ["style"]=> NULL } ["ourl"]=> object(Rhymix\Modules\Extravar\Models\Value)#534 (18) { ["module_srl"]=> int(363909) ["idx"]=> int(14) ["eid"]=> string(4) "ourl" ["input_id"]=> string(0) "" ["input_name"]=> string(0) "" ["parent_type"]=> string(8) "document" ["type"]=> string(8) "homepage" ["value"]=> NULL ["name"]=> string(9) "외부URL" ["desc"]=> string(0) "" ["default"]=> NULL ["options"]=> NULL ["is_required"]=> string(1) "N" ["is_strict"]=> string(1) "N" ["is_disabled"]=> string(1) "N" ["is_readonly"]=> string(1) "N" ["search"]=> string(1) "N" ["style"]=> NULL } } ["filesize"]=> int(23431) ["file_size"]=> string(7) "22.88KB" ["purchase_count"]=> int(14) ["sale_point"]=> string(59) "무료" ["nick_name"]=> string(9) "이온디" ["purchase"]=> bool(true) ["grade_main"]=> array(2) { [1]=> string(3) "5.0" [2]=> string(24) "5.0점 / 총 1명 참여" } ["closed"]=> string(0) "" ["anonymous"]=> string(0) "" ["preview"]=> string(0) "" ["sale"]=> NULL ["sale_period_start_date"]=> NULL ["sale_period_end_date"]=> NULL ["title"]=> string(60) "라이믹스 마이로그 스킨 - 인스타그램 스타일" ["titleM"]=> string(60) "라이믹스 마이로그 스킨 - 인스타그램 스타일" ["thumbnail"]=> string(56) "/files/thumbnails/285/461/250x250.ratio.jpg?t=1739952187" }
$oDocument->getComments() 함수를 살펴보면,
CommentModel::getCommentList($this->document_srl, $cpage); 여기서 못 불러오는거 같다.
1. modules/contents/skins/ec_imin/form/file/comment.html
$oDocument->getComments() 오류 발생
2. modules/document/document.item.php - getComments() 함수에서
$output = CommentModel::getCommentList($this->document_srl, $cpage);
코멘트 모델 참조하고 있음
3. modules/comment/comment.model.php - getCommentList() 함수를 보면,
$document_comment_count = $oDocument->getCommentCount(); 참조하고 있음.
4. modules/document/document.item.php -> getCommentCount()
function getCommentCount()
{
return $this->get('comment_count');
}
작업하면서 확인해보니
해당 게시판의 특정 게시물만 그렇네요. @_@?;
....
댓글 자체의 문제가 아니고 해당 게시물에 뭔가가 DB 쿼리를 방해하고 있는게 아닌가 싶네요.
감사합니다.
1번 : 오류 안남. (데이터 없다고 나옴. 댓글 있는데도;)
{@ $output = CommentModel::getCommentList($document_srl, $cpage); if($output==null): return; endif; }
2번 : 오류남
{@ $output = $oDocument->getComments(); if($output==null): return; endif; }
2번에서 오류나는건 $oDocument->getComments() 함수 사용 자체가 위 과정에서 막혀서 그런거 같고.
1번에서도 댓글 데이터가 있는데 없다고 나오는건 이상하네요