I have the following pretty standard structure: a controller with a login-action with the regular login.phtml-file as view. In the action I evaluate with an if ($request->isPost ()) whether I am dealing with a post.
If the view is loaded initially the debugger stops as expected at the breakpoint I have sit at the line with this if-statement. So far, so good.
In the view I have this simple login-form:
<form name="loginForm" method="post"
<td><?php echo $this->loginNameLabel; ?></td>
<td><input name="redirect" type="hidden"
value="<?php echo $this->redirect; ?>">
<td><?php echo $this->passwordLabel; ?></td>
<td><input name="password" type="password" size="25"></td>
<td align="right" colspan="2"><input id="loginButton" name="loginButton" type="submit"
value="<?php echo $this->submitLabel; ?>"></td>
If I fill something out in the form and click the submit-button suddenly the debugger does not stop at that same breakpoint. This while the action is called and all code executed (if I fill out a correct loginname and password I do log in) but debugging is impossible this way.
Does anyone see what is wrong?
General discussion on Zend Studio
1 post • Page 1 of 1