[eluser]enigmas[/eluser]
I'm using CI 1.72 with PHP 5.2.17, when I open a method of controller in browser, I got a lot of errors that says that form/url/cookie helpers' functions are not found, but these helper are being loaded in "function __construct()"
Everything is looking like "function __construct()" is not called...
Did anybody have such problem..?
PS: If I move all helpers loaders from "function __construct()" to the beginning of the method functions, everything is working.
Code:
class Login extends Login_Controller {
function __construct() {
parent::__construct();
$this->load->helper(array('form','url','html', 'cookie'));
$this->load->library('form_validation');
$this->load->library('session');
$this->load->model('login_model');
}
more strange that same code works well with php 5.2.14