Hi,
I've just installed Apache Solr Views and it looks brilliant, but I can't get the pager to work!
I am using the latest dev version of Views 3 as beta 3 removed all my headers and footers. The error I am getting is this:
Fatal error: Call to undefined method apachesolr_views_query::init_pager() in /home/sensible/public_html/sites/all/modules/apachesolr_views/apachesolr_views_query.inc on line 131
It looks like the whole system of adding a pager has changed but I can't work out what to do myself, nor find any explanation of what has changed in Views so in the meantime I've commented all references to a pager in apachesolr_views_query.inc - looks great and much faster than my old view but I can't do much with it until it works! :)
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | Screenshot-The page at doc- says:.png | 378.6 KB | kenorb |
Comments
Comment #1
Scott Reynolds commentedInteresting, in Views3 the pagers where made pluggable. Something must have changed in the dev
This is critical and needs to be addressed.
Comment #2
Scott Reynolds commentedhttp://drupal.org/cvs?commit=369072
Comment #3
wonder95 commentedI have the most current dev release (dated 5/20/10) and the latest version of View 3, but I still get the same error.
Comment #4
Scott Reynolds commentedYou have to ensure you have View3 dev or an alpha4. You can not use alpha3, alpha2 or alpha1
Comment #6
kenorb commentedIt happens to me with:
Views 3 [dev] (Sun, 11 Jul 2010 00:21:04 GMT)
and Apache Solr Views [dev] (Tue, 23 Mar 2010 12:01:33 GMT).
What I did was to create new Solr Views and changed 'Path:' to 'test', then submit. After that I see very huge XXL popup with error (see attachment).
Seems to fixed when updated Apache Solr Views to dev (Sun, 08 Aug 2010 00:02:13 GMT).
Comment #7
kekkisSeems to fixed when updated Apache Solr Views to dev (Sun, 08 Aug 2010 00:02:13 GMT).
I updated to views 6.x-3.x-dev (02 Aug) and apachesolr_views 6.x-1.x-dev (11 Aug) and indeed, the problem seems to be gone.
Comment #8
khanshakeeb commentedI did this work over and its works fine for me
line no. : 132 $this->init_pager($view);