My view only has two items in at the moment, so the pager isn't in use - but it will be.

However currently i'm getting a warning message from the alpha pager:

Warning: Query was empty query: views_alpha_pager_views_pre_query

Comments

douggreen’s picture

This error is probably being generated because a view variable is not set. I'm not sure why the variable would not be set, but I've added a check to see if this variable is set before passing it to db_query() in the hopes that this will fix this problem. Please checkout the latest 4.7 dev release and confirm whether this patch works on not?

If it doesn't work, could you please give me a little more information. Operating System? Version of mysql? Version of php? Export the view (from the view admin page)... etc...

douggreen’s picture

I'm still not sure why this happens. Could you try the patch http://drupal.org/files/issues/views_alpha_pager.patch and let me know if this fixes it? Thanks! See also http://drupal.org/node/104227.

douggreen’s picture

I was finally able to reproduce this and I think I found the problem. Please checkout the latest 4.7.x-1.x-dev and let me know if it solves the problems. Thanks!

douggreen’s picture

Assigned: Unassigned » douggreen
Status: Active » Fixed

Having not heard anything in a week, I'll assume that my last patch fixed this. Please create a new issue if this is still broken. Thanks!

budda’s picture

Status: Fixed » Active

Sorry, been away on holiday so not had chance to catch up with this.

Have continued with the project and not used alpha pager for now. Having updated to the latest 4.7 dev branch i'm now getting a white/blank screen when trying to display the View. No errors in watchdog, or the apache logs.

It's worth noting that - at present - my View is only displaying 1 node that matches the filters as data still needs to be added. Could this be tripping up the alpha pager ?

douggreen’s picture

Status: Active » Closed (won't fix)

fixes are currently only occuring in D5... If you can reproduct this in D5, please let me know. If your problem is the same as 120404, please add your comments there.