[eluser]tolinho[/eluser]
Hi.
I see this thread's last update has been 3years ago...
Anyway...
I'm testing codeigniter and I found "davidbehler's" script.
I managed to get it tracking the visits.
If I check the database all data is there.
Now on my dashboard I'm tryng to get the results
I added:
$this->load->library('user_agent');
$this->load->model('Tracker_model');
//$this->tracker_model->get_hits(FALSE, FALSE, TRUE);
$this->tracker_model->get_hits();
but I always bet error:
A PHP Error was encountered
Severity: Notice
Message: Undefined property: Dashboard::$tracker_model
Filename: controllers/dashboard.php
Line Number: 22
And I don't know how to solve this?
Can anyone help please?
Thanks