CMS솔루션마켓, 이온디 - 워드프레스, 라이믹스, 카페24, 그누보드, 엑셀

Contents Management System

이 글을 쓰고 나서 느낀 교훈 :
오래된 위젯은 버리자!


서버 오류
Error #0 "Call to a member function attributes() on bool" in modules/widget/widget.controller.php on line 278


https://eond.com/home_old

위 페이지에 접근하려니 위와 같은 오류가 발생합니다.

아마도 위젯 문제이지 않을까 하네요.


modules/widget/widget.controller.php 278라인

foreach ($xml->img ? $xml->img->attributes() : $xml->attributes() as $key => $val)
{
   $vars->{$key} = strval($val);
}

foreach 문 안에 php 삼항연산자로 된 코드입니다.

삼항연산자는

조건문 ? 이면 실행 : 아니면 실행

이렇게 이해할 수 있습니다.

$xml->img 일 경우 $xml->img->attributes() 함수를 실행하고 아닌 경우에는 $xml->attributes()를 실행한다는 뜻인데,

어찌됐던 두 조건 모두 attributes() 함수를 실행하고 있네요.


자, 그럼 attributes()함수란 녀석은 어디에 있는 걸까요? -_-;

먼저 해당 파일을 열어보면 맨 위에 class widgetController 이라고 widgetController 라는 클래스를 담고 있습니다.

http://xpressengine.github.io/xe-manual-api/html/classes.html

XE 깃헙에 매뉴얼에서 class 페이지입니다. widgetController라고 검색 후 찾아갑니다.

그 다음 transWidget을 찾아봅니다.

http://xpressengine.github.io/xe-manual-api/html/classwidgetController.html#ab83211452280836e73df5f7b6acdea82

해당 파일을 열어보면 지금의 라이믹스와는 다르다는 걸 알 수 있네요.

http://xpressengine.github.io/xe-manual-api/html/widget_8controller_8php_source.html


XE에서는 attributes() 라는 코드가 없었는데, 라이믹스에서는 발견되네요. 흠..

라이믹스 전체 코드에서 attributes() 라고 검색해봅니다.

찾아봐도 없...습니다..

그럼 이건 php 자체 함수..가 아닐까 하는 생각이 들더군요.

https://www.php.net/manual/en/simplexmlelement.attributes.php

http://docs.php.net/manual/kr/simplexmlelement.attributes.php

https://php.watch/versions/8.0/attributes

https://www.w3schools.com/php/func_simplexml_attributes.asp


http://tcpschool.com/php/php_basic_datatype

https://www.daniweb.com/programming/web-development/threads/326430/simple-xml-fatal-error-call-to-a-member-function-attributes-on-a-non-object

구글에 'Call to a member function attributes() on bool' 라고 검색해보았습니다.

XE나 라이믹스 관련해서는 답이 안나오지만 일반적으로 많이 뜨는거 같네요..


답이 안 나오니 그럼 다시 home_old로 돌아가서,

이 페이지에 뭐가 있는지 알아봅시다.

phpmyadmin에서 home_old로 검색해봅니다. xe_modules 등에서 보이네요.

그럼 정확하게 이게 뭔지 알아야 하니깐, 관리자 > 사이트맵 > 해당 메뉴 편집 > 상세설정 페이지를 열어봅니다.

https://eond.com/index.php?module=admin&act=dispPageAdminInfo&module_srl=907&isLayoutDrop=1

주소에서 module_srl=907이라는 것을 확인할 수 있습니다.


그럼 xe_modules 테이블에서 module_srl이 907인 페이지를 열어봅니다. content 컬럼을 보면 아래와 같습니다.

