Okay.. Just in case someone else runs into this issue..

After much sleuthing, my conclusion falls on this being a CakePHP
bug.  Either that, or I'm not using the Cakelog::write() function
correctly, and it wasn't designed to be utilized for production.

I baked a brand new application and threw the Cakelog function in a
controller.  Had the same issue:
( (debug > 0) == success)
( (debug = 0) == white page)

I then considered my configuration/directory structure to be flawed.
Downloaded a fresh copy of cake, threw it in a directory, made a few
adjustments to the salt, database.php, etc. etc... and came across the
same results. debug > 0 is good, debug = 0, fails.

Anyway, just wanted to report my findings.  Perhaps this will be
helpful for someone else that has this issue.

rb

On Jul 10, 11:49 am, rb <[email protected]> wrote:
> so after reading through a few other posts with similar issues related
> toblankpages with debug = 0..
>
> I read that someone suggested adding 'Debugger' to my $uses var in app/
> app_controller.php.
>
> By doing so, I now get a 404 page response.
> Again, does anyone have any ideas as to what could be causing this
> problem?
>
> I don't have much hair left in my head b/c of this issue :/
>
> Thanks,
> rb
>
> On Jul 9, 9:33 am, rb <[email protected]> wrote:
>
> > Yes..debug>0!
>
> > It's nice to know I'm not alone here.  Has anyone else seen this
> > issue? or could possibly suggest a solution?
>
> > Other than running my app atdebug= 1
>
> > On Jul 8, 8:36 pm, brian <[email protected]> wrote:
>
> > > I think you meantdebug>0:-)
>
> > > I've seen something similar that I've meant to post about here. I had
> > > some code that included some lines withDebugger::log($something)
> > > that, when I haddebug=0caused a fatal error. That doesn't seem
> > > right at all. I'd assumed that it would either write to the log anyway
> > > or not at all, but a fatal error seems like a bug.
>
> > > On Wed, Jul 8, 2009 at 3:25 PM, rb<[email protected]> wrote:
>
> > > > After searching the group, I'm seeing there are a few issues when
> > > >debug=0.
>
> > > > My issue is with Cakelog::write.  Anytime I use it w/debug<0,
> > > > everything renders just fine -- no errors.
>
> > > > Once I setdebug=0, the page will show upblank.
>
> > > > Is there something about cakephp classes whiledebug=0that I'm not
> > > > aware of?  Or has anyone seen this issue before?
>
> > > > Thanks..
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to