NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
One Solution:"failed to map remote file" (solved)


Joined: 04 Feb 2005
Posts: 4
Location: Seattle
Reply with quote
So maybe everyone else already knows this, but I thought I'd post this for any other knuckle head like me.

So on my server, I have a large raid array that I often map other directories to using symlinks, e.g. my mysql data directory is a symlink to my raid array, some of the large web directories are symlinks etc.

Well I kept getting the error:

Failed to map remote file

<path to file>

And I had never specified this path anywhere in my properties.

Well I finally realized that the debugger wasn't following the symlink, it was using the real directory path. Once I changed the remote root dir from the symlink to the actual path everything worked.

Hope that helps.

Mark
View user's profileFind all posts by msteudelSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
Debugger is not involved in resolving symlinks.
It's done by PHP engine.
To be sure, just make an error in your code and check what file name is specified in the error message.
Debugger sits on top of php engine and uses whatsoever specified as file names in the internal structures of it.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 04 Feb 2005
Posts: 4
Location: Seattle
Reply with quote
And it would be utilizing the php engine on the server?

After I posted this I guessed that it could also be something in the apache/php configuration like follow symlinks etc.
View user's profileFind all posts by msteudelSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
Under "php engine" I meant the php 4 apache module that you run.
Maybe "follow symlinks" tuned on or off will resolve the problem... I didn't check.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 04 Feb 2005
Posts: 4
Location: Seattle
Reply with quote
Not a big deal since it works fine now.
View user's profileFind all posts by msteudelSend private message
One Solution:"failed to map remote file" (solved)
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