<STYLE>
a:link  {  text-decoration:  none;  color:  #424242;}  
a:visited  {  text-decoration:  none;  color:  #424242;}  
a:active  {  text-decoration:  none;  color:  #424242;}  
a:hover  {  text-decoration:  underline;  color:  #0066CC;}   
</STYLE>


<DIV id=contentLeft style="DISPLAY: none">왼쪽입니다.</DIV>
<DIV id=contentMain><!--[Start] Google Adsense :: 추천 피카사 -->
<DIV style="BORDER-RIGHT: #e6e6e6 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #e6e6e6 1px solid; PADDING-LEFT: 5px; BACKGROUND: #f7f7f7; PADDING-BOTTOM: 5px; BORDER-LEFT: #e6e6e6 1px solid; PADDING-TOP: 5px; BORDER-BOTTOM: #e6e6e6 1px solid">
<SCRIPT type=text/javascript><!--
    google_ad_client = "pub-7200623708996327";
    google_ad_output = "textlink";
    google_ad_format = "ref_text";
    google_cpa_choice = "CAAQ6OSkyAIaCJxVa1sfS2X7KJT5uYsBMAA";
    //-->
    </SCRIPT>


<SCRIPT src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type=text/javascript></SCRIPT>
</DIV><!--[End] Google Adsense :: 추천 피카사 --><IMG height=119 src="files/attach/images/907/907/main_cover_title_img3.png" width=122 align=left border=0 editor_component="image_link"><IMG height=113 src="files/attach/images/907/907/main_cover_title_txt.png" width=337 align=left border=0 editor_component="image_link"><BR><BR><BR><BR>&nbsp;&nbsp;&nbsp; &nbsp;<IMG height=30 alt="자기관리 블로그" src="files/attach/images/907/907/shortcut_blog.png" width=59 align=right border=0 editor_component="image_link" open_window="Y" link_url="http://blog.eond.com"> <!-- 구글 애드센스(EondMainContentCenterTop/) 시작 -->
<DIV class=clearB style="TEXT-ALIGN: center"><!--[Start] Google Adsense :: 추천 파이어폭스 -->
<DIV style="PADDING-RIGHT: 5px; PADDING-LEFT: 5px; PADDING-BOTTOM: 5px; PADDING-TOP: 5px">
<SCRIPT type=text/javascript><!--
    google_ad_client = "pub-7200623708996327";
    google_ad_width = 468;
    google_ad_height = 60;
    google_ad_format = "468x60_as_rimg";
    google_cpa_choice = "CAEQz-D7zwEaCLzjbW_klYeNKNe893M";
    //-->
    </SCRIPT>


<SCRIPT src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type=text/javascript></SCRIPT>
</DIV><!--[End] Google Adsense :: 추천 파이어폭스 --></DIV><!-- 갤러리 및 자유게시판 시작 -->
<DIV id=lst_gallery><!-- 갤러리 시작 -->
<DIV id=lst_gallery_title>
<DIV class=goGallery><IMG height=9 src="files/attach/images/907/907/ico_more_02%5B1%5D.gif" width=32 align=right border=0 editor_component="image_link" link_url="http://eond.com/eond/gallery_main"></DIV></DIV>
<DIV id=lst_gallery_content><IMG class=zbxe_widget_output title="" style="CLEAR: both" height=100 src="http://eond.com/eond/common/tpl/images/widget_bg.jpg" width="100%" module_srl="1" body="" widget="newest_images" widget_sequence="119897" skin="black_underline" colorset="default" widget_cache="0" mid_list="gallery,myphoto,people" title_length="8" thumbnail_width="110" cols_list_count="3" rows_list_count="2" display_author="N" display_regdate="N" display_readed_count="N" display_voted_count="N" widget_margin_top="" widget_margin_left="" widget_margin_right="" widget_margin_bottom="" widget_fix_width="" widget_width="100" widget_width_type="%" widget_position="" thumbnail_height="null" thumbnail_type="crop"> <!--[Start]Google Adsense :: 가로 링크5 -->
<DIV style="HEIGHT: 20px" align=center>
<SCRIPT type=text/javascript><!--
google_ad_client = "pub-7200623708996327";
google_ad_width = 468;
google_ad_height = 15;
google_ad_format = "468x15_0ads_al_s";
//2007-09-18: Eond, EondMainContentCenterTop
google_ad_channel = "9211275113";
google_color_border = "858585";
google_color_bg = "858585";
google_color_link = "4C4C4C";
google_color_text = "AAAAAA";
google_color_url = "999999";
//-->
</SCRIPT>


<SCRIPT src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type=text/javascript>
</SCRIPT>
</DIV><!--[End]Google Adsense :: 가로 링크5 --></DIV><!-- 갤러리 끝--><!-- 전체최근포스트 및 회원출력부분 시작-->
<DIV id=member_output><!-- 자유게시판 시작 -->
<DIV id=lst_article><IMG class=zbxe_widget_output title="최근 포스트" style="FLOAT: left; WIDTH: 100%" height=100 src="http://eond.com/eond/common/tpl/images/widget_bg.jpg" module_srl="1" body="" widget="newest_document" widget_sequence="119899" skin="eond_blu_webzine" colorset="normal" widget_cache="0" mid_list="ani,banner,bbs,book,cf,coding,mov,music,poem,tip,zbxe" widget_margin_top="" widget_margin_left="" widget_margin_right="5" widget_margin_bottom="" widget_fix_width="Y" widget_width="100" widget_width_type="%" widget_position="left" subject_cut_size="" list_count="12" order_type="desc" order_target="list_order" duration_new="null"> </DIV><!-- 자유게시판 끝 --><!-- 현재로그인회원 시작 -->
<DIV id=login_member><IMG class=zbxe_widget_output title="" style="FLOAT: right; WIDTH: 100%" height=100 src="http://eond.com/eond/common/tpl/images/widget_bg.jpg" module_srl="1" body="" widget="login_member" widget_sequence="119902" skin="default" colorset="normal" widget_cache="5" widget_margin_top="" widget_margin_left="" widget_margin_right="" widget_margin_bottom="" widget_fix_width="Y" widget_width="100" widget_width_type="%" widget_position="right" list_count="5" expire_time="10"> </DIV><!-- 현재로그인회원 끝 --><!-- 최근가입한회원 시작 -->
<DIV id=join_member><IMG class=zbxe_widget_output title="최근 가입한 회원" style="FLOAT: right; WIDTH: 100%" height=100 src="http://eond.com/eond/common/tpl/images/widget_bg.jpg" module_srl="1" body="" widget="member_group" widget_sequence="119913" skin="default" colorset="normal" widget_cache="0" widget_margin_top="" widget_margin_left="0" widget_margin_right="" widget_margin_bottom="" widget_fix_width="Y" widget_width="100" widget_width_type="%" widget_position="right" list_count="5" target_group="준회원"> </DIV><!-- 최근가입한회원 끝 --></DIV><!-- 회원출력 끝 --></DIV><!-- 갤러리 및 자유게시판 끝 --><!-- 태그 클라우드 시작 --><!--[Start] Google Adsense :: 468*60 Bn-->
<DIV align=center>
<SCRIPT type=text/javascript><!--
        google_ad_client = "pub-7200623708996327";
        //EondMainBnCenterTop,468x60 (071114)
        google_ad_slot = "9464842419";
        google_ad_width = 468;
        google_ad_height = 60;
        //-->
    </SCRIPT>


<SCRIPT src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type=text/javascript></SCRIPT>
</DIV><!--[End] Google Adsense :: 468*60 Bn-->
<DIV class=rct_title><IMG style="BORDER-BOTTOM: rgb(0,0,0) 5px solid" height=25 src="http://eond.com/eond/files/attach/images/907/907/tagcolud.png" width=70 editor_component="image_link"></DIV>
<DIV id=tagcloud_content><IMG class=zbxe_widget_output title="" style="CLEAR: both" height=100 src="http://eond.com/eond/common/tpl/images/widget_bg.jpg" width="100%" module_srl="1" body="" widget="tag_list" widget_sequence="119906" skin="cozy_simple" colorset="cyworld" widget_cache="0" mid_list="2u,adsense,ani,attach,banner,bbs,blog,book,build,cf,cgi,chat,coding,favimg,feedback,flow,font,friends,gallery,gallery_main,google,google_content,handwriting,hangeul,hanja,harmonica,home,html,link,login_ktf_autumn,me,member,mom,monologue,mov,music,music_xml,mwz,mybox,myphoto,naie,nalog,nick,nie,notice,pds,people,photogallery,phpinfo,poem,qna,realphoto,rp_gallery,rp_gallery_old,rp_link,rp_member,scrap,scw,scw2,service,sig,siteinfo,source,style,test,theme,tip,todaycomment,todo,webstudy,zb4,zbxe,zcount,zeroboard,zerocounter,zero_one" widget_margin_top="" widget_margin_left="" widget_margin_right="" widget_margin_bottom="" widget_fix_width="" widget_width="100" widget_width_type="%" widget_position="" list_count="26"></DIV><!-- 태그 클라우드 끝--><!-- 전체최근댓글 시작-->
<DIV class=rct_title><IMG height=24 src="./files/attach/images/907/907/trc.png" width=156 border=0 editor_component="image_link"></DIV>
<DIV id=trc_content><IMG class=zbxe_widget_output title="" style="FLOAT: left" height=100 src="http://eond.com/eond/common/tpl/images/widget_bg.jpg" module_srl="1" body="" widget="newest_comment" widget_sequence="119909" skin="c2comment" colorset="normal" widget_cache="0" mid_list="ani,attach,banner,bbs,blog,book,build,cgi,chat,coding,favimg,flow,font,gallery,gallery_main,handwriting,hangeul,hanja,harmonica,home,link,me,member,mom,monologue,mov,music,mybox,myphoto,nalog,nick,notice,people,photogallery,phpinfo,poem,realphoto,rp_gallery,rp_gallery_old,rp_link,rp_member,scrap,scw,service,sig,siteinfo,source,style,test,theme,tip,todaycomment,todo,webstudy,zbxe,zeroboard,zerocounter,zero_one" widget_margin_top="" widget_margin_left="" widget_margin_right="" widget_margin_bottom="" widget_fix_width="Y" widget_width="100%" widget_width_type="%" widget_position="" list_count="15"></DIV><!-- 전체 최근댓글 끝--><BR><!-- 게시판 전체 시작 -->
<DIV id=menu_lst>
<UL class=menu_lst_category>Home 
<LI>공지사항 
<LI>작업현황 
<LI>자유게시판 
<LI>전광판 
<LI>MyTalk 
<LI>링크 
<LI>사이트테마 
<LI>phpinfo 
<LI>트래픽관리 
<LI>계정사용현황 
<LI>n@log 
<LI>제로카운터 
<LI>회원목록 
<LI>n@imageExplorer2 
<LI>ImageScanner 
<LI>웹디렉토리 
<LI>구글애드센스</LI></UL>
<UL class=menu_lst_category>Gallery 
<LI>사진전시방 
<LI>사람들사진 
<LI>개인사진방 
<LI>마이스타일 
<LI>개인취향 
<LI>포토갤러리 
<LI>엄마그림 
<LI>와촌터널 소방훈련</LI></UL>
<UL class=menu_lst_category>WebStudy 
<LI>코딩활용 
<LI>디자인소스 
<LI>팁일반 
<LI>글꼴소개 
<LI>제로보드관련 
<LI>cgi프로그램 
<LI>제로원프로젝트</LI></UL>
<UL class=menu_lst_category>Service 
<LI>음악 
<LI>시 
<LI>동영상 
<LI>우리말산책 
<LI>배너수집 
<LI>하모니카 
<LI>손글씨 
<LI>한자익히기 
<LI>오늘의한마디</LI></UL>
<UL class=menu_lst_category>MyBox 
<LI>ToDoList 
<LI>모놀로그 
<LI>About ME 
<LI>To.You 
<LI>Scrap 
<LI>대화기록 
<LI>대화명 
<LI>Signature</LI></UL></DIV><!-- 게시판 전체목록 끝--></DIV><!-- 전체메뉴 하단 시작 -->
<DIV id=menu_lst_foot><!-- 구글 애드센스 시작 --><!-- 구글 애드센스 끝 --></DIV><!-- 전체메뉴 하단 끝--><!-- 컨텐트 메인 끝--><!--컨텐트 우측 시작-->
<DIV id=contentRight><!-- 리얼포토 배너 -->
<DIV id=leftContentBanner><A href="http://cafe.daum.net/realphoto" target=_blank><IMG height=71 src="files/attach/images/8751/49057/realphoto.jpg" width=200></A></DIV><!-- 구글 애드센스(이온디메인컨텐트라이트탑) 시작 -->
<SCRIPT type=text/javascript><!--
google_ad_client = "pub-7200623708996327";
google_ad_width = 200;
google_ad_height = 200;
google_ad_format = "200x200_as";
google_ad_type = "text_image";
//2007-10-17: Eond, EondMainContentRightTop
google_ad_channel = "2111854510+6739728667";
google_color_border = "f8f8f8";
google_color_bg = "f8f8f8";
google_color_link = "0000FF";
google_color_text = "000000";
google_color_url = "008000";
google_ui_features = "rc:6";
//-->
</SCRIPT>


<SCRIPT src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type=text/javascript>
</SCRIPT>
<!-- 구글 애드센스(이온디메인컨텐트라이트탑) 끝 --><!-- 네이버 검색순위 -->
<DIV ids="naver_rank"><IMG class=zbxe_widget_output title=네이버검색순위 style="FLOAT: left; WIDTH: 200px" height=100 src="http://eond.com/eond/common/tpl/images/widget_bg.jpg" module_srl="1" body="" widget="rank_nexearch" widget_sequence="118725" skin="sz_xe" colorset="Box_001" widget_cache="0" widget_margin_top="" widget_margin_left="" widget_margin_right="" widget_margin_bottom="" widget_fix_width="Y" widget_width="200" widget_width_type="px" widget_position="" query="nexearch"></DIV><!-- 스타일 최근이미지 --><IMG class=zbxe_widget_output title=Style style="FLOAT: left; WIDTH: 200px" height=100 src="http://eond.com/eond/common/tpl/images/widget_bg.jpg" module_srl="907" body="" widget="newest_images" widget_sequence="108278" skin="black_underline" colorset="default" widget_cache="0" mid_list="style" title_length="10" thumbnail_width="80" cols_list_count="2" rows_list_count="1" display_author="N" display_regdate="N" display_readed_count="N" display_voted_count="N" widget_margin_top="" widget_margin_left="" widget_margin_right="" widget_margin_bottom="" widget_fix_width="Y" widget_width="200" widget_width_type="px" widget_position=""><!-- 배너시작 --> 
<DIV id=banner>
<UL>
<LI><IMG src="http://eond.com/attachment/bns/my/eond_bn_90by30_2.gif" border=NaN editor_component="image_link" link_url="#"> 
<LI><IMG src="http://eond.com/attachment/bns/clip/miniwini.gif" border=NaN editor_component="image_link" open_window="Y" link_url="http://miniwini.com"> 
<LI><IMG src="http://eond.com/attachment/bns/clip/ngine_banner_03.gif" border=NaN editor_component="image_link" open_window="Y" link_url="http://2day.pe.kr"> 
<LI><IMG src="http://eond.com/attachment/bns/clip/monolife.gif" border=NaN editor_component="image_link" open_window="Y" link_url="http://mono302.com"> 
<LI><IMG src="http://eond.com/attachment/bns/clip/zizin.gif" border=NaN editor_component="image_link" open_window="Y" link_url="http://zizin.byus.net"> 
<LI><IMG src="http://eond.com/attachment/bns/clip/in2design.gif" border=NaN editor_component="image_link" open_window="Y" link_url="http://83rpm.com"></LI></UL></DIV><!-- 배너 끝 --><!--이미지카운터시작--><IMG class=zbxe_widget_output style="FLOAT: left; WIDTH: 200px" height=100 src="http://eond.com/eond/common/tpl/images/widget_bg.jpg" module_srl="907" body="" widget="image_counter" widget_sequence="110300" widget_cache="5" widget_margin_top="" widget_margin_left="" widget_margin_right="" widget_margin_bottom="" widget_fix_width="Y" widget_width="200" widget_width_type="px" widget_position="" point_color="#ed3027" unique_text_color="#666666" unique_line_color="#BBBBBB" grid_color="#9d9d9d" check_bg_color="#F9F9F9" bg_color="#FFFFFF" day_range="14" graph_height="125px" graph_width="200px"><!--이미지카운터끝--> <!--구글 링크 시작-->
<DIV id=ad_google_adsense_link>
<SCRIPT type=text/javascript><!--
google_ad_client = "pub-7200623708996327";
google_ad_width = 200;
google_ad_height = 90;
google_ad_format = "200x90_0ads_al";
//2007-09-10: eond
google_ad_channel = "9211275113";
google_color_border = "2e2e2e";
google_color_bg = "f8f8f8";
google_color_link = "666666";
google_color_text = "808080";
google_color_url = "424242";
//-->
</SCRIPT>


<SCRIPT src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type=text/javascript>
</SCRIPT>
</DIV><!-- 구글 링크 끝 --><!-- 외부링크 시작 -->
<DIV id=eond_manage_tool_link>
<UL>이온디 관리도구 링크 
<LI><A href="http://eond.com/naie" target=_blank>n@imageExplorer2</A> 
<LI><A href="http://eond.com/dir" target=_blank>WebDirectory</A> 
<LI><A href="http://immf.eond.com/index2.php" target=_blank>ImageScanner</A> 
<LI><A href="https://www.google.com/adsense/login/ko/?destination=%2Fadsense%2Fhome" target=_blank>GoogleAdsense</A> <!--  <li><a href="http://eond.com/cgi/phpmyadmin" target="_blank">phpMyAdmin</a></li> --></LI></UL></DIV><!--@end--><!-- 외부링크 끝 --><!-- 네이버 날씨 시작 -->
<DIV style="CLEAR: both"></DIV><!-- 네이버 날씨 끝 --></DIV><!--컨텐트우측끝-->


XE의 위젯은 <img class=zbxe_widget_output 코드로 시작하니, 해당 코드를 살펴보면, 9개 정도 확인 가능하네요.

1) newest_images 위젯

<IMG class=zbxe_widget_output title="" style="CLEAR: both" height=100 src="http://eond.com/eond/common/tpl/images/widget_bg.jpg" width="100%" module_srl="1" body="" widget="newest_images" widget_sequence="119897" skin="black_underline" colorset="default" widget_cache="0" mid_list="gallery,myphoto,people" title_length="8" thumbnail_width="110" cols_list_count="3" rows_list_count="2" display_author="N" display_regdate="N" display_readed_count="N" display_voted_count="N" widget_margin_top="" widget_margin_left="" widget_margin_right="" widget_margin_bottom="" widget_fix_width="" widget_width="100" widget_width_type="%" widget_position="" thumbnail_height="null" thumbnail_type="crop">

2) newest_document 위젯

<IMG class=zbxe_widget_output title="최근 포스트" style="FLOAT: left; WIDTH: 100%" height=100 src="http://eond.com/eond/common/tpl/images/widget_bg.jpg" module_srl="1" body="" widget="newest_document" widget_sequence="119899" skin="eond_blu_webzine" colorset="normal" widget_cache="0" mid_list="ani,banner,bbs,book,cf,coding,mov,music,poem,tip,zbxe" widget_margin_top="" widget_margin_left="" widget_margin_right="5" widget_margin_bottom="" widget_fix_width="Y" widget_width="100" widget_width_type="%" widget_position="left" subject_cut_size="" list_count="12" order_type="desc" order_target="list_order" duration_new="null">

3) login_member 위젯

<IMG class=zbxe_widget_output title="" style="FLOAT: right; WIDTH: 100%" height=100 src="http://eond.com/eond/common/tpl/images/widget_bg.jpg" module_srl="1" body="" widget="login_member" widget_sequence="119902" skin="default" colorset="normal" widget_cache="5" widget_margin_top="" widget_margin_left="" widget_margin_right="" widget_margin_bottom="" widget_fix_width="Y" widget_width="100" widget_width_type="%" widget_position="right" list_count="5" expire_time="10">

4) member_group 위젯

