웹마스터 팁

*[증상]

제 싸이트는 다른버젼설치 없이 곧바로  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){





제목 글쓴이 날짜
iframe을 이용한 악성코드 침투 - 치료 및 대응법 (검블러 or GENO) [8] file 미루819 2009.10.01
비회원 글쓰기가 되지 않을 경우.. 태쥐 2009.10.01
첨부한 압축파일이 손상되는 이유와 그 해결 (CRC 오류) Gekkou 2009.10.03
위젯에서 페이지 기능 활용 팁 [3] 라르게덴 2009.10.05
파일 첨부시 사라지는 현상 [6] Isaac Shepherd 2009.10.07
-추가- 당신의 XE 기반 홈페이지를 훅가게 하는 방법 4가지 [26] 老姜君 2009.10.08
제로보드4->XE 데이터 이전 시 회원 정보 오류 / 포인트 문제 [10] 개돌 2009.10.08
최근게시물의 캐시파일을 일반문서에 불러들이기 [2] 고진감래 2009.10.09
[확장변수] 게시물을 새창에서 전체화면으로 보기 [2] file 고진감래 2009.10.09
[초보] 본문 하단에 구글 애드센스 삽입방법 [2] BigSeong 2009.10.10
로그인 폼에 관리자는 [Admin] 나타나게 하기 [4] file 오스카 2009.10.10
모르지오 레이아웃 사용시 각종 [배경이미지] 넣어도 안 나타날 경우 [2] 오스카 2009.10.10
레이아웃에서 배경이미지를 좌-아래에 넣을 경우 오스카 2009.10.10
게시판에서 비회원 메일 주소 확인하기 똑디 2009.10.12
플래너 "한줄공지" 가 삭제되지 않는 경우 의 임시대응법 [2] file Gekkou 2009.10.13
textyle Domain 접속방법 [5] file 왜만지냐 2009.10.15
textyle에 믹시업 위젯 달기 [1] 명희남편 2009.10.15
DB 이전시 오류 해결,,,하하하하...끝네 해결 했음.... file Crazyhouse.cn 2009.10.16
웹진/갤러리에서 썸네일 클릭 시 원본 이미지 보기 + HighSlide JS 적용 (수정) [18] 고진감래 2009.10.17
간단한 위키링크 흉내내기 [5] 고진감래 2009.10.17