I just recently started to get the following sort of output when I have a php error in a script:
<br />
<font size='1'><table dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Parse error: syntax error, unexpected T_ECHO in C:\wamp\www\dbt.php on line <i>3</i></th></tr>
instead of just seeing the "Parse error:..." part. I don't know if this has anything to do with the problem, but since the messages started appearing like that, the debugger no longer seems to be contacting the plugin. The plugin always says disconnected, the notepad++ icon never seems to flash and the program certainly never stops.
I have not knowingly changed anything since when it was originally working.
Has anybody got any idea what may be wrong?
TIA
Regards
Paul
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Puzzled. You haven't upgraded any of the componentes? (Xdebug, DBGP plugin, PHP, browser...)
Firewall change? Are you still sending XDEBUG_SESSION_START token correctly?
Try to test the whole thing with a simple phpinfo script. And check the variables that are set in phpinfo. Remote host, remote debugging enabled etc.
-Zobo
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK, I figured out that the formatted errors were due to the html_errors setting. Strange how I had never noticed that before. So I guess that's nothing to do with it.
But I still have no clue why the debugger doesn't seem to be working.
Any help appreciated.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just recently started to get the following sort of output when I have a php error in a script:
<br />
<font size='1'><table dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Parse error: syntax error, unexpected T_ECHO in C:\wamp\www\dbt.php on line <i>3</i></th></tr>
instead of just seeing the "Parse error:..." part. I don't know if this has anything to do with the problem, but since the messages started appearing like that, the debugger no longer seems to be contacting the plugin. The plugin always says disconnected, the notepad++ icon never seems to flash and the program certainly never stops.
I have not knowingly changed anything since when it was originally working.
Has anybody got any idea what may be wrong?
TIA
Regards
Paul
Hi Paul.
Puzzled. You haven't upgraded any of the componentes? (Xdebug, DBGP plugin, PHP, browser...)
Firewall change? Are you still sending XDEBUG_SESSION_START token correctly?
Try to test the whole thing with a simple phpinfo script. And check the variables that are set in phpinfo. Remote host, remote debugging enabled etc.
-Zobo
I am so stupid. I completely forgot to turn on the token!!!
OK, I figured out that the formatted errors were due to the html_errors setting. Strange how I had never noticed that before. So I guess that's nothing to do with it.
But I still have no clue why the debugger doesn't seem to be working.
Any help appreciated.