I have a controller Ace that references Yii::app()->getUser.
I have another controller Chex that is unfinished, so it has syntax errors in it.
When I execute Ace and it calls Yii::app()->getUser, I get a syntax error in controller Chex, which is odd, because my program flow never goes through Chex. I haven’t implemented any calls to Chex anywhere in the program.
So, when you make a call to Yii::app() does it compile the whole application?
How would a syntax error in an uninvolved controller be implicated? When I comment out the calls to Yii::app() in Ace, the program executes.
Where can I find the call stacks on that kind of error? It was the server’s parse error report, not the yii exception report. I tried in Firebug but didn’t see any way there, either.