묻고답하기

안녕하세요

게시판 하단에 보이는 page navigation 문제인데요

<< 1 2 3 4 5 6 7 8 9 >> 이런 상태에서 7 page를 누르면 화면 좌측 상단에 '7' 이라는 숫자만 나옵니다

사이트 링크는 http://www.homestaykorea.com/?mid=page_homestay_searchhost 입니다

http://www.homestaykorea.com/?mid=page_homestay_searchhost&page=7 이렇게 되면 결과값이 '7'만 나옵니다

 

특정 게시판에서만 나오는 문제가 아니라 XE Admin '회원관리' 같은 화면에서도 동일한 문제가 발생합니다

몇 주전에 이런 문제가 발생해서 문제 발생 전 소스로 복원을 했더니 문제가 없어졌는데 (그래서 DB 문제는 아니겠죠?)

내부적으로 Source 를 건드린 적이 없는데도 보름만에 다시 이런 문제가 발생하네요

현재 XE 1.4.4.4 버전이구요

XE 캐시파일 문제일까요?

보름 전 에러 발생 당시 root 에 php_error.log 파일에 보면 

'PHP Fatal error: Call to a member function getNextPage() on a non-object in /home/hosting_users/sngutd/www/classes/template/TemplateHandler.class.php(220) : eval()"d code on line 91'이런 메시지가 있었는데 소스 데이타 복원 후에는 이런 메세지도 없었는데 다시 문제가 발생했네요 ㅠㅠ

꼭 답변 부탁드립니다~~

TemplateHandler.class.php 파일에서 line 91 부분은 아래와 같습니다

=====================================================

71        /**
72         * @brief compiles specified tpl file and execution result in Context into resultant content 
73         * @param[in] $tpl_path path of the directory containing target template file
74         * @param[in] $tpl_filename target template file's name
75         * @param[in] $tpl_file if specified use it as template file's full path 
76         * @return Returns compiled result in case of success, NULL otherwise 
77         */
78        function compile($tpl_path, $tpl_filename, $tpl_file = '') {
79            // store the starting time for debug information
80            if(__DEBUG__==3 ) $start = getMicroTime();

82            // initiation
83            $this->init($tpl_path, $tpl_filename, $tpl_file);

85            // if target file does not exist exit
86            if(!$this->file || !file_exists($this->file)) return sprintf('Err : "%s" template file is not exists.', $this->file);

88            $source_template_mtime = filemtime($this->file);
89            $latest_mtime = $source_template_mtime>$this->handler_mtime?$source_template_mtime:$this->handler_mtime;

91            // cache controll
92            $oCacheHandler = &CacheHandler::getInstance('template');

94            // get cached buff
95            if($oCacheHandler->isSupport()){
                $cache_key = 'template:'.$this->file;
                $this->buff = $oCacheHandler->get($cache_key, $latest_mtime);
            } else {
                if(file_exists($this->compiled_file) && filemtime($this->compiled_file)>$latest_mtime) {
                    $this->buff = FileHandler::readFile($this->compiled_file);
                }
            }

            if(!$this->buff) {
                $this->parse();
                if($oCacheHandler->isSupport()) $oCacheHandler->put($cache_key, $this->buff);
                else FileHandler::writeFile($this->compiled_file, $this->buff);
            }

            $output = $this->_fetch();

            // store the ending time for debug information
            if(__DEBUG__==3 ) $GLOBALS['__template_elapsed__'] += getMicroTime() - $start;

            return $output;
        }

 

글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
시원한물냉 게시판 정렬순서 바꾸기 [1] 2016.06.22 by sejin7940
OndineJ 영상 태그를 달았을때 글 등록이 안됩니다ㅠㅠ  
리인 ie에서 이미지 리사이징이 안 됩니다.  
멍멍 위젯에서 ipaddres질문입니다 [2] 2016.06.22 by 멍멍
산소남 유튜브 소스 붙여넣으면 전체화면이 안되요  
제투 스케치북 질문드립니다 [1] file 2016.06.22 by sejin7940
토레노 XE모바일모드 질문 [2] 2016.06.22 by 토레노
dev_**** xe 로그인 관련 문의드립니다. [2] 2016.06.22 by dev_****
흑사탕 스케치북5 게시판 댓글작성자 [10] 2016.06.22 by 흑사탕
Eric XE 설치 HTTP500 에러(최초설치) [4] 2016.06.22 by Eric
큐원 단어차단 애드온이 안되는데 도움 부탁드립니다 [2] 2016.06.21 by 큐원
기서피 누리고 정식모듈 설치 후 문제점인데요!! file  
사각고릴라 관리자페이지에서 게시판수정에 문제가 있습니다.  
elancer 사용자정의의 링크를 글제목과 썸네일에 적용하고 싶습니다. [1] 2016.06.21 by DoorWeb
토레노 안녕하세요~텍스트링크에 관해서 질문드립니다. [2] 2016.06.21 by 토레노
일홍 슬라이드에 화살표를 넣고 싶습니다. [1] 2016.06.21 by Ansi™
taekim4009 메뉴에 바로가기로 되어 있는 제목을 눌렀을때 반응이 없게 할수 있을까요? [1] 2016.06.21 by DoorWeb
행복공간공방 xedition 서브 타이틀 문의.. [1] 2016.06.21 by sejin7940
ben****0efa3 게시판 Page navigation 문제 [1] 2016.06.21 by sejin7940
어라얼랑 최근 로그인 회원 정보 가져오는 방법 문의 드려요  
모몽 Rest Bootstrap 게시판 스킨 사용중인데요 포인트색을 변경할수 있을까요? file  
chorok 스팸 댓글 삭제 file  
xe사용자권한 xe오류같은데 좀 도와주세요 ㅠㅠ  
펀펀74 일반페이지에 사용권한 주는 방법? [1] 2016.06.20 by Ansi™
제투 말머리 질문드립니다 [1] file 2016.06.20 by sejin7940
jane777 혹시 스케치북5 게시판 유형중에 [1] file 2016.06.20 by sejin7940
브랜든a embed 모든 사이트권한 주는방법 없나요? [4] 2016.06.20 by 브랜든a
뻬빠 회원가입 인증메일 문의(다음메일) [2] 2016.06.20 by 뻬빠
하늘384 xe core upgrade  
이온디 $main_menu->list 에 모두 포함된 mid를 찾고자 할 경우..