<IMG class=zbxe_widget_output title="최근 가입한 회원" style="FLOAT: right; WIDTH: 100%" height=100 src="http://eond.com/eond/common/tpl/images/widget_bg.jpg" module_srl="1" body="" widget="member_group" widget_sequence="119913" skin="default" colorset="normal" widget_cache="0" widget_margin_top="" widget_margin_left="0" widget_margin_right="" widget_margin_bottom="" widget_fix_width="Y" widget_width="100" widget_width_type="%" widget_position="right" list_count="5" target_group="준회원">

5) tag_list 위젯

<IMG class=zbxe_widget_output title="" style="CLEAR: both" height=100 src="http://eond.com/eond/common/tpl/images/widget_bg.jpg" width="100%" module_srl="1" body="" widget="tag_list" widget_sequence="119906" skin="cozy_simple" colorset="cyworld" widget_cache="0" mid_list="2u,adsense,ani,attach,banner,bbs,blog,book,build,cf,cgi,chat,coding,favimg,feedback,flow,font,friends,gallery,gallery_main,google,google_content,handwriting,hangeul,hanja,harmonica,home,html,link,login_ktf_autumn,me,member,mom,monologue,mov,music,music_xml,mwz,mybox,myphoto,naie,nalog,nick,nie,notice,pds,people,photogallery,phpinfo,poem,qna,realphoto,rp_gallery,rp_gallery_old,rp_link,rp_member,scrap,scw,scw2,service,sig,siteinfo,source,style,test,theme,tip,todaycomment,todo,webstudy,zb4,zbxe,zcount,zeroboard,zerocounter,zero_one" widget_margin_top="" widget_margin_left="" widget_margin_right="" widget_margin_bottom="" widget_fix_width="" widget_width="100" widget_width_type="%" widget_position="" list_count="26">

