묻고답하기

다른 글은 안그런데 댓글이 한개인 글만 들어가면 레이아웃도 사라지고 제일 밑에 이런 에러 문구가 뜹니다ㅠㅠ 또 모바일은 정상적으로 뜨구요

 Fatal error: Cannot use object of type stdClass as array in /host/home1/홈주소/html/xe/files/cache/template_compiled/7c21c677d8157d34f02047e79402b325.compiled.php on line 8

 

위 파일의 내용입니다

<?php if(!defined("__XE__"))exit;?><?php 
 $__Context->oDB = &DB::getInstance();
 $__Context->query = $__Context->oDB->_query('select regdate from xe_comments where document_srl = '.$__Context->document_srl);
 $__Context->result = $__Context->oDB->_fetch($__Context->query);
 $__Context->no = array();
 ?>
<?php for($__Context->i=0;$__Context->i<count($__Context->result);$__Context->i++){ ?>
<?php  $__Context->no[] = $__Context->result[$__Context->i]->regdate ?>
<?php } ?>
<?php  sort($__Context->no) ?>
<?php if($__Context->mi->fdb_style=='fdb_v2' && $__Context->mi->default_style!='guest'){ ?><a class="nametag ui_font bubble" href="#" onclick="jQuery(this).nextAll('ul,.bd_pg').slideToggle();return false" title="Click! <?php echo $__Context->lang->comment ?> <?php echo $__Context->lang->cmd_view ?>~"><strong class="bg_color bx_shadow">Comment <b>'<?php echo $__Context->oDocument->getCommentcount() ?>'</b></strong></a><?php } ?>
<?php if($__Context->oDocument->getCommentcount()){ ?>
<?php if(!$__Context->mi->fdb_style){ ?><div class="fdb_tag<?php if($__Context->mi->cmt_wrt_position=='cmt_wrt_btm'){ ?> bg_f_f9 css3pie<?php } ?>">
    <a class="ui_font bubble" href="#" onclick="jQuery(this).parent().nextAll('ul,.bd_pg').slideToggle();return false" title="<?php echo $__Context->lang->comment ?> <?php echo $__Context->lang->cmd_view ?>">Comments <b>'<?php echo $__Context->oDocument->getCommentcount() ?>'</b></a>
</div><?php } ?>
<ul class="fdb_lst_ul <?php echo $__Context->mi->fdb_hide ?>">
    <?php if($__Context->oDocument->getComments()&&count($__Context->oDocument->getComments()))foreach($__Context->oDocument->getComments() as $__Context->key=>$__Context->comment){ ?>
<?php if($__Context->comment->get('depth')){ ?>
    <li id="comment_<?php echo $__Context->comment->comment_srl ?>" class="fdb_itm clear re bg<?php echo ($__Context->comment->get('depth'))%2 ?>" style="margin-left:<?php echo (($__Context->comment->get('depth')-1)%10+1)*2 ?>%">
        <i class="fa fa-share fa-flip-vertical re"></i><?php if($__Context->comment->get('depth')>10){ ?><i class="fa fa-share fa-flip-vertical re rere"></i><?php } ?>
<?php }else{ ?>
    <li id="comment_<?php echo $__Context->comment->comment_srl ?>" class="fdb_itm clear">
<?php } ?>
        
        <?php if(!$__Context->mi->profile_img){ ?>
        <?php if($__Context->comment->getProfileImage()){ ?><img class="profile img" src="<?php echo $__Context->comment->getProfileImage() ?>" alt="profile" /><?php } ?>
        <?php if(!$__Context->comment->getProfileImage()){ ?><span class="profile img no_img">?</span><?php } ?>
        <?php } ?>
<?php if($__Context->no&&count($__Context->no))foreach($__Context->no as $__Context->k=>$__Context->v){;
if($__Context->v==$__Context->comment->get('regdate')){ ?>
<?php  $__Context->k++ ?>
<? break ?>
<?php }} ?>
<div class="meta">
            <?php if($__Context->comment->member_srl){ ?><a href="#popup_menu_area" class="member_<?php echo $__Context->comment->member_srl ?>" onclick="return false">익명</a><?php } ?>
            <?php if(!$__Context->comment->member_srl && $__Context->comment->homepage){ ?><a href="<?php echo $__Context->comment->getHomepageUrl() ?>" target="_blank">익명</a><?php } ?>
            <?php if(!$__Context->comment->member_srl && !$__Context->comment->homepage){ ?><b>익명</b><?php };
echo $__Context->k ?>
            <span class="date"><?php echo getTimeGap($__Context->comment->get('regdate'), "Y.m.d H:i") ?></span>
            <?php if($__Context->grant->manager || $__Context->mi->display_ip_address){ ?><small class="m_no">(<?php echo $__Context->comment->getIpaddress() ?>)</small><?php } ?>
            <?php if($__Context->comment->isSecret()){ ?><span class="ico_secret">SECRET</span><?php } ?>
            
            <?php if($__Context->comment->hasUploadedFiles()){ ?>
            <a class="tg_btn2" href="#files_<?php echo $__Context->comment->comment_srl ?>"><b class="ui-icon ui-icon-disk">Files</b><?php echo $__Context->lang->uploaded_file ?> <small>(<?php echo $__Context->comment->get('uploaded_count') ?>)</small></a>
            <div id="files_<?php echo $__Context->comment->comment_srl ?>" class="cmt_files tg_cnt2">
                <button type="button" class="tg_blur2"></button><button type="button" class="tg_close2" title="<?php echo $__Context->lang->cmd_close ?>"><b class="ui-icon ui-icon-closethick">X</b></button>
                <ul class="wrp">
                    <?php if($__Context->comment->getUploadedFiles()&&count($__Context->comment->getUploadedFiles()))foreach($__Context->comment->getUploadedFiles() as $__Context->key=>$__Context->file){ ?><li><em>•</em> <a class="bubble" href="<?php echo getUrl('');
echo $__Context->file->download_url ?>" title="[File Size:<?php echo FileHandler::filesize($__Context->file->file_size) ?>/Download:<?php echo number_format($__Context->file->download_count) ?>]"><?php echo $__Context->file->source_filename ?></a></li><?php } ?>
                </ul>
                <button type="button" class="tg_blur2"></button>
            </div>
            <?php } ?>
        </div>
        
        <?php if(!$__Context->comment->isAccessible()){ ?>
        <form action="./" method="get" onsubmit="return procFilter(this, input_password)"><input type="hidden" name="error_return_url" value="<?php echo htmlspecialchars(getRequestUriByServerEnviroment(), ENT_COMPAT | ENT_HTML401, 'UTF-8', false) ?>" /><input type="hidden" name="act" value="<?php echo $__Context->act ?>" /><input type="hidden" name="vid" value="<?php echo $__Context->vid ?>" />
            <input type="hidden" name="mid" value="<?php echo $__Context->mid ?>" />
            <input type="hidden" name="page" value="<?php echo $__Context->page ?>" />
            <input type="hidden" name="document_srl" value="<?php echo $__Context->comment->get('document_srl') ?>" />
            <input type="hidden" name="comment_srl" value="<?php echo $__Context->comment->get('comment_srl') ?>" />
            <p>"<?php echo $__Context->lang->msg_is_secret ?>"</p>
            <span class="itx_wrp">
                <label for="cpw_<?php echo $__Context->comment->comment_srl ?>"><?php echo $__Context->lang->password ?></label>
                <input type="password" id="cpw_<?php echo $__Context->comment->comment_srl ?>" name="password" class="itx" />
                <input type="submit" value="<?php echo $__Context->lang->cmd_input ?>" class="bd_btn" />
            </span>
        </form>
        <?php }else{ ?>
        <?php echo $__Context->comment->getContent(false) ?>
        <?php } ?>
        
        <div class="fdb_nav img_tx">
            <?php if($__Context->mi->cmt_this_btn=='2' && $__Context->is_logged){ ?>
            <a href="#" onclick="doCallModuleAction('comment','procCommentDeclare','<?php echo $__Context->comment->comment_srl ?>');return false"><i class="fa fa-phone"></i><?php echo $__Context->lang->cmd_declare ?></a>
            <a href="#" onclick="doCallModuleAction('comment','procCommentVoteUp','<?php echo $__Context->comment->comment_srl ?>');return false"><i class="fa fa-heart color"></i><?php echo $__Context->lang->cmd_vote ?></a>
            <?php if(!$__Context->mi->cmt_vote_down){ ?><a href="#" onclick="doCallModuleAction('comment','procCommentVoteDown','<?php echo $__Context->comment->comment_srl ?>');return false"><i class="fa fa-heart"></i><?php echo $__Context->lang->cmd_vote_down ?></a><?php } ?>
            <?php } ?>
            <?php if((!$__Context->mi->cmt_this_btn && $__Context->is_logged) || $__Context->grant->manager){ ?><a class="comment_<?php echo $__Context->comment->comment_srl ?> m_no" href="#popup_menu_area" onclick="return false"><i class="fa fa-ellipsis-h"></i><?php echo $__Context->lang->cmd_comment_do ?></a><?php } ?>
            <?php if($__Context->comment->isGranted() || !$__Context->comment->get('member_srl')){ ?>
            <a href="<?php echo getUrl('act','dispBoardModifyComment','comment_srl',$__Context->comment->comment_srl) ?>"><i class="fa fa-pencil"></i><?php echo $__Context->lang->cmd_modify ?></a>
            <a href="<?php echo getUrl('act','dispBoardDeleteComment','comment_srl',$__Context->comment->comment_srl) ?>"><i class="fa fa-eraser"></i><?php echo $__Context->lang->cmd_delete ?></a>
            <?php } ?>
            <?php if($__Context->oDocument->allowComment()){ ?><a class="re_comment" href="<?php echo getUrl('act','dispBoardReplyComment','comment_srl',$__Context->comment->comment_srl) ?>" onclick="<?php if(!$__Context->grant->write_comment || !$__Context->oDocument->isEnableComment()){ ?>alert('<?php echo $__Context->lang->msg_not_permitted ?>')<?php }else{ ?>reComment(<?php echo $__Context->comment->get('document_srl') ?>,<?php echo $__Context->comment->get('comment_srl') ?>,'<?php echo getUrl('act','dispBoardReplyComment','comment_srl',$__Context->comment->comment_srl) ?>')<?php } ?>;return false;"><i class="fa fa-comment"></i> <?php echo $__Context->lang->cmd_reply ?></a><?php } ?>
            
            <?php if($__Context->mi->cmt_vote!='N' && ($__Context->mi->cmt_vote=='2' || $__Context->comment->get('voted_count')!=0 || $__Context->comment->get('blamed_count')!=0)){ ?><span class="vote ui_font">
                <a class="bd_login" href="#"<?php if($__Context->is_logged){ ?> onclick="doCallModuleAction('comment','procCommentVoteUp','<?php echo $__Context->comment->comment_srl ?>');return false"<?php } ?> title="<?php echo $__Context->lang->cmd_vote ?>"><em><i class="fa fa-heart color"></i> <?php echo $__Context->comment->get('voted_count')?$__Context->comment->get('voted_count'):0 ?></em></a>
                <?php if(!$__Context->mi->cmt_vote_down){ ?><a class="bd_login" href="#"<?php if($__Context->is_logged){ ?> onclick="doCallModuleAction('comment','procCommentVoteDown','<?php echo $__Context->comment->comment_srl ?>');return false"<?php } ?> title="<?php echo $__Context->lang->cmd_vote_down ?>"><i class="fa fa-heart"></i> <?php echo abs($__Context->comment->get('blamed_count')?$__Context->comment->get('blamed_count'):0) ?></a><?php } ?>
            </span><?php } ?>
        </div>
    </li>
    <?php } ?>
</ul>
<?php if($__Context->oDocument->comment_page_navigation){ ?>
<div class="bd_pg clear <?php echo $__Context->mi->fdb_hide ?>">
    <a href="<?php echo getUrl('cpage',1) ?>#<?php echo $__Context->oDocument->get('document_srl') ?>_comment" class="direction" title="<?php echo $__Context->lang->first_page ?>"><i class="fa fa-angle-double-left"></i> <span>First</span></a>
    <?php while($__Context->page_no=$__Context->oDocument->comment_page_navigation->getNextPage()){ ?>
        <?php if($__Context->cpage==$__Context->page_no){ ?><strong class="this"><?php echo $__Context->page_no ?></strong><?php } ?> 
        <?php if($__Context->cpage!=$__Context->page_no){ ?><a href="<?php echo getUrl('cpage',$__Context->page_no) ?>#<?php echo $__Context->oDocument->get('document_srl') ?>_comment"><?php echo $__Context->page_no ?></a><?php } ?>
    <?php } ?>
    <a href="<?php echo getUrl('cpage',$__Context->oDocument->comment_page_navigation->last_page) ?>#<?php echo $__Context->oDocument->get('document_srl') ?>_comment" class="direction" title="<?php echo $__Context->lang->last_page ?>"><span>Last</span> <i class="fa fa-angle-double-right"></i></a>
</div>
<?php } ?>
<?php } ?>

 

글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
mkp9**** xe 유료에 대해서 [4] 2016.12.20 by 기진곰
James 009 XE mySQL에서 [1] 2016.12.20 by 제이와이엔소프트
ryo 게시판에서 2차메뉴 안보임문제 [2] 2016.12.20 by ryo
서리diu 누리고 쇼핑몰의 각 상품 조회수를 알아볼 방법은 없나요?  
ZETSUEN 글쓰기 시, [ ' ] 특수문자만 넣으면 "'" 로 바뀝니다. [1] 2016.12.20 by ZETSUEN
범고래즈 확장변수 사용시 (필수항목)이라고 표기된 부분을 삭제 할수 있나요? [3] 2016.12.19 by 범고래즈
제로초보2 게시판에 zip파일을 업로드하고 다시 다운받으면 손상된 파일로 나옵니다. [3] 2016.12.19 by 제로초보2
섬휘 달력 위젯을 html 에 넣어서 설치하면 제대로 나오질 않습니다. file  
푸푸닌자 XEDITION 사용중인데 사이트 설명은 어디에 작성해야하나요? [2] 2016.12.19 by 푸푸닌자
스마트류 타임라인 모듈에서 분류 노출에 관해 [2] 2016.12.19 by 스마트류
은은히깊게 게시판 날짜는 못지우나요? [2] 2016.12.19 by 은은히깊게
달콤퍼플 기본게시판에서 첨부파일 자동 다운로드가 되지 않는 경우 file  
권만주 특정추천수 이상이면 자동 이동 자동 댓글 자동 포인트 추가 하려고 합니다. [2] 2016.12.19 by 권만주
잔잔잔 익명 댓글 순서설정 후 페이지에 오류가 납니다 ㅜㅜㅜ [2] 2016.12.19 by 잔잔잔
이쩡2 존경하는 고수님들..질문.[브라우저 이미지] [1] file 2016.12.19 by ZETSUEN
서기에요 게시판 관리자가 댓글 수정 할 수 있는 권한 [1] 2016.12.18 by 시니시즘
Aring XE 설치중 이상발생..APM문제? [2] file 2016.12.18 by Aring
송재헌 신디케이션 핑 검증 하는중 오류발생 되었습니다 .ㅠㅠ  
송재헌 네이버웹마스터 대해서 질문드려요 .  
범고래즈 게시판 리스트화면에서 제목과 함께 간략하게 내용을 불러오고자 합니다. [1] 2016.12.17 by sejin7940
알보칠 구글웹마스터도구 서치콘솔 오류 file  
제로초보2 첨부파일 다운로드시 손상된 파일로 나와요 [2] 2016.12.17 by 제로초보2
fro**** 외부페이지에서 게시판 include 방법은 어떻게 되나요?  
쌩왕초보 카테고리 선택해도 전체보기만 되요  
유하 전송된 데이터가 없습니다 file  
알보칠 웹마스터도구 서치콘솔 가져오기 에러부분 [2] 2016.12.17 by 알보칠
샤킹 고수님들 페이지 목록 숫자 크기랑 위치를 수정하고 싶은데요 [4] file 2016.12.16 by 샤킹
샤킹 스크롤 버튼 고정하는 방법 알려주세요!!  
dls**** 브라우저 제목 변경 문제.. [2] file 2016.12.16 by dls****
ㅁㅈ 댓글이 한개인 글에 들어가면 에러가 뜹니다ㅠㅠ (compiled.php) [2] 2016.12.16 by ㅁㅈ