TIP: Use Markdown or, <pre> for multi line code blocks / <code> for inline code.
These forums are read-only and for archival purposes only!
Please join our new forums at discourse.kohanaframework.org
View used twice (using breakpoint)
  • I don't understand what's going on. I avec kohana 3.1, I'm using XDebug.

    When I'm in "step by step" mode, using the debug I can see that my views are rendered twice. Is that a kohana bug?

    I put a breakpoint in Index#action_index and one in the vieuw index/index. The debuguer go once in the controller and twice in the view. (using "Resume program" to go to the next breakpoint)

    I use a custom Controller_Template that automatically redirect user when access is refused, but even when access is authorized I still go twice n the view, but it's rendered only once, I don't have duplicate view in the rendered page.

    How is that possible?

    I'm wondering if it's a kohana issue, a XDebug issue, an issue from my IDE using XDebug... I don't know what's going on.