| 제목 | CI 책 챕터 7 사용자인증 helper 이슈 | ||
|---|---|---|---|
| 글쓴이 | 슈퍼장 | 작성시각 | 2016/01/28 17:33:41 |
|
|
|||
public function login(){
$this->load->library('form_validation');
$this->load->helper('alert');
$this->form_validation->set_rules('username', '아이디', 'required|alpha_numeric');
$this->form_validation->set_rules('password', '비밀번호', 'required');
echo '';
if($this->form_validation->run() == TRUE){
$auth_data = array(
'username' => $this->input->post('username', TRUE),
'password' => $this->input->post('password', TRUE)
);
위처럼 코드를 짯는데(길이가 길어서 중간에서 끊었습니다.) 페이지 호출해보면 아래와같이 에러가 찍힙니다. helper디렉토리안에 alter_helper.php가 안보여서 제 생각에는 alter 헬퍼를 다운받아서 넣어두면 해결될 것 같습니다. 검색능력이 부족한지 아직 alert 헬퍼를 못 찾고 있는데요. 제가 생각한게 맞다면 alert 헬퍼 어디서 구할 수 있는지 알려주시면 감사하겠습니다. 혹시 다른게 문제라면 알려주시면 감사하겠습니다! Unable to load the requested file: helpers/alert_helper.php |
|||
| 다음글 | 조회수 쿼리부분 좀 봐주세요 (4) | ||
| 이전글 | 페이징 처음으로 이전 고정하는 법 (2) | ||
|
변종원(웅파)
/
2016/01/28 18:20:11 /
추천
0
|
책 질문답변 게시판이 따로 있습니다.
서문에 명시되어 있고 소스 다운로드 주소도 서문에 있습니다.
http://cikorea.net/cibook/view/685/page/1
헬퍼문제는 대표적인 오탈자입니다. ^^;