CI 묻고 답하기

제목 익스플로러에서 모델이 2번 실행되요
글쓴이 CI초보에요 작성시각 2016/04/29 12:22:58
댓글 : 1 추천 : 0 스크랩 : 0 조회수 : 15065   RSS

CI 시작 한지 한달된 초보입니다.

그동안 크롬에서만 작업을 하다가

익스플로러에서 테스트 중인데요

DB가 두번씩 실행 되는 문제가 생겨 이렇게 자문을 구합니다. ㅜㅜ

크롬, 파폭, 사파리에서는 정상인데 익스에서만 이러네요

DEBUG - 2016-04-29 12:51:05 --> Config Class Initialized
DEBUG - 2016-04-29 12:51:05 --> Hooks Class Initialized
DEBUG - 2016-04-29 12:51:05 --> Utf8 Class Initialized
DEBUG - 2016-04-29 12:51:05 --> UTF-8 Support Enabled
DEBUG - 2016-04-29 12:51:05 --> URI Class Initialized
DEBUG - 2016-04-29 12:51:05 --> Router Class Initialized
DEBUG - 2016-04-29 12:51:05 --> Output Class Initialized
DEBUG - 2016-04-29 12:51:05 --> Security Class Initialized
DEBUG - 2016-04-29 12:51:05 --> Input Class Initialized
DEBUG - 2016-04-29 12:51:05 --> Global POST and COOKIE data sanitized
DEBUG - 2016-04-29 12:51:05 --> Language Class Initialized
DEBUG - 2016-04-29 12:51:05 --> Config Class Initialized
DEBUG - 2016-04-29 12:51:05 --> Hooks Class Initialized
DEBUG - 2016-04-29 12:51:05 --> Utf8 Class Initialized
DEBUG - 2016-04-29 12:51:05 --> UTF-8 Support Enabled
DEBUG - 2016-04-29 12:51:05 --> URI Class Initialized
DEBUG - 2016-04-29 12:51:05 --> Loader Class Initialized
DEBUG - 2016-04-29 12:51:05 --> Router Class Initialized
DEBUG - 2016-04-29 12:51:05 --> Helper loaded: url_helper
DEBUG - 2016-04-29 12:51:05 --> Output Class Initialized
DEBUG - 2016-04-29 12:51:05 --> Security Class Initialized
DEBUG - 2016-04-29 12:51:05 --> Input Class Initialized
DEBUG - 2016-04-29 12:51:05 --> Global POST and COOKIE data sanitized
DEBUG - 2016-04-29 12:51:05 --> Language Class Initialized
DEBUG - 2016-04-29 12:51:05 --> Database Driver Class Initialized
DEBUG - 2016-04-29 12:51:05 --> Loader Class Initialized
DEBUG - 2016-04-29 12:51:05 --> Helper loaded: url_helper
DEBUG - 2016-04-29 12:51:05 --> Session Class Initialized
DEBUG - 2016-04-29 12:51:05 --> Helper loaded: string_helper
DEBUG - 2016-04-29 12:51:05 --> Session routines successfully run
DEBUG - 2016-04-29 12:51:05 --> Controller Class Initialized
DEBUG - 2016-04-29 12:51:05 --> Config file loaded: application/config/production/he_config.php
DEBUG - 2016-04-29 12:51:05 --> File loaded: application/views/common/head.php
INFO  - 2016-04-29 12:51:05 --> head1
DEBUG - 2016-04-29 12:51:05 --> Database Driver Class Initialized
DEBUG - 2016-04-29 12:51:05 --> Helper loaded: form_helper
DEBUG - 2016-04-29 12:51:05 --> Form Validation Class Initialized
INFO  - 2016-04-29 12:51:05 --> head2
DEBUG - 2016-04-29 12:51:05 --> Language file loaded: language/english/form_validation_lang.php
INFO  - 2016-04-29 12:51:05 --> 3
DEBUG - 2016-04-29 12:51:05 --> Session Class Initialized
DEBUG - 2016-04-29 12:51:05 --> Helper loaded: string_helper
DEBUG - 2016-04-29 12:51:05 --> Session routines successfully run
DEBUG - 2016-04-29 12:51:05 --> Controller Class Initialized
DEBUG - 2016-04-29 12:51:05 --> Config file loaded: application/config/production/he_config.php
DEBUG - 2016-04-29 12:51:05 --> File loaded: application/views/common/head.php
INFO  - 2016-04-29 12:51:05 --> head1
DEBUG - 2016-04-29 12:51:05 --> Helper loaded: form_helper
DEBUG - 2016-04-29 12:51:05 --> Form Validation Class Initialized
INFO  - 2016-04-29 12:51:05 --> head2
DEBUG - 2016-04-29 12:51:05 --> Language file loaded: language/english/form_validation_lang.php
INFO  - 2016-04-29 12:51:05 --> 3
INFO  - 2016-04-29 12:51:05 --> ===>user_model 객체 로드
DEBUG - 2016-04-29 12:51:05 --> Model Class Initialized
DEBUG - 2016-04-29 12:51:05 --> Model Class Initialized
INFO  - 2016-04-29 12:51:05 --> ===>회원가입 메소드 호출
INFO  - 2016-04-29 12:51:05 --> 모델1
INFO  - 2016-04-29 12:51:05 --> 모델2
INFO  - 2016-04-29 12:51:05 --> db_insert_id값===>5
INFO  - 2016-04-29 12:51:05 --> ===>user_model 객체 로드
DEBUG - 2016-04-29 12:51:05 --> Model Class Initialized
DEBUG - 2016-04-29 12:51:05 --> Model Class Initialized
INFO  - 2016-04-29 12:51:05 --> ===>회원가입 메소드 호출
INFO  - 2016-04-29 12:51:05 --> 모델1
DEBUG - 2016-04-29 12:51:05 --> DB Transaction Failure
ERROR - 2016-04-29 12:51:05 --> Query error: Duplicate entry 'x32323' for key 'userid'
DEBUG - 2016-04-29 12:51:05 --> Language file loaded: language/english/db_lang.php

 

 다음글 헬퍼에서 선언한 변수 다른 곳(컨트롤러등)에서 호출 방... (2)
 이전글 컨트롤러단이 너무 커질때 ???? (3)

댓글

CI초보에요 / 2016/04/29 15:15:00 / 추천 0

문제를 찾았습니다.ㅡㅡ;;;;;

뷰페이지의 submit이 두번이 들어가 있어서 그런거였네요 ㅜㅜ