묻고답하기

안녕하세요

게시판 하단에 보이는 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 남기남
tilerben 선생님들 저좀 도와주실래요..ㅠ AWS에 XE설치를... [1] 2017.02.27 by 기진곰
홍찬 모듈 미삭제하고 업데이트후 DB자동생성  
녹향 이미지에 관한 문의 [2] 2017.02.27 by 녹향
이벤트서치 위젯박스에서 몇가지 배너가 돌아가는 롤링 위젯은 어디서 구하나요? [2] 2017.02.26 by 이벤트서치
nimm 다중에디터질문.. [1] 2017.02.26 by HowtoXE
승강기닷컴 모바일 화면크기문제 [2] file 2017.02.26 by i100doo
xe초보 누리고 ADMIN 각 메뉴 클릭 에러 내용인데 해결 가능한가요? [1] 2017.02.26 by HowtoXE
inseo 모바일에서도 특정 그룹만 제목 색, 굵기, 공지 지정을 가능하게 하고 싶습니다. [1] file 2017.02.26 by HowtoXE
보로봉봉 XE 게시판 글 CSV 파일로 추출 가능? [2] 2017.02.26 by HowtoXE
펭구 레이아웃 css 수정 406 에러 문의 [2] 2017.02.26 by 펭구
i100doo PHP 업데이트에 대한 초보의 간절한 질문. [8] 2017.02.26 by GG
inseo 글 클릭하면 글과 댓글 사이에 목록 아이콘을 뜨게 하고 싶습니다. [2] file 2017.02.26 by inseo
주방이모 ckeditor "가로 줄 삽입" 문의드립니다. [1] file 2017.02.26 by HowtoXE
cero 업그레이드 이후 한글 깨짐 현상 [1] 2017.02.26 by 펭구
잡순이 XE 글을 쓸때 특정 단어(금칙어)를 입력하면 등록이 안되는데..해결좀 ㅠㅠ [1] 2017.02.25 by 잡순이
miso77 홈페이지 이전 문의드립니다.. [2] 2017.02.25 by miso77
amaq 'update_nick_name 값은 필수입니다' 오류 [2] 2017.02.25 by amaq
우랑탕탕이 레이아웃에 위젯넣을 때 위젯 스타일 적용 방법중에서...  
홈런볼11 게시물 일부 내용 회원만 보이게 하기 [1] 2017.02.24 by sejin7940
빗소리 html 수정하는 법 [2] 2017.02.24 by 닉네임설정한시간째