[eluser]Unknown[/eluser]
Code:
function signup()
{
$this->load->library('url');
$this->load->library('form_validation');
$this->form_validation->set_rules('username', 'Username', 'trim|required|min_length[5]|max_length[12]|xss_clean|callback_username_check');
$this->form_validation->set_rules('password', 'Password', 'trim|required|matches[passwordConfim]|md5');
$this->form_validation->set_rules('passwordConfirm', 'Password Confirmation', 'trim|required');
$this->form_validation->set_rules('email', 'Email', 'trim|required|valid_email');
if($this->form_validation->run() == FALSE)
{
$this->load->view('user_signup');
}
else
{
$this->load->view('user_signedup');
}
}
I am getting this error: An Error Was Encountered
Unable to load the requested class: url
Same happens if I try to load in the form helper. I actually was using an array from the Form validations. I'm doing the development on my local machine. It's a MBP running 10.6.3. PHP info: PHP Version 5.3.2.
Any ideas why I cannot load my helper libraries?