6) newest_comment 위젯

<IMG class=zbxe_widget_output title="" style="FLOAT: left" height=100 src="http://eond.com/eond/common/tpl/images/widget_bg.jpg" module_srl="1" body="" widget="newest_comment" widget_sequence="119909" skin="c2comment" colorset="normal" widget_cache="0" mid_list="ani,attach,banner,bbs,blog,book,build,cgi,chat,coding,favimg,flow,font,gallery,gallery_main,handwriting,hangeul,hanja,harmonica,home,link,me,member,mom,monologue,mov,music,mybox,myphoto,nalog,nick,notice,people,photogallery,phpinfo,poem,realphoto,rp_gallery,rp_gallery_old,rp_link,rp_member,scrap,scw,service,sig,siteinfo,source,style,test,theme,tip,todaycomment,todo,webstudy,zbxe,zeroboard,zerocounter,zero_one" widget_margin_top="" widget_margin_left="" widget_margin_right="" widget_margin_bottom="" widget_fix_width="Y" widget_width="100%" widget_width_type="%" widget_position="" list_count="15">

7) rank_nexearch 위젯

<IMG class=zbxe_widget_output title=네이버검색순위 style="FLOAT: left; WIDTH: 200px" height=100 src="http://eond.com/eond/common/tpl/images/widget_bg.jpg" module_srl="1" body="" widget="rank_nexearch" widget_sequence="118725" skin="sz_xe" colorset="Box_001" widget_cache="0" widget_margin_top="" widget_margin_left="" widget_margin_right="" widget_margin_bottom="" widget_fix_width="Y" widget_width="200" widget_width_type="px" widget_position="" query="nexearch"></DIV><!-- 스타일 최근이미지 --><IMG class=zbxe_widget_output title=Style style="FLOAT: left; WIDTH: 200px" height=100 src="http://eond.com/eond/common/tpl/images/widget_bg.jpg" module_srl="907" body="" widget="newest_images" widget_sequence="108278" skin="black_underline" colorset="default" widget_cache="0" mid_list="style" title_length="10" thumbnail_width="80" cols_list_count="2" rows_list_count="1" display_author="N" display_regdate="N" display_readed_count="N" display_voted_count="N" widget_margin_top="" widget_margin_left="" widget_margin_right="" widget_margin_bottom="" widget_fix_width="Y" widget_width="200" widget_width_type="px" widget_position="">

