NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Won't upgrade debugger? Protocol error...


Joined: 24 Jan 2008
Posts: 6
Reply with quote
Hi, I'm running Apache on my localhost and trying to run the profiler with my debugger. I get:
ERROR Wrong version of debugger module detected on server side. Debugger module version of 3.4 is needed to start debug session.

I just upgraded to PHPeD v5.5 so it should have upgraded the debugger, right? How do I do it manually?

Windows Vista Ultimate
EasyPHP as server (see below from phpinfo)

I get this message:
==========================
DBG 3.2.10

Failed to start DBG session


Reason: protocol error ()
Not sure what it means? Visit http://www.nusphere.com/dbg/ for troubleshooting.

Debugger request: "396645935469900005;d=0,p=1,c=1"
Request found in: "query_string"
Target PHP version: "5.2.x"
Server API: "Apache 2.0 Handler"
Extensions API: "220060519"
Modules API: "20060613"
PHP API: "20041225"
============================

Apache:
Apache Version Apache/2.2.3 (Win32) PHP/5.2.0
Apache API Version 20051115
Server Administrator admin@localhost
Hostname:Port localhost:0
Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 300 - Keep-Alive: 5
Virtual Server No
Server Root C:/host/apache
Loaded Modules core mod_win32 mpm_winnt http_core mod_so mod_actions mod_alias mod_asis mod_auth_basic mod_authn_default mod_authn_file mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user mod_autoindex mod_cgi mod_dir mod_env mod_imagemap mod_include mod_isapi mod_log_config mod_mime mod_negotiation mod_setenvif mod_userdir mod_php5

_________________
MN
View user's profileFind all posts by racmasterSend private message


Joined: 04 Aug 2008
Posts: 2
Reply with quote
Try:

Find in the programs folder the nusphere\phped\debugger\server\Windows\x86... folder appropriate to your system and in there pick the most up to date dbg-php-5.2.dll and copy that into the extensions folder of your php install. You will most likely have a file in there already called php_dbg.dll-5.2.x which is what is now being replaced with the upgraded version.

Then go to your php.ini file and find where it loads the extension:

extension=php_dbg.dll-5.2.x should be replaced with extension=dbg-php-5.2.dll

Restart your server and try to debug.

I had exactly the same issue, but the above worked for me.
View user's profileFind all posts by SparkOutSend private message
Cool, thanks!


Joined: 24 Jan 2008
Posts: 6
Reply with quote
I don't know how you figured that out, but it worked. Thanks a ton!

_________________
MN
View user's profileFind all posts by racmasterSend private message


Joined: 09 Aug 2008
Posts: 1
Reply with quote
Yeah fixed it for me too.
I use WAMP and found it worked when I put the new dll (dbg-php-5.2.dll) in the xampp\php\ext directory.
View user's profileFind all posts by ajloganSend private message
Won't upgrade debugger? Protocol error...
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic