ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Blank page when more than 140 results are requested

July 24, 2008 3:08pm

Subscribe [1]
  • #1 / Jul 24, 2008 3:08pm

    keystone

    21 posts

    I’ll say up front that I am pretty sure this is an issue with my host, Mosso. They are looking into it. Meanwhile I wanted to see if anyone here has ideas.

    I have a page setup that is retrieving data from two weblogs. Here is the tag:

    {exp:weblog:entries weblog="bundles|courses" status="live" disable="categories|trackbacks|member_data|pagination" orderby="short_title" sort="asc" limit="139"}

    When I set limit=139 or less, the page works great. Bump it up to 140 or greater and I get a blank page. Nothing comes back. Mosso says there isn’t a time limit on query execution, which was my first guess.

    After experimenting a little I found it seems to work I don’t specify sort. So it will list them all Z-A, just not A-Z. Go figure.

    Any ideas?

    Brian

  • #2 / Jul 24, 2008 3:09pm

    Lisa Wess

    20502 posts

    Typically, when you hit a blank page just from upping the limit, the problem is one of running out of memory.  If you go to Admin -> Utilities -> PHP Info and look for “memory_limit” what does it say?

  • #3 / Jul 24, 2008 3:26pm

    keystone

    21 posts

    Thanks for the quick reply.

    memory_limit = 16M

  • #4 / Jul 24, 2008 3:36pm

    keystone

    21 posts

    Lisa—I was able to up the memory limit and increase the php execution time limit by putting these values in my .htaccess:

    php_value memory_limit 24M
    php_value max_execution_time 60

    After that it worked great.

    Thanks for your help!

    Brian

  • #5 / Jul 24, 2008 3:44pm

    Lisa Wess

    20502 posts

    My pleasure, Brian. =)

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases