NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
setting up remote debugging


Joined: 14 Aug 2008
Posts: 5
Reply with quote
Helo,

I am running PhpED 5.6 on Windows. I want to debug my project remote on Linux unsing Weberver Apache2.
I have setup php on Webserver for using dbg debugger.
So far so good.

Now I have problem to setup my project localy.


The project is localy on d:\asterisk\gemeinschaft\entwicklung.
On the Webserver it is on /var/www/gemeinschaft
Webserver root is /var/www

I have a FTP account to the webserver for up and download.

I try to use this documentation to set up remote debuging:

http://www.nusphere.com/kb/technicalfaq/howto_set_project_mapping.htm


If start debugging in IE with Nuspere Toolbar I get the error:

Failed to map "/usr/src/gemeinschaft-2.1.0/opt/gemeinschaft/htdocs/gui/index.php" remote file to publishing account
Failed to map "/usr/src/gemeinschaft-2.1.0/opt/gemeinschaft/htdocs/gui/index.php" remote file to local filesystem account

(/usr/src/gemeinschaft-2.1.0/opt/gemeinschaft/htdocs/gui/index.php is a link to /var/www/gemeinschaft/index.php)


Why can I not setup mapping remote root directory in my project properties?
Its always the same like project root directory


I have a picture on my settings uploaded.


Thanks

Sven
View user's profileFind all posts by konabiSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Sven,

PhpED 5.6 comes with Project Settings Wizard. Please run it and it will help you.

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

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
the problem is that you're running files in /usr/src/gemeinschaft-2.1.0/opt/gemeinschaft/htdocs/, not in /var/www/...
In other words, you've specified wrong remote root directory.

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


Joined: 14 Aug 2008
Posts: 5
Reply with quote
/usr/src/gemeinschaft-2.1.0/opt/gemeinschaft/htdocs/ islinked to /var/www/gemeinschaft.

Well I started new from begin with a project test.
I used the "samba way", so I have a samba share on the webserver:


Webserver Document root: /var/www which is URL http://mywebserver

Project on Weberver: /var/www/

Samba Share name is "www" which is /var/www so the share url on windows view is \\mywebserver\www

But I still get the error IDE coult not find the project for the web debugging.

I got to pictures who shows the setting in wizard and to show the error on debug.

Thanks a lot for helping ne.

Sven

[img]



[/img]
View user's profileFind all posts by konabiSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Quote:
/usr/src/gemeinschaft-2.1.0/opt/gemeinschaft/htdocs/ islinked to /var/www/gemeinschaft

It makes no difference, you still have to use real directory in the project settings because Apache dereference the links anyway and php sees only physical paths, so does debugger, so does the IDE.

Quote:
Samba Share name is "www" which is /var/www so the share url on windows view is \\mywebserver\www
But I still get the error IDE coult not find the project for the web debugging


if I got it right, you're using Standard edition. It does not support remote debugging.
See this page for the Pro features not supported by Standard version: http://www.nusphere.com/products/phped_verscomp.htm

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
setting up remote debugging
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