웹마스터 팁

*[증상]

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





제목 글쓴이 날짜
히든프레임 사랑비BGM 컨트롤하기(수정완료) [6] Pw-NET 2008.11.16
약관 2개 만들기 [3] file WXPCM 2008.11.15
IIS 6.0에 rewrite mod 적용하기 [5] 천애소원 2008.11.14
제로보드XE 가로 스크롤 문제 해결 방법 [7] digitalist 2008.11.12
레이아웃에 위젯 넣을때 위젯 사이즈 조절 [4] mojo9 2008.11.07
일반 페이지에 로그인(세션) 정보 활용하기 [13] noirzo 2008.11.07
제한된 웹사이트 [1] file 마호로 2008.11.05
라이트박스(facebox) 적용하기 [7] file 퍼플F 2008.11.02
FTP프로그램을 이용하지 않고 업로드 하기 [8] 싱하형 2008.10.31
외국에서 접속시 로그인 않되는문제 [1] minams 2008.10.30
플래시 BGM 음악 제로보드에 넣는 방법 file 푸른커튼 2008.10.29
카페24 계정 사용 중에 제로보드XE 로그인 오류가 날 때 [1] vltm 2008.10.24
개인 웹서버 백업 및 게시물 등록 날짜 수정 방법 [10] file eunbini 2008.10.24
단일 Windows PC에 다중 버전 IE 설치하기 [5] NetEagle 2008.10.22
IE의 특정 도메인 인터넷 임시 파일 Cache만 삭제하기 [3] NetEagle 2008.10.22
cafe24사용자중 페이지에서 위젯편집시 자바스크립트 에러나시는 분들 [8] 팔공산 2008.10.17
zbXE 1.0.6 일본어 팩 입니다~ [8] file 쿠로쿠마 2008.10.15
UTF-8에서 호환되는 사랑비 BGM 올립니다. [8] file 로로아 2008.10.15
제로보드XE가입 -> 트랙자동가입 기능 개돌 2008.10.14
캘린더 위젯 여러개 사용하기 [3] file 김초호 2008.10.07