#38 ✓hold
James

White screen displayed on Error 500

Reported by James | August 20th, 2008 @ 05:07 PM

When an error occurs, a white screen is sometimes displayed instead of the expected error screen.

Stack trace attached.

Comments and changes to this ticket

  • Kieran P

    Kieran P August 20th, 2008 @ 08:55 PM

    • State changed from “new” to “open”
    • Assigned user changed from “Kete” to “Kieran P”

    Can you please confirm, in application.rb, around line 728 depending on your copy of the code, that it goes something like

    
     else
       if exception.to_s.match(/Connect\ failed/)
         rescue_500('zebra_connection_failed')
       else
         raise
       end
     end
    

    Note the else raise part. This problem was found and fixed sometime last week, so I'm not sure why it would be continuing to cause issues. IF the line is there, I will try to reproduce locally.

  • James

    James August 21st, 2008 @ 09:45 AM

    Here is what I have Kieran,

    def rescue_action_in_public(exception)

     #logger.info(exception)
     case exception
       when ActiveRecord::RecordNotFound, ActiveRecord::RecordInvalid
    

    then

       rescue_404
     when BackgrounDRb::NoServerAvailable then
       rescue_500('backgroundrb_connection_failed')
     else
       if exception.to_s.match(/Connect\ failed/)
         rescue_500('zebra_connection_failed')
       else
         raise
       end
     end
    

    end

    Cheers, James

    On 20/08/2008, at 8:54 PM, Lighthouse wrote:

  • Kieran P

    Kieran P August 26th, 2008 @ 12:12 PM

    • State changed from “open” to “hold”

    Despite attempts to cause the issue described and raising at the same line number as in the stack trace, I cannot reproduce this issue. It might be a mod_rails/passenger issue (I don't have it setup locally to test).

    Also the initial problem causing this blank page has since been fixed (was an underlying zoom bug).

    I'm going to put this on hold for now, until it pops up again.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Kete was developed by Horowhenua Library Trust and Katipo Communications Ltd. to build a digital library of Horowhenua material.

People watching this ticket

Attachments

Pages