8000 ForumController and its behaviors do not have a method or closure named "paginate". · Issue #16 · knut/hamster · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ForumController and its behaviors do not have a method or closure named "paginate". #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
linchengcs opened this issue Dec 5, 2013 · 1 comment

Comments

@linchengcs
Copy link

[code]
– /var/www/hamster/src/protected/controllers/ForumController.php(154): CComponent->__call("paginate", array("1", 10))
149 /$this->render('list', array(
150 'forums' => $forums,
151 //'last_posts' => $last_posts
152 ));
/
153
154 $pages = $this->paginate(forum::model()->count(), self::PAGE_SIZE);
155 //$forumList = Forum::model()->findAll($this->getListCriteria($pages));
156 $this->render('list', array('forums'=>$forums, 'pages'=>$pages));
157 }
158
159 /**
[/code]

@hp-techbucket
Copy link

also i am facing the same error in the yii , that i have downloaded.please help me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0