NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Help setting up project mapping


Joined: 17 Apr 2007
Posts: 7
Reply with quote
I have what I think is a fairly common setup, but I can't get it to work. I found the FAQs on the main site and they seem to cover what I want to do, but I get lots of "Unable to map _____" errors while debugging.

Here's the deal:

Files live on a linux box. I have a mapped samba drive (XSmile on my windows box that points to most of them. The only exception is the system stuff in /opt/php/lib/php

We have a common library that we use for all our sites in X:\framework. Then each individual site is X:\site1, X:\site2, etc. For speed sake I would like to make the project only contain X:\site1 and X:\framework. It takes a long time to scan all the sites, and I don't want their code being mixed in with the one specific site I'm working on. I've made a symlink to the php system dir in my sandbox, so that a complete project should contain

X:\sandbox\jsd\framework -> /var/httpd/sandbox/jsd/framework
X:\sandbox\jsd\phplib -> /opt/php/lib
X:\sandbox\jsd\site1 -> /var/httpd/sandbox/jsd/site1

I set up my project like this:

Project: C:\Program Files\nusphere\phped\Projects\GS5.ppj
Root directory: X:\sandbox\jsd

Mapping
Run Mode: HTTP mode (3rd party)
Root URL: blank
Remote root directory: /var/httpd/sandbox/jsd

I've tried lots of different things on the Mapping tab but I can't get it to work right. How should I set it up?
View user's profileFind all posts by jsdSend private message
Veteran

Joined: 24 Jan 2006
Posts: 311
Reply with quote
This sounds like our case in FAQ:
howto-set-project-mapping-t2135.html
example #5 - did you try that setting?
Many Thanks!
View user's profileFind all posts by yfaktorSend private message


Joined: 17 Apr 2007
Posts: 7
Reply with quote
yfaktor wrote:
This sounds like our case in FAQ:
howto-set-project-mapping-t2135.html
example #5 - did you try that setting?
Many Thanks!


Yes, I was unable to stop the "Unable to map ____" error, but then I discovered there's a setting in the preferences that disables this alert. So I'm still having problems with files in the phplib directory, but I don't care, because I don't want to debug them anyway. It's now working to let me debug my site and the framework. Very nice!
View user's profileFind all posts by jsdSend private message
Help setting up project mapping
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