treedinva wrote: |
I have seen so many threads on includes not mapping properly that I hate to post this but I am really out of ideas to try. Basically I have my source on an apache server mapped to a local drive.
y:\ePSM is my project root that is a samba share to:
/var/www/htdocs/ePSM
my problem is when I try to call files from a directory other than root.
Example:
/var/www/htdocs/ePSM/includes/email.php which has an include for
/var/www/htdocs/ePSM/includes/DBhandler/irsconnection.php
it maps it as /var/www/htdocs/ePSM/includes/DBHandler/irsconnection.php
so if I mod my include statement from include_once('DBHandler/irsconnection.php') to
include_once('../DBHandler/irsconnection.php') it is fine but then the server get lost.
I do have maps for this directory /var/www/htdocs/ePSM/DBHandler y:\ePSM\DBHandler
Any thoughts, or can I simply not include from any directory other than root? I emailed support but of course have heard nothing. Unfortunately I jumped in and purched a license before I discovered this problem.
Thanks, Thomas |
What I have done in the past is create new projects with those paths that you need..
I.e.,
/var/www/htdocs/ as one project
and
/var/www/htdocs/something/ as another project
Set the root project as active, and set breakpoints in the other projects. It stops on those breakpoints for me, maybe you should try it.