웹마스터 팁

*[증상]

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





제목 글쓴이 날짜
웹 재요청 방지 및 트래픽 감소를 위한 방법 마루디자인 2015.04.06
setModule() 오류 발생시 qkrcjfgus33 2015.04.04
ie11에서 통합검색시 page가 바뀌면 검색키워드가 없어지거나 이상한 글자로 바뀌는 것에 대한 팁 garnecia 2015.04.03
[고급] 내 XE 모듈에 editor 삽입하기 [8] 개발해보쟈 2013.01.22
스케치북게시판 최신버전에 네이트온 /마이피플/플립보드 추가하는 방법 [4] file 가을풍경 2015.03.09
로고 만들기 귀찮을때^^* [1] 수백 2015.03.06
[스케치북5] 댓글 수정 간략화하기.. (새로고침 없이 하는 방법 추가) [16] file XE만세 2014.01.05
php 5.6에서 인증메일 SMTP 연결에 실패할때.. file 루비스코 2015.03.31
한국 ip list 범위 체크 및 데이터 갱신 마루디자인 2015.03.30
APACHE 2.4.9이상 버전에서 응답속도 향상 nikestudio 2015.03.28
확장 컴포넌트 아이콘 출력 하기 [2] file 귀머거리하늘 2013.10.18
서버의 인코딩(캐릭터셋) 환경 세팅 개념. encoding, charset, characterset, unicode, utf-8, 유니코드 마루디자인 2015.03.23
php 업그레이드 후 mb_strcut 에러 문제 콜롬보. 2015.03.21
타임라인 모듈 회원 작성글/저장글 버그 오류 수정 [7] socialskyo 2015.03.20
누리고 쇼핑몰 - 배송비가 표시 안되는 경우에 [7] garnecia 2015.01.31
누리고 Ncart V1.6.1 주문페이지에서 총구매금액에 배송비가 선결제, 착불과 상관없이 무조건 포함되어 표시되는 문제 수정방법 [2] XE템플릿 2015.03.12
게시판 가로사이즈 조절과 가운데 정렬 [1] Filmfx 2013.11.02
CentOS 에서 iptables 편집후 실행이 안될때 마루디자인 2015.03.17
[SocialXE] 트위터 로그인시 프로필 사진이 표시되지 않는 문제 해결하기 [3] file TUW 2013.02.03
카카오 API로 로그인창 만들어 봤어요~~ ^^ [6] file 컴박살 2015.02.12