CI 묻고 답하기

제목 html 출력 다시 문의 합니다.
글쓴이 citests 작성시각 2015/04/07 09:49:26
댓글 : 1 추천 : 0 스크랩 : 0 조회수 : 13236   RSS
html 출력 다시 문의 합니다.
저번에 질문 드린것 처럼 많은 량에 html 을 한꺼번데 출력하면 컨트롤러를 호출 하면
페이지가 응답이 없어 집니다.
어떤 에러도 없이 그냥 빈 화면이 출력되고 중지 합니다..

데이터 건수를 확인 해보니 1500 건 까지는 출력이 되는데 그 이상의 데이터를 출력 할려고 하면 위 와 같은 현상이 일어납니다.
그리고 1500 건 정도 출력시 페이지 로딩 시간이 꽤 오래 걸립니다.
sql 처리 속도는 1 초도걸리지 않습니다.

혹시 코드이그나이터에 html 출력을 제어하는 컨트롤러가 있나요 ??
또 설정 부분에서 수정 해 주여야 할 파일 있을 까요??

데이터출력시 업무 특성상 페이지을 할 수 없어서 그럽니다..

아래 소스 파일 내용 입니다.


                                                                                foreach ($list as $row) {
                                            여기에 조건 문 10 개
                                            ?>

                                           
                                           
                                           

                                           

                                               

                                                   
                                               

                                               

                                                   
                                               

                                               

                                                   
                                               

                                               

                                                   
                                               

                                               

                                                   
                                               

                                               

                                                   
                                               

                                               

                                                                                                                                                                                    foreach ($acomm_code_list as $acomm_row) {                                                                     $asname = $acomm_row['NAME'];                                                                     ?>                                                                >                                                                                                                                                                                미정                                                                                                                                 foreach ($bcomm_code_list as $bcomm_row) {                                                                     $bsname = $bcomm_row['SNAME'];                                                                     ?>                                                                >                                                                                                                         ?>                                                                                                            
                                               

                                               

                                                   
                                                   
                                                   
                                                       
                                                   
                                                       
                                                   
                                               

                                               

                                                   
                                               

                                               

                                                   
                                               

                                               

                                                   
                                               

                                               

                                                   
                                               

                                               

                                                   
                                               

                                               

                                                   
                                               

                                               

                                                   
                                               

                                               

                                                   
                                               

                                               

                                                   
                                                   
                                               

                                               

                                                   
                                               

                                               

                                                   
                                               

                                           

                                           


                                           

                                                                                        $i++;
                                        }
                                        ?>
                                       


/// 여기까지 뷰 파일 내용 입니다.

//데이터를 뷰 화면에 보내는 내용 입니다.

$data['list'] = $this->db_m->getList($sql, 'HYS');

//models 에 db_m 파일 내용 입니다.

function getList($sql, $db) {
        $query = $this->$db->query($sql);
        $result = $query->result_array();
        return $result;
    }



답변 부탁 드리겠습니다.

 
 다음글 seed로 암호화해서 디비 입력했는데요 (2)
 이전글 Server 재구동 시 Session 처리 (5)

댓글

변종원(웅파) / 2015/04/07 10:46:05 / 추천 0
메모리 리밋에 걸리거나 실행 타임아웃에 걸려서 그런 것 같네요.

php.ini memory 또는 timeout 으로 검색해서 php.ini 수정하고 웹서버 재실행 하고 다시 해보세요.