Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Zend Debugger+suhosin=encrypted cookies=no session debug
Zend Debugger+suhosin=encrypted cookies=no session debug [message #46262] Fri, 24 August 2007 10:48
Eclipse UserFriend
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
Previous Topic:[Code Assist] Code assist in included files ?
Next Topic:Custom ide-tooltip-popup for functions
Goto Forum:
  


Current Time: Thu Apr 25 21:10:07 GMT 2024

Powered by FUDForum. Page generated in 0.02993 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top