NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[resolved] php cant find included files


Joined: 10 Feb 2004
Posts: 93
Reply with quote
Ok, I could be missing something here, but I'm not sure what. I have a project setup (evolve2). project has 2 directories: main and inc.



I have a library collection that all of my apps use that I have included with the Code Insight Includes option. I have set up the mapping so that the directory main maps to the app root on the remote server, and the inc folder maps to the location where I store my includes on the remote server.



On the includes tab of the project properties, I have made sure that all of the files listed are properly mapped under Resolved file name



When I begin the debugger, it comes back with the warning message that it cant find the file 'evolve-setup.inc' to include. I've double-checked the Includes tab of the properties and that file (evolve-setup.inc) has been correctly resolved. The application is working correctly on the remote server, so I know its not something in my code (like a typo). Any ideas on what I have set-up incorrectly that is preventing me from running this with the debugger?
View user's profileFind all posts by gilzowSend private messageAIM Address
Veteran

Joined: 24 Jan 2006
Posts: 311
Reply with quote
The problem is that you are running the debugger with local Srv server and not remote server - the settings are different therefore. The question is what would you like to do:
- run remote debugging with the remote server (recommended if you want to debug the exactly the same environment as your production server)
- setup includes on the local system- also quite doable

Thanks!
View user's profileFind all posts by yfaktorSend private message


Joined: 10 Feb 2004
Posts: 93
Reply with quote
yfaktor wrote:
The problem is that you are running the debugger with local Srv server and not remote server - the settings are different therefore. The question is what would you like to do:
- run remote debugging with the remote server (recommended if you want to debug the exactly the same environment as your production server)
- setup includes on the local system- also quite doable

Thanks!


I cant run debugging on the remote server since I'm in a shared environment (University). I've spoken with the Admin, and he is looking into adding it to the development environment, but no guarantees.

So I'll need to change all my includes to point to the local system? ick.... Crying or Very sad

There's no way to be able to leave the include in the files pointing to the correct location on the actual server, and use the Includes tab of the Project properties to remap them to their local equivalents? I thought that was the whole purpose of that section of the project properties???
View user's profileFind all posts by gilzowSend private messageAIM Address
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Quote:
So I'll need to change all my includes to point to the local system?

Whenever you work with SRV server, it uses php that comes with phped and depending on the version number 5 vs 4, its php.ini is located in c:\program files\phped\php5\php.ini or c:\program files\phped\php\php.ini
Feel free to edit this file and update include_path setting.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
[resolved] php cant find included files
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