NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Failed to map remote file


Joined: 14 Sep 2006
Posts: 1
Reply with quote
Hi!

I am currently evaluating PhpED, but can do no debugging yet. The error I get is

Code:
Failed to map remote file (/projects/x/index.php) to any local file.


I have a Apache2 / PHP5 running locally and PhpED 3.3.3 (build 3379eval). The debug session can be established. The PHP script runs as it does without debugging; it does not stop at any breakpoint.

The log in the lower right corner of PphED says:
Action 11:51:50 Debug session /index.php (ID=[..]) started.
Dbg 11:54:34 Failed to map remote file "/projects/x/inde.php" to any local file. Check ma..
[..]

After having confirmed the above pop-up message for each included file, the IDE crashes with

Code:
Unrecoverable error: Access violation at address 081E00AB, accessing address 0000004c. IDE will be closed.


My settings are:

Project -> Project Properties -> Properties:
Root directory: /projects/x
Source control: None
(Publishing section is completely empty)
Run mode: HTTP mode (3rd party WEB server)
Root URL: http://test_local/ (<- root directory for this domain in Apache2 config is /projects/x )
Remote root directory: /projects/x
Include path: /projects/x/lib;/usr/share/php5/PEAR/

Project -> Project Properties -> Mapping:
Code:

Remote directory         Local diretory           URL                Publishing directory
/projects/x              /projects/x              http://test_local  (empty)
/usr/share/php5/PEAR/    /usr/share/php5/PEAR/    (empty)            (empty)


What am I doing wrong?

Thanks in advance,

samson
View user's profileFind all posts by samsonSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
please double check that /projects/x is apache DOCUMENT_ROOT directory and index.php (not inde.php as you probably mistyped there) is located in this directory and this path is a realpath, no symlinks.
If all those conditions met, try to set path with ending slashes, like below:
/projects/x/ /projects/x/ http://test_local/
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Failed to map remote file
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