NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Installing remote dbg 2.18.5 for PhpED 4.6


Joined: 16 Jan 2007
Posts: 5
Reply with quote
Hello,

I'm having trouble configuring remote debugging.

I'm using PhpED 4.6 and want to debug remote files on a Linux server running Apache 2.0.
My listener is version 3.0.2.
The debugger version is: 2.18.5.
PHP is version 4.3.9. in php.ini: extension=dbg.so-4.3.9.

If I need to upgrade to a newer version - where can I find the appropriate dbg source? Its not in my account at Nusphere.com. The only free source I've found was 2.13.0.

if not, here are my settings, i will appreciate if you tell what is wrong here:

- I use ssh tunneling and I specified the port number and the server url at the debugger settings.
- The debugger_hosts_allow in php.ini includes localhost and my machine IP.
- The project mapping run mode is set to 3rd party web server.

Yet I get an error: "Failed to start debug session. Please check if debugger module is installed...", followed by output message: DBG 2.18.5 ; Failed to run DBG session ; Reason: client ip address [(null)] lookup failed

Thanks in advance for your help

Noam
View user's profileFind all posts by noambecSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
I'd recommend you not to use PhpED you got anywhere except nusphere.com site. If you need working PhpED, please download it from our site and proceed with evaluating.

FYI, for almost half year we do not provide anything like dbg 3.0.1 or listener 3.0.2. Dbg 2.18.5 is not from phped 4.6 package at all. It was distributed with phped 4.0.0 and is not compatible with PhpED 4.6.
Currently we ship PhpED 4.6.2, build 4632, dbg 3.1.8/3.1.9.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 16 Jan 2007
Posts: 5
Reply with quote
I'm not evaluating, I'm using a copy I've bought for full price. I've bought version 4.2 and later on upgraded to 4.6.
The listener was installed by default when I installed the editor's first version and the upgrade.
I found the current debugger under my C:\Program Files\nusphere\phped\debugger\server\Linux as advised by yfactor in this forum.

Since my first post here I've changed the debugger on the server from 2.18.5 to the one I found in my 4.6 instalation - 3.0.1.

Noam
View user's profileFind all posts by noambecSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Dear Noam,
Probably you missed all our notifications that we send to all our customers when we released phped 4.6.1 and 4.6.2 or you just unsubscribed from those notifications.
Once you're a customer, I'd highly recommend you to download the latest PhpEd from your nusphere account.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 16 Jan 2007
Posts: 5
Reply with quote
Dear dmitri,

I logged to my account and under upgrade have this message: "There are no products available under this category".

it seems there is more then a year since I bought the editor. What to I do now with the current version? How do I configure a debugger to work on my remote Linux server with version 4.6?

I have the original exe file and can reinstall the IDE if needed.

Noam
View user's profileFind all posts by noambecSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Quote:
it seems there is more then a year since I bought the editor

it makes sense. Please contact sales via http://shop.nusphere.com/contact_us
and ask for help with clarifying what products are available to you and where.

Quote:
How do I configure a debugger to work on my remote Linux server with version 4.6?

Please check these posts on FAQ forum:
http://forum.nusphere.com/howto-set-project-mapping-t2135.html
http://forum.nusphere.com/howto-debug-remote-website-with-phped-t1860.html
http://forum.nusphere.com/howto-setup-project-properties-in-phped-t645.html

Quote:
I have the original exe file and can reinstall the IDE if needed

no, it's not necessary.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 16 Jan 2007
Posts: 5
Reply with quote
the enclosed links are new to me. hope that will do it.

many thanks!!!
View user's profileFind all posts by noambecSend private message


Joined: 16 Jan 2007
Posts: 5
Reply with quote
Dear dmitri,

Your tips did help and i managed to set it up. the key was the communication troubleshooting page. for some reason the ssh setup doesn't work, and once I disabled it everything came in place.

the problem is that the server host does not open a listening socket on port 7869. can't see in netstat. any ideas how to tackle it? I would prefer working in ssh mode, if possible.

Many thanks in advance

Noam
View user's profileFind all posts by noambecSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Quote:
the problem is that the server host does not open a listening socket on port 7869. can't see in netstat. any ideas how to tackle it?

Server is dbglistener and I think its name is a clear indication on who is listening Smile
Debugger module running on the server machine connects to the listener running on the client machine, but in terms of connectivity, the server is still dbglistener. I hope I made it clearer.

Regarding ssh, you can use it. You may use any ssh distro that supports ssh tunnels that will forward local listening socket (dbglistener) onto the remote server. For example in case of openssh it means -R localhost:7869:localhost:7869 argument.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Installing remote dbg 2.18.5 for PhpED 4.6
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