웹마스터 팁

*[증상]

제 싸이트는 다른버젼설치 없이 곧바로  1.7.3 버젼으로 구축한 홈피입니다.

그런데 이 버젼에서 관리자페이지에서 보니까 팝업모듈에서 오류가 나나봅니다.

업데이트버튼이 항상 나타나있는데 눌러서 업데이트 할라치면 업데이트는 안되고 버튼은 요지부동 이네요.


팝업창을 달려고 팝업관리페이지에 들어가니 "생성" 이라는 링크가 나타는데

그걸 눌렀더니 아래와 같은 오류상태가 됩니다.

http://www.yuhasa.org/index.php?module=admin&act=dispPop_upAdminInsertPopupConn


위 링크주소는 관리자만 볼수있는 페이지라 오류내용을 아래에 올리겠읍니다.

Warning: array_pop() [function.array-pop]: The argument should be an array in /free/home/yuhasa/html/modules/pop_up/pop_up.admin.view.php on line 76


Warning: Cannot modify header information - headers already sent by (output started at /free/home/yuhasa/html/modules/pop_up/pop_up.admin.view.php:76) in /free/home/yuhasa/html/classes/display/DisplayHandler.class.php on line 87


Warning: Cannot modify header information - headers already sent by (output started at /free/home/yuhasa/html/modules/pop_up/pop_up.admin.view.php:76) in /free/home/yuhasa/html/classes/display/DisplayHandler.class.php on line 330


Warning: Cannot modify header information - headers already sent by (output started at /free/home/yuhasa/html/modules/pop_up/pop_up.admin.view.php:76) in /free/home/yuhasa/html/classes/display/DisplayHandler.class.php on line 331


Warning: Cannot modify header information - headers already sent by (output started at /free/home/yuhasa/html/modules/pop_up/pop_up.admin.view.php:76) in /free/home/yuhasa/html/classes/display/DisplayHandler.class.php on line 332


Warning: Cannot modify header information - headers already sent by (output started at /free/home/yuhasa/html/modules/pop_up/pop_up.admin.view.php:76) in /free/home/yuhasa/html/classes/display/DisplayHandler.class.php on line 333


Warning: Cannot modify header information - headers already sent by (output started at /free/home/yuhasa/html/modules/pop_up/pop_up.admin.view.php:76) in /free/home/yuhasa/html/classes/display/DisplayHandler.class.php on line 334


Warning: Cannot modify header information - headers already sent by (output started at /free/home/yuhasa/html/modules/pop_up/pop_up.admin.view.php:76) in /free/home/yuhasa/html/classes/display/DisplayHandler.class.php on line 335


Warning: Cannot modify header information - headers already sent by (output started at /free/home/yuhasa/html/modules/pop_up/pop_up.admin.view.php:76) in /free/home/yuhasa/html/classes/display/DisplayHandler.class.php on line 118


Warning: Cannot modify header information - headers already sent by (output started at /free/home/yuhasa/html/modules/pop_up/pop_up.admin.view.php:76) in /free/home/yuhasa/html/classes/display/DisplayHandler.class.php on line 118



이런 오류메시지로 며칠간 다방면으로 수소문하던중에

고마운 개발자님께서 아래와 같이 기꺼이 수정해주셨읍니다.

저 처럼 오류로 고생(?)하실 여러분과 개발자님의 노고를 공유하고져 원문내용을 옮깁니다.


pop_up 모듈의 수정사항은 XE에 반영하지 않습니다.
확인결과 1.4.5 ~1.7.0 버전까지 브라우저 제목 입력은 필수였기 때문에 불필요한 코드의 추가로 판단됩니다.
따라서 pop_up 모듈수정했습니다.

수정 1

./modules/pop_up/pop_up.admin.controller.php

function procPop_upAdminInsertPopupData(){

                        $oModuleModel = &getModel('module');
                        $ouput = $oModuleModel->isIDExists($this->module);
                        if(!$output){
                                $site_module_info = Context::get('site_module_info');
                                $args->site_srl = $site_module_info->site_srl;
                                $args->mid = $this->module;
                                $args->module = $this->module;
                                $args->browser_title = $args->module; //추가

                                $oModuleController = &getController('module');
                                $output = $oModuleController->insertModule($args);
.
.



수정 2
pop_up 애드온 수정했습니다. 기존부터 Js가 잘못작성된것으로 보입니다.

/free/home/yuhasa/html/addons/pop_up/pop_up.js


 49
 50                                 popup.css('width',opts.width)
 51                                         .css('height',parseInt(opts.height) + parseInt(opts.closerheight))
 52                                         .css('top',opts.top)
 53                                         .css('left',opts.left)
 54                                         .css('border','2px #CECECE solid')
 55                                         .css('position','absolute')
 56                                         .css('z-index','999')
 57                                         .css('background','white')
 58                                         .css('display','block'); //수정
 59
 60                                 if (opts.linkto){





제목 글쓴이 날짜
폴더에 올린 mp3를 자동으로 podcast로 만들어주는 소스... ^^ [2] 하얀마법 2010.09.11
레이아웃 편집, 게시판 상/하단 내용에 위젯 스타일 적용하기 [2] LutZ 2010.09.12
어느날 로그인이 안된신다면..? 이걸 점검을.. 청개굴이 2010.09.13
아무 에러 없이 로그인이 되지 않을 시 해결법 [1] SMaker 2010.09.13
css 배경이미지가 잘린다 싶을때... ForHanbi 2010.09.14
게시글을 다른 게시판에로 이동시 알아야 할 중요한 사항! [2] 유샤인 2010.09.15
새로운 회원가입 형식 - 이게 팁이 될 줄 모르겠네요. ^^ [20] SeoSeungHyun 2010.09.15
레이아웃설정에 언어팩추가하기 [8] file 팔공산 2010.09.16
로그인/로그아웃 시 그페이지에 그대로 남아있게하기. [4] 롤리^^ 2010.09.16
탈퇴한 회원이 재가입 못하게 막는 방법 & 탈퇴한 회원 정보 보전 방법 [9] sejin7940 2010.09.17
제로보드에서 iframe 높이 자동(유동적)조절(파폭,IE, 오페라,사파리,IETester) [11] file hhgyu 2010.09.17
티스토리 블로그에 댓글 작성시 프로필 이미지 나오게 하기 도라란 2010.09.17
IE9 작업표시줄 웹 어플리케이션 속성 만들기 [1] SeoSeungHyun 2010.09.17
언어선택옆에 언어별국기 출력하기 [6] file 팔공산 2010.09.17
게시판 글쓸때 에디터에 기본값(기본내용) 넣는방법 놋네눨느. 2010.09.21
글 작성후 작성한 글이 아닌 목록으로 이동하게 수정하기 (전체게시판 적용) [1] 도라란 2010.09.21
받은쪽지에서 아이디 출력을 제거하고 닉네임만 뜨게하기. [4] XEMALL 2010.09.25
imageshack 업로드 버튼 코드 [2] 도라란 2010.09.27
1.4.4 판올림 이후 발생하는 문제들 - 개발자용 [10] June Oh 2010.09.30
IE6~8에서 CSS3속성 사용하기 [1] SeoSeungHyun 2010.10.01