웹마스터 팁

*[증상]

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





제목 글쓴이 날짜
xe를 업데잇 하며 얻은 중대한 경험담. [4] Blue Apple 2010.06.01
XE 최근 업데이트후 CSS background이 안먹히는 현상 해결. 소렌트. 2010.06.02
XE 트위터 모임 해쉬태그 " #XE당_" 로 더 가까워집시다! [3] DJinside 2010.06.24
XE 속도 향상 팁 (코어 수정 팁) [6] SMaker 2010.06.26
웹호스팅 이전에따른 zb4에서 xe로 디비 이전하기 김선호489 2010.06.29
관리자에게 무제한 추천기능 부여 (XE Core 수정) [8] sejin7940 2010.06.30
XE 기본 서식 - 검정 바탕용 : p, div, br 없는 기본 서식입니다. [5] file LutZ 2010.07.01
XE 업데이트 방법 - 제3편 (1.2.4 에서 1.4.4.1 이상의 최신버전으로 업그레이드) + 문제대응 [8] Gekkou 2010.07.07
XE 라이센스에 대한 FAQ [3] 행복한고니 2010.07.07
윈도우서버에 설치된 XE에서 이슈트래커의 코드열람 사용시 proc_open 함수 에러가 발생 할때. [1] file Na5key 2010.07.08
XE 용량 효과적으로 줄이기 [13] 코스트렐리아 2010.07.30
안전하게 XE 업데이트 하기 [1] mindpainter 2010.08.24
초보자도 따라하는 XE로 홈페이지 만들기 강좌 포스트입니다. [2] 놀라운넘 2010.08.27
PHP 5.3.X 버전 사용자들 중 XE 최신버전의 위젯 생성, 텍스타일 등에서의 에러날 때... 비나무 2010.10.03
XE에서 설문조사시 비회원 참여하는 방법 있을까요? [1] file hellosamyoo 2010.10.12
XE 속도 0.0001초라도 올리는 소소한 팁들 (추가) [5] 소렌트. 2010.11.16
호스팅비 돈아낍시다. 하나의 XE 다중 도메인 사용하기. [10] kimnada 2010.12.02
ftp나 mysql 암호 변경시 일어나는 ''db 접속시 에러' XE 샷타이거 2010.12.08
XE 공식 게시판에 (다운로드) 같은 '임의목록' 집어 넣기 (확장변수x) [1] file 999 2010.12.30
함수] Exec 함수에 대한 간략한 설명 [3] NS 2004.03.05