1

I have a View which display fields of nodes. I have to display all of the items. I cannot introduce a Pager.

There are approximately 4000 nodes as the result of the view. The View preview works perfectly fine, i.e all 4000 nodes are displayed, in the View preview result.

Placing the View on a panel page and loading the page gives the "White screen of death".

What could be the problem?

6
  • 4
    First, see this question about debugging WSOD: drupal.stackexchange.com/questions/7560/… . Second: most likely cause is that PHP exceeded maximum excution time. May 21, 2014 at 8:45
  • Is there any other way to make this work without changing the maximum execution time on server. May 21, 2014 at 8:48
  • 1
    @neetumorwani Not if you want to use Views, no - it does what it does, if you haven't got enough memory you need more memory, or you need to reduce the size of the query results. Try limiting to 500, then 1000, then 1500, and so on until you find out where it's cracking. That'll be your current per-page limit. All of that assumes that the problem is definitely lack of memory, you'd need to check your server logs to confirm that first
    – Clive
    May 21, 2014 at 8:50
  • @Clive This page-> admin/reports/dblog shows no error logs related to maximum execution time. The only log which i see is- SPI update server response messages: SPI data processing has been queued. Not sure what does this mean. May 21, 2014 at 9:11
  • @neetumorwani Server logs, not Drupal logs (Apache, nginx, fpm, whatever makes sense for your setup)
    – Clive
    May 21, 2014 at 9:11

1 Answer 1

0

Why not try use this module View Infinite Scroll to try stagger the amount of results returned by Views in one go? This would help the web server from running out of memory returning 4000 results in one go, but is better UX wise than implementing a pager.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.