Gmail 日曆 文件 閱讀器 所有網頁 更多 »
最近造訪的群組 | 說明 | 登入
Google 網上論壇首頁
the white screen of death
目前本群組有太多主題設為優先顯示。要優先顯示這個主題,請將其他主題的這個選項取消。
在處理您的要求時發生錯誤。請再試一次。
標幟
  9 個訊息 - 全部摺疊  -  將全文翻譯為 已翻譯 (查看所有原文)
您要留言的群組是 Usenet 群組。在此群組留言,網際網路上的任何使用者將可以看到您的電郵地址。
您的回覆郵件尚未寄出。
您已成功留言
 
寄件人:
收件人:
副本:
後續追蹤對象:
新增副本 | 新增後續追蹤對象 | 編輯主旨
主旨:
驗證:
為了確認,請輸入您在以下圖片中看到的字元,或輸入您按下存取圖示時所聽到的號碼。 注意聽並輸入您聽到的號碼
 
gimperdaniel@gmail.com  
檢視個人資料   翻譯為 已翻譯 (查看原文)
 更多選項 11月6日, 下午11時16分
寄件人: "gimperdan...@gmail.com" <gimperdan...@gmail.com>
日期: Fri, 6 Nov 2009 07:16:19 -0800 (PST)
當地時間: 2009年11月6日(星期五) 下午11時16分
主旨: 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?

    回覆    回覆作者    轉寄  
您必須先登入才能張貼訊息。
若要張貼訊息,您必須先加入此群組
請在留言之前更新您訂閱設定網頁上的暱稱。
您沒有留言所需的權限。
jacmoe  
檢視個人資料   翻譯為 已翻譯 (查看原文)
 更多選項 11月7日, 上午4時00分
寄件人: jacmoe <jac...@mail.dk>
日期: Fri, 6 Nov 2009 12:00:52 -0800 (PST)
當地時間: 2009年11月7日(星期六) 上午4時00分
主旨: 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:


    回覆    回覆作者    轉寄  
您必須先登入才能張貼訊息。
若要張貼訊息,您必須先加入此群組
請在留言之前更新您訂閱設定網頁上的暱稱。
您沒有留言所需的權限。
Céryl  
檢視個人資料   翻譯為 已翻譯 (查看原文)
 更多選項 11月7日, 上午4時14分
寄件人: Céryl <c.a.h.wilt...@student.tue.nl>
日期: Fri, 6 Nov 2009 12:14:28 -0800 (PST)
當地時間: 2009年11月7日(星期六) 上午4時14分
主旨: 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:


    回覆    回覆作者    轉寄  
您必須先登入才能張貼訊息。
若要張貼訊息,您必須先加入此群組
請在留言之前更新您訂閱設定網頁上的暱稱。
您沒有留言所需的權限。
gimperdaniel@gmail.com  
檢視個人資料   翻譯為 已翻譯 (查看原文)
 更多選項 11月7日, 上午5時04分
寄件人: "gimperdan...@gmail.com" <gimperdan...@gmail.com>
日期: Fri, 6 Nov 2009 13:04:34 -0800 (PST)
當地時間: 2009年11月7日(星期六) 上午5時04分
主旨: 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:


    回覆    回覆作者    轉寄  
您必須先登入才能張貼訊息。
若要張貼訊息,您必須先加入此群組
請在留言之前更新您訂閱設定網頁上的暱稱。
您沒有留言所需的權限。
Tonu Tusk  
檢視個人資料   翻譯為 已翻譯 (查看原文)
 更多選項 11月7日, 上午6時08分
寄件人: Tonu Tusk <lvot...@googlemail.com>
日期: Fri, 6 Nov 2009 14:08:35 -0800 (PST)
當地時間: 2009年11月7日(星期六) 上午6時08分
主旨: 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:


    回覆    回覆作者    轉寄  
您必須先登入才能張貼訊息。
若要張貼訊息,您必須先加入此群組
請在留言之前更新您訂閱設定網頁上的暱稱。
您沒有留言所需的權限。
Pedro Nascimento  
檢視個人資料   翻譯為 已翻譯 (查看原文)
 更多選項 11月7日, 上午6時28分
寄件人: Pedro Nascimento <pnascime...@gmail.com>
日期: Fri, 6 Nov 2009 20:28:46 -0200
當地時間: 2009年11月7日(星期六) 上午6時28分
主旨: 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. :>


    回覆    回覆作者    轉寄  
您必須先登入才能張貼訊息。
若要張貼訊息,您必須先加入此群組
請在留言之前更新您訂閱設定網頁上的暱稱。
您沒有留言所需的權限。
Bruno Bergher  
檢視個人資料   翻譯為 已翻譯 (查看原文)
 更多選項 11月7日, 下午8時53分
寄件人: Bruno Bergher <bruno.berg...@gmail.com>
日期: Sat, 7 Nov 2009 04:53:35 -0800 (PST)
當地時間: 2009年11月7日(星期六) 下午8時53分
主旨: 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:


    回覆    回覆作者    轉寄  
您必須先登入才能張貼訊息。
若要張貼訊息,您必須先加入此群組
請在留言之前更新您訂閱設定網頁上的暱稱。
您沒有留言所需的權限。
bradmaxs  
檢視個人資料   翻譯為 已翻譯 (查看原文)
 更多選項 11月8日, 上午1時45分
寄件人: bradmaxs <b...@pezzano.com>
日期: Sat, 7 Nov 2009 09:45:38 -0800 (PST)
當地時間: 2009年11月8日(星期日) 上午1時45分
主旨: 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:


    回覆    回覆作者    轉寄  
您必須先登入才能張貼訊息。
若要張貼訊息,您必須先加入此群組
請在留言之前更新您訂閱設定網頁上的暱稱。
您沒有留言所需的權限。
Crazy  
檢視個人資料   翻譯為 已翻譯 (查看原文)
 更多選項 11月8日, 下午10時15分
寄件人: Crazy <crazy...@gmail.com>
日期: Sun, 8 Nov 2009 06:15:10 -0800 (PST)
當地時間: 2009年11月8日(星期日) 下午10時15分
主旨: 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:


    回覆    回覆作者    轉寄  
您必須先登入才能張貼訊息。
若要張貼訊息,您必須先加入此群組
請在留言之前更新您訂閱設定網頁上的暱稱。
您沒有留言所需的權限。
無其他留言
« 返回討論主題 « 較新的主題     較舊的主題 »

建立群組 - Google 網上論壇 - Google 首頁 - 服務條款 - 隱私權政策
©2009 Google