No debugging

General discussion on Zend Studio

Moderator: natalia_b_zend

No debugging

Postby edwinvandessel on Tue Dec 25, 2012 11:45 am

Hi,

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"
action="/Administration/Authentication/login">
<table>
<tr>
<td><?php echo $this->loginNameLabel; ?></td>
<td><input name="redirect" type="hidden"
value="<?php echo $this->redirect; ?>">
<input name="loginName"
type="text" size="25"></td>
</tr>
<tr>
<td><?php echo $this->passwordLabel; ?></td>
<td><input name="password" type="password" size="25"></td>
</tr>
<tr>
<td align="right" colspan="2"><input id="loginButton" name="loginButton" type="submit"
value="<?php echo $this->submitLabel; ?>"></td>
</tr>
</table>
</form>

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?

Thanks,

Edwin
edwinvandessel
 
Posts: 6
Joined: Sun Sep 19, 2010 9:18 am

Return to Zend Studio

Who is online

Users browsing this forum: No registered users and 1 guest