White screens are usually caused by a fatal error between execution  
filter and render filter.

If you can reproduce the error on a local development machine, I'd  
suggest installing sfErrorHandlerPlugin and modifying the plugin so  
that it shows you the error when not using the dev controller. Don't  
do this on a live server - you'll see too many errors for it to be  
acceptable.

Change line 71 of sfErrorHandler.class.php :

Was :     if (!sfConfig::get('sf_debug'))

To :     if (sfConfig::get('sf_debug'))

You'd probably want to change line 50 of  
sfHardenedRenderingFilter.class.php :

Was :         set_error_handler(array("sfErrorHandler",  
"error_handler"), sfConfig::get('sf_error_reporting', E_ALL &  
~E_NOTICE & ~E_WARN));

To:                set_error_handler(array("sfErrorHandler",  
"error_handler"),  E_ALL & ~E_NOTICE & ~E_WARN);

That should give you a little more to go on - I expect you'll find  
it's an uncaught exception being thrown somewhere, or a 3rd party  
library causing a fatal error. If it's either of those, it should  
manifest itself as an sfLegacyErrorException.

HTH :)

On 10 Mar 2009, at 20:23, pixelmeister wrote:

>
> Hi Lee,
>
> yes I think so, too.
> But I have no idea what to do or how to debug this.
> Any ideas would be great.
>
> Thx in advance, kai
>
> 2009/3/10 Lee Bolding <[email protected]>
>
> Sounds like it's an issue with your caching, like maybe a timeout
> whilst rebuilding cache or something.
>
> If it was a code issue, it would be constant.
>
> On 10 Mar 2009, at 16:03, pixelmeister wrote:
>
> >
> > Hello,
> >
> > on a website with high traffic I have a weired confusing problem.
> > From time to time I get a white page (header is 200 ok, content-
> > length: 0)
> >
> > If I view the same page in frontend_dev.php everything is O.K. and I
> > get no error at all.
> > When I clear the frontend cache (type template is enough) everything
> > works fine again.....
> >
> > A view hours later, the page is white again.
> >
> > This happens on different pages and modules but 2 pages are affected
> > more often.
> >
> > Envoirnment:
> > symfony 1.2.4
> > ORM: Doctrine
> > Server: lighttpd/1.4.11
> >
> > We also use memcached and xcache.
> > We had the same problem without bytecode-cache and with  
> eAccelerator.
> > We also had the same problem with sfSqliteCache and the standard
> > filecache system.
> > >
>
>
>
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to