NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
PEAR & Debugging under PHPEd *solved*


Joined: 20 Jan 2005
Posts: 10
Reply with quote
I am running "XAMPP", a WAMP-system locally under Windows.

When I try to debug my php-application and PHPEd is running over PEAR code (for example a Form with the HTML-QuickForm package), then I get an error-mesage like:

"Failed to map remote file C:\xampp\php\pear\HTML\Quickform.php to any local file".

Is there any workaround with debugging and using of PEAR?? Sad
View user's profileFind all posts by spinmasterSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Do you run Apache on the same host with phped IDE?
In this case just add mapping entry on the mapping tab in project properties:

remote: C:\xampp
local: C:\xampp

all other columns should be left empty.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 20 Jan 2005
Posts: 10
Reply with quote
My settings in Mapping are as follows:

Run mode: 3rd party webserver
ROOT-URL: http://localhost/myproject/webapp
Remote root-dir: C:\xampp\htdocs\myproject\webapp

My php-include path (where all PEAR-files are located) is:

C:\xampp\php\pear

So far debugging worked out, just until I am stepping over a line where a PEAR class is included...
View user's profileFind all posts by spinmasterSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Add a line to the mapping table:
remote dir C:\xampp\php\pear
local dir C:\xampp\php\pear
url and publishing should be left blank.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 20 Jan 2005
Posts: 10
Reply with quote
Embarassed sorry, where exactly shall I add the lines (for the mapping table)??
I cant really add them in the project-properties - so shall I do it then in the *.ppw-file via an editor?
View user's profileFind all posts by spinmasterSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
sorry for not making it clear from the beginning...

View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 20 Jan 2005
Posts: 10
Reply with quote
Very Happy That was it! thanks a lot...

by the way: great support here in the Forum!
View user's profileFind all posts by spinmasterSend private message
PEAR & Debugging under PHPEd *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