Strange View behavior

2011-11-06 Thread CrotchFrog
Just a little bit ago I ran into a situation where my View is displaying 
nothing, as in a blank page. 

The result is the same with 2.0 RC3  2.1 which would lead me to believe 
it's a coding issue, but there are no errors to be found as far as I can 
see. 

I tested the method in the controller and it executes to completion.
It's seems as though the View has rendered, it's just blank (regardless of 
what I put in the view). 
View Source on page reveals a blank slate as well. 
Firebug shows empty html, head  body, No CSS, no JS, no content.
Clearing the cache and tmp dir has no effect. 

I'm only having this issue with a single method within the controller. 

http://bin.cakephp.org/view/1996798666

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Strange View behavior

2011-11-06 Thread CrotchFrog
Quick update. 

The issue is resolved. I restructured the method in the controller and 
walked through it again. 
Again, it executes to completion. 

The elseif() in the method is keeping the view from rendering even though 
the statement itself is not failing. 
Perhaps a coding issue I'm just not seeing? 

// updated method
http://bin.cakephp.org/view/1175849445

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php