Zend Debugger+suhosin=encrypted cookies=no session debug [message #46262] |
Fri, 24 August 2007 10:48 |
Eclipse User |
|
|
|
Originally posted by: morgg.mail.com
Hello all!
I have been fighting for some days with a problem in debugging PHP pages
from Eclipse+PDT. I had a working setup with Apache+Zend Debugger, with
which I could debug all pages in a session, thanks to the cookies that
Zend Debugger sets (I discovered that recently).
The thing is, after a php update, the session debug stopped working. I
could debug just the first page. Following the links leaded to a blank
page. This was accompanied by an Eclipse error: "No session id", that I
had to search in the Error log (no error dialog :-( ).
After some investigationd and comparison with a work mate whose setup
was working, I found out my cookies were being encrypted by something.
It seems like the debugger server wasn't able to interpret the encrypted
cookies before sending the data back to the debugger client.
A lot of research and frustration later I narrowed the problem to a php
extension/patch called suhosin, which I had installed without notice in
my last php update (my fault!).
Conclusion:DO NOT use any extension for apache that encrypts your
cookies if you want to debug all pages of a site.
Maybe they should warn this in the Zend debugger documentation. I will
try to post this to the Zend forum.
Hope it helps,
Marcos
|
|
|
Powered by
FUDForum. Page generated in 0.02669 seconds