NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
(Probably) installation problem


Joined: 07 Dec 2005
Posts: 2
Reply with quote
Hello,

I installed dbg/dbg-cli on a server recently (SuSE 9.1) and it worked well. Now that I tried to install it on my own machine (SuSE 9.3, php 4.3.8) I encounter a strange problem:

phpinfo shows me dbg as installed
The relevant parts of php -i are:

This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with DBG v2.11.32, (C) 2000,2005, by Dmitri Dmitrienko
...
Version => 2.11.32
Linked => as a shared library.
Profiler => compiled, enabled

Directive => Local Value => Master Value
debugger.enable_session_cookie => On => On
debugger.enabled => On => On
debugger.fail_silently => On => On
debugger.ignore_nops => Off => Off
debugger.JIT_enabled => Off => Off
debugger.JIT_host => clienthost => clienthost
debugger.JIT_level => 3 => 3
debugger.JIT_port => 7869 => 7869
debugger.profiler_enabled => On => On
debugger.session_nocache => On => On
debugger.timeout_seconds => 300 => 300

(I ommitted the HTML-formatted part in the head of the dbg-conf output)

dbg-cli listens on the right port (7869, set via .dbgcli_init) and a local
telnet localhost 7869
leads to a "connection established" and dbg-cli interrupting after a short while.

However, when I call some skript in the browser like this:
http://localhost/~user/test/skirpt.php?DEBUGSESSID=1&clienthost=7869;d=1,p=1
nothing happens.
I tried using my local servername/ip-address as well and/or substituting "clienthost" by this address or the one of localhost, but without success.

If I don't start dbg-cli at all and open the URL in the browser it doesn't even complain about:
"Failed to start debug session
reason:
failed to establish connection to client host ..."

Printing $_GET from inside the skript to be debugged shows:
Array ( [DEBUGSESSID] => 1 [clienthost] => 7869;d=1,p=1 )

So I suppose there is some installation issue, but how can I find out, what's wrong?
View user's profileFind all posts by nlueticSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
Quote:
when I call some skript in the browser like this:
http://localhost/~user/test/skirpt.php?DEBUGSESSID=1&clienthost=7869;d=1,p=1
nothing happens.


dbg 2.11.32 does not support this syntax.
DEBUGSESSID must be replaced with DBGSESSID
"&" must be replaced with "@"
"=" must be replaced with ":"
";d=1,p=1" must be removed as it's supported by 2.16 and higher:

http://localhost/~user/test/skirpt.php?DBGSESSID=1@clienthost:7869
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 07 Dec 2005
Posts: 2
Reply with quote
Thank You very much and my apologies for posing a question answered in the README. I just read too many outdated posts about the topic ...
View user's profileFind all posts by nlueticSend private message
(Probably) installation problem
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