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! :)

CommentFileSizeAuthor
#6 Screenshot-The page at doc- says:.png378.6 KBkenorb

Comments

Scott Reynolds’s picture

Priority: Normal » Critical

Interesting, in Views3 the pagers where made pluggable. Something must have changed in the dev

This is critical and needs to be addressed.

Scott Reynolds’s picture

Status: Active » Fixed
wonder95’s picture

I have the most current dev release (dated 5/20/10) and the latest version of View 3, but I still get the same error.

Error Description: 
( ! ) Fatal error: Call to undefined method view::init_pager() in /Users/steve/Sites/seed-ge/sites/all/modules/contrib/apachesolr_views/apachesolr_views_query.inc on line 133
Scott Reynolds’s picture

You have to ensure you have View3 dev or an alpha4. You can not use alpha3, alpha2 or alpha1

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

kenorb’s picture

StatusFileSize
new378.6 KB

It 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).

kekkis’s picture


Seems 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.

khanshakeeb’s picture

I did this work over and its works fine for me
line no. : 132 $this->init_pager($view);