8) newest_images 위젯

<IMG class=zbxe_widget_output title=Style style="FLOAT: left; WIDTH: 200px" height=100 src="http://eond.com/eond/common/tpl/images/widget_bg.jpg" module_srl="907" body="" widget="newest_images" widget_sequence="108278" skin="black_underline" colorset="default" widget_cache="0" mid_list="style" title_length="10" thumbnail_width="80" cols_list_count="2" rows_list_count="1" display_author="N" display_regdate="N" display_readed_count="N" display_voted_count="N" widget_margin_top="" widget_margin_left="" widget_margin_right="" widget_margin_bottom="" widget_fix_width="Y" widget_width="200" widget_width_type="px" widget_position="">

9) image_counter 위젯

<IMG class=zbxe_widget_output style="FLOAT: left; WIDTH: 200px" height=100 src="http://eond.com/eond/common/tpl/images/widget_bg.jpg" module_srl="907" body="" widget="image_counter" widget_sequence="110300" widget_cache="5" widget_margin_top="" widget_margin_left="" widget_margin_right="" widget_margin_bottom="" widget_fix_width="Y" widget_width="200" widget_width_type="px" widget_position="" point_color="#ed3027" unique_text_color="#666666" unique_line_color="#BBBBBB" grid_color="#9d9d9d" check_bg_color="#F9F9F9" bg_color="#FFFFFF" day_range="14" graph_height="125px" graph_width="200px">

