NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Debugging To Localhost


Joined: 11 Jun 2007
Posts: 16
Reply with quote
Has anyone ever managed to get debugging setup to an Apache server on localhost?

If for example one has:

http://localhost/dev/proj

As the Apache address (and which works fine on its own).

And has:

D:\My Documents\dev\proj

As the actual path (and that works fine in PHPEd's IDE debugger).

The mapping, according to dbg-wizard.php is exactly what I'd expect it to be, namely mapping the URL noted above to the directory noted above.

But when I try to run anything it still tells me it can't do and asks me to check the remote root directory against the root URL.

I've had this problem before but previously just given up with it. I thought I'd ask this time.
View user's profileFind all posts by GreenFedoraSend private message
Veteran

Joined: 06 Jun 2007
Posts: 289
Location: Vancouver, Canada
Reply with quote
Mapping http://localhost/dev/proj to D:\My Documents\dev\proj suggests that the root of your website http://localhost resides at D:\My Documents. That sounds a bit unusual to me, but it is not necessarily wrong. Are you sure about that?

Assuming the above is correct, I suggest you check that you have the following project settings:
* Under Project, your Root directory: D:\My Documents\dev\proj
* Under Mapping, your Root URL: http://localhost/dev/proj
* Remote root directory: D:\My Documents\dev\proj

The account settings under Publishing is optional. When debugging on your local machine, you need the account settings only for uploading to a remote server.

BTW: I use IIS on localhost. Apache should work equally well.

_________________
Smile
View user's profileFind all posts by annoSend private messageVisit poster's website


Joined: 11 Jun 2007
Posts: 16
Reply with quote
Thanks. I have this working now.

I'm still not sure what was wrong but after powering my PC up this morning it all seemed to work okay.
View user's profileFind all posts by GreenFedoraSend private message
Debugging To Localhost
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