Skip to content

Tag: codeigniter

Call to undefined method CI_Loader::library()

When I want to submit a post a get this type of error. I try to change everything starting from database field to my view but every time when I run a code I get same error but can not see where is the problem Posts Controller Posts Model The error is in line 74, error message: Call to undefined

Codeigniter – My form validation callback doesn’t work

I have tried to copy from Codegniter’s documentation, but I can’t make form validation callbacks working. I added helper form, url and library form_validation. It’s not working and always returns “false” Controller View Answer Extend your form_validation library in Libraries.php …