NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
client ip address [NULL] lookup failed


Joined: 25 Oct 2005
Posts: 5
Reply with quote
Hey all,

I'm slowly working my through to a working remote debugger, now I've hit this problem ...

If I pull a script into the main edititng window and go Run > Run in DeBugger I get the error "client ip address [NULL] lookup failed".

What's irritating is that I had the debugger running successfully earlier on but I closed the IDE down and re-started and now I get this
error message at every turn ...

Any help greatefully accepted

TIA

MrCrussell
View user's profileFind all posts by MrCrussellSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
With dbg-2.18.2 or all versions before you have to turn on either register_long_arrays or register_argc_argv. When they both are turned off, $_SERVER[] array is not defined internally until you access it from your code and it causes the problem.

It's been fixed in dbg-2.18.3 and this debugger comes with phped 4.0 build 4037 and higher. Alternatively you may turn either of the settings on, or specify your host name (or IP address) in the debugger settings (see tools->settings->debugger, host).
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 25 Oct 2005
Posts: 5
Reply with quote
Thx for that ddmitrie, I'm no longer getting the original error, now I get "Failed to run DBG Session. Reason:Connection to the client address {my development machine ip address here}:7869 is not allowed...

I tried telnetting from the server to the client machine and get the following in the DBG Listener Log :

[server ip] client connected
[server ip] wrong client, disconnecting

(just to be sure I opened port 7869 on my dev machine for reading and writing ...)

I'm working with the eval version at the mo (build 4400 I believe) and am keen to purchase a full copy of PhpED as I like what I see, but I really need to get this up and running as proof that it all works before I commit money to the software ...

help .. please ... someone Smile

MrC
View user's profileFind all posts by MrCrussellSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Using telnet you check if network works and nothing like firewalls or routers prohibit connection.
Error message given has no relation to the network problem. It's IP-based securtity supported by DBG.
See debugger.hosts_allow, debugger.hosts_deny and debugger.ports settings.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
client ip address [NULL] lookup failed
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