처음으로 돌아가서, 

Call to a member function attributes() on bool

이라는 오류니깐 아마도 회원 관련한 위젯이 아닐까 싶네요. -_-;

자 이제, 현타가 왔습니다. 내가 왜 이걸 하고 있나. 해당 페이지는 쓰고 있지도 않은데... 패스...하겠습니다. ㅠㅠ

밤새 이러고 있었다니..


phpmyadmin > xe_module > module_srl = 907 에서

content를 위 위젯 중 하나를 넣어봅니다. 그리고 xe 관리자에서 캐시 재생성을 눌러주고 home_old 페이지를 열어봅니다.

newest_images 위젯을 넣어봤는데 해당 오류가 그대로 뜨네요. 

그럼 widgets/newest_images 위젯 코드를 확인해봐야합니다. 그런데 해당 위젯 자체가 존재하지 않았습니다.


그럼 두번째 newest_document 위젯을 열어봅니다. 스킨은 eond_blu_webzine인데 이번엔 스킨 폴더가 존재하지 않았습니다. -_-;;

default로 수정하고 캐시 재생성 후 페이지를 열어봐도 해당 페이지 오류는 그대로였습니다.


세번째 위젯을 넣고 확인해봅니다. 동일합니다. (확인해보니 해당 위젯 폴더 자체가 없었군요.;;)


자, 이쯤되면 그냥 기본 위젯을 하나 아무렇게나 생성해봅니다.

<img class="zbxe_widget_output" widget="content" skin="default" colorset="white" widget_cache="0m" content_type="document" list_type="normal" tab_type="none" markup_type="table" page_count="1" option_view="title,regdate,nickname" show_browser_title="Y" show_comment_count="Y" show_trackback_count="Y" show_category="Y" show_icon="Y" show_secret="N" order_target="regdate" order_type="desc" thumbnail_type="crop" />

xe관리자 > 위젯 > 컨텐츠 위젯 생성


자 여기서도 안되면 접겠습니다. -_-;; 잘 뜨네요.. 예전 위젯 자체에 무슨 문제가 있나보네요.

여기서 느낀 점. 예전 코드는 버려야한다...


네번째 위젯 코드도 넣고 테스트해봤습니다.

동일합니다.;;


그냥 <img class=zbxe_widget_out을 [img class_zbxe_widget_out 으로 고쳐놓고 여기까지 삽질 끝!


삼항연산자 설명글

https://recoveryman.tistory.com/228

추천한 사람

 
댓글은 로그인 사용자만 작성 가능합니다. 로그인하기