Help using paginator
Hello
Im getting this error message when trying to paginate.
Warning (512): Controller::paginate() - can't find model equipos in
controller EquiposController [CORE\cake\libs\controller
\controller.php, line 1104]
This is the function in the controller (line with arrow)
function index1()
{
$this->set('equipos',$this->Equipo->find('all'));
---->> $data = $this->paginate('equipos');
$this->set('equipos', $data);
}
Anyone has a idea of whats happening????
thx in advance......
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home