Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
the white screen of death
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
gimperdaniel@gmail.com  
View profile   Translate to Translated (View Original)
 More options 6 Nov, 15:16
From: "gimperdan...@gmail.com" <gimperdan...@gmail.com>
Date: Fri, 6 Nov 2009 07:16:19 -0800 (PST)
Local: Fri 6 Nov 2009 15:16
Subject: the white screen of death
More often that I would like to I get the "white screen of death",
which tells me something is wrong with my cold. Is there a way to get
printed errors? instead of the white screen?

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jacmoe  
View profile   Translate to Translated (View Original)
 More options 6 Nov, 20:00
From: jacmoe <jac...@mail.dk>
Date: Fri, 6 Nov 2009 12:00:52 -0800 (PST)
Local: Fri 6 Nov 2009 20:00
Subject: Re: the white screen of death
Open app/config/core.php and set the debug level to 1 or 2. :)

On Nov 6, 4:16 pm, "gimperdan...@gmail.com" <gimperdan...@gmail.com>
wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Céryl  
View profile   Translate to Translated (View Original)
 More options 6 Nov, 20:14
From: Céryl <c.a.h.wilt...@student.tue.nl>
Date: Fri, 6 Nov 2009 12:14:28 -0800 (PST)
Local: Fri 6 Nov 2009 20:14
Subject: Re: the white screen of death
In addition, if the debug level is 2 you can add debug($variable)
(Either in controller or view) to your code to check that var... So
you can see if it's an improperly set variable that causes you to
white-out...

On 6 nov, 21:00, jacmoe <jac...@mail.dk> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
gimperdaniel@gmail.com  
View profile   Translate to Translated (View Original)
 More options 6 Nov, 21:04
From: "gimperdan...@gmail.com" <gimperdan...@gmail.com>
Date: Fri, 6 Nov 2009 13:04:34 -0800 (PST)
Local: Fri 6 Nov 2009 21:04
Subject: Re: the white screen of death
Yep,

I already do debug($variable), but when code gets long, it can get
pretty frustrating to test everything. Not to mention that if I get
the white screen than I can't see anything including debug(var).

My debug option is set to 3. Which is the max, but it doesn't change
anything.

On Nov 6, 3:14 pm, Céryl <c.a.h.wilt...@student.tue.nl> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tonu Tusk  
View profile   Translate to Translated (View Original)
 More options 6 Nov, 22:08
From: Tonu Tusk <lvot...@googlemail.com>
Date: Fri, 6 Nov 2009 14:08:35 -0800 (PST)
Local: Fri 6 Nov 2009 22:08
Subject: Re: the white screen of death
OK, I doubt this will be of too much help, but the main causes of WSOD
I have encountered have been models not being declared in a
controllers $uses var
(where a controller is using other than its standard related model)

OR some bad relationships declared in model classes

(I am still a bit unsure of it all, but if i had model A hasOne modelB
and modelB belongs to modelA, that really seems to bomb things out for
me even though it seems quite intuitive to do so)

Oh yeah, and on one of my other recent posts I was getting random WSOD
which turned out to be mod_security installed on my shared host which
did not seem to like the combination of either large or a large number
of input in post data in combination with being routed through
mod_rewrite.

Go figure.

Has anyone else got any "d'oh" obvious and common errors which have
led to WSOD to share?

On Nov 6, 9:04 pm, "gimperdan...@gmail.com" <gimperdan...@gmail.com>
wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pedro Nascimento  
View profile   Translate to Translated (View Original)
 More options 6 Nov, 22:28
From: Pedro Nascimento <pnascime...@gmail.com>
Date: Fri, 6 Nov 2009 20:28:46 -0200
Local: Fri 6 Nov 2009 22:28
Subject: Re: the white screen of death

I got one after copying some config options on files as database.php,
core.php and app_controller.php using wrong symbols such as ` instead of '.
It's a stupid mistake, but I have done it once or twice already. :>


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bruno Bergher  
View profile   Translate to Translated (View Original)
 More options 7 Nov, 12:53
From: Bruno Bergher <bruno.berg...@gmail.com>
Date: Sat, 7 Nov 2009 04:53:35 -0800 (PST)
Local: Sat 7 Nov 2009 12:53
Subject: Re: the white screen of death
From previous experience the main cause for this is when
debug_backtrace() is called, in the global debug() declaration
(basics.php:114).
It chokes with undefined variables (in some installations, such MAMP,
this is a pain) and sometimes with very deep associative arrays.

This message is not too helpful since I have no idea how to solve
this, other than using var_dump() or print_r() in WSOD situations.

On Nov 6, 8:28 pm, Pedro Nascimento <pnascime...@gmail.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
bradmaxs  
View profile   Translate to Translated (View Original)
 More options 7 Nov, 17:45
From: bradmaxs <b...@pezzano.com>
Date: Sat, 7 Nov 2009 09:45:38 -0800 (PST)
Local: Sat 7 Nov 2009 17:45
Subject: Re: the white screen of death
So many times that I get the WSOD it is because I have forgotten to
add a ) at the end of a line or there are too many.

On Nov 7, 4:53 am, Bruno Bergher <bruno.berg...@gmail.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Crazy  
View profile   Translate to Translated (View Original)
 More options 8 Nov, 14:15
From: Crazy <crazy...@gmail.com>
Date: Sun, 8 Nov 2009 06:15:10 -0800 (PST)
Local: Sun 8 Nov 2009 14:15
Subject: Re: the white screen of death
Most of the time when I get this it is because of syntax errors.

As I mostly work on dedicated linux box, I just open a putty window
and do a tail -f of /var/logs/httpd/error_log and the cake error log
for all the $this->log(); in my code.

I have found that to be the best way to debug, as you will not always
be able 'see' something. I had this happen when I made  'site to site'
communication with xml where there was no interaction with a browser.
The trick is to add enough logging :)

On Nov 7, 6:45 pm, bradmaxs <b...@pezzano.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google