NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Debugging Windows (IDE) to Linux (Server)


Joined: 25 Mar 2006
Posts: 5
Location: Belgium
Reply with quote
When I want to debug my program I always get "failed to map" errors, but the remote file shows up anyhow.

Configuration:
Development with Nusphere PHPEd on Windows XP (IE7). My files reside on SAMBA server (in fact they are the server files) and are mapped on drive W:\cgi-php\homenet\mycmms2

Server is Linux LAMP. There the files are on /var/www/cgi-php/... (same files)

Any ideas?
Problem with the fact that in fact we use the same files?

Settings Project:
Root directory: W:\cgi-php\homenet\mycmms2
Run Mode: HTTP Mode (3rd party server)
Root URL : http://backup (local net)
Remote root dir: /var/www/cgi-php/homenet/mycmms2/
View user's profileFind all posts by whuysmansSend private message
Veteran

Joined: 24 Jan 2006
Posts: 311
Reply with quote
I think our new dbg-wziard might help you, new-dbg-wizard-can-help-you-setup-remote-debugging-t3116.html
Place it in W:\cgi-php\homenet\mycmms2 and point your broaswer to http://backup/sbg-wizard.php - what does it say?
View user's profileFind all posts by yfaktorSend private message
Output from DBG Wizard


Joined: 25 Mar 2006
Posts: 5
Location: Belgium
Reply with quote
PHP Version: 5.1.2
Web Server: Apache/2.2.0 (Fedora)
Server Name: backup
OS: Linux
Your Client IP Address: 192.168.0.3
Your Server IP Address: 192.168.0.32
Port: 80
Your Web Server and PhpED are on different machines
Path to website files: /var/www/cgi-php/homenet/mycmms2/
Document Root is: /var/www/html/
Your PHP.INI file is /etc/php.ini
PHP extensions directory is /usr/lib/php/modules
DBG (PHP DEBUGGER) Version 3.1.6 is INSTALLED

Project -> Root Directory: LOCAL DIRECTORY IS W:\... since I use Windows IDE
Select the location where you will store the copies of the files from /var/www/cgi-php/homenet/mycmms2/ from your server backup .
Note: if you are using Samba or some other file sharing system, you can simply point Root Directory to /var/www/cgi-php/homenet/mycmms2/ instead of copying it
Mapping -> Run Mode: HTTP Mode (3-rd party WEB server)
Mapping -> Remote URL: http://backup/
Mapping -> Remote Root Directory: /var/www/cgi-php/homenet/mycmms2/
View user's profileFind all posts by whuysmansSend private message
Veteran

Joined: 24 Jan 2006
Posts: 311
Reply with quote
So, these are the settings you put in, right - with your root url set to http://backup/ ?
Could you please post the screenshot with the error dialog and the log tab of PhpED + the screen shot of project properties?
These settings seem to be right
View user's profileFind all posts by yfaktorSend private message
Debugging Windows (IDE) to Linux (Server)
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