Re: PHP Debugging in Quanta+

Silviu Candale <[email protected]>
Newsgroups gmane.comp.kde.devel.quanta.user
Message-ID <[email protected]>
a venit

----- Original Message ----
From: Andras Mantia <[email protected]>
To: Quanta users list <[email protected]>
Sent: Wednesday, December 5, 2007 11:47:52 AM
Subject: Re: [Quanta] PHP Debugging in Quanta+


On Monday 03 December 2007, Alexander Yurchik wrote:
>         <localproject/>
>         <localbasedir>/var/www/test</localbasedir>
>         <serverbasedir>/test</serverbasedir>

So far what I found is the error happens if you use this paths. I'm yet
 
unsure why, but please try the following:
- tick the "local project" box
- set your preview prefix to point to the place where your site is
 (e.g. 
http://localhost/~username/yoursite)
- set the startsession in a way that it points to your site (
http://localhost/~username/yoursite/%rfpp?XDEBUG_SESSION_START=1;XDEBUG_PROFILE)

In my case I have the following setup:

- the source code for the site is in "/data/development/kdewebdev.org"
- the apache base dir is /srv/www/htdocs
- I have a symbolic link from /srv/www/htdocs/kdewebdev.org 
to /data/development/kdewebdev.org
- the preview prefix is http://localhost/kdewebdev.org/
- the debugger settings are:
       <DBGp>
       <localproject/>
        <localbasedir>/</localbasedir>
        <serverbasedir>/</serverbasedir>
        <listenport>9000</listenport>
<startsession>http://localhost/kdewebdev.org/%rfpp?XDEBUG_SESSION_START=1&XDEBUG_PROFILE</startsession>
        <defaultexecutionstate>break</defaultexecutionstate>
        <errormask>1802</errormask>
        <profilerfilename>/tmp/cachegrind.out.%a</profilerfilename>
        <profilerfilename_map>0</profilerfilename_map>
        <profiler_autoopen>0</profiler_autoopen>
      </DBGp>

I'm curious if this makes it work for you or not. Anyway there seems to
 
be a problem with the basedir handling, but I'd like to get a 
confirmation that indeed this is the problem at your side.

Andras

-- 
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org






      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping

_______________________________________________
Quanta mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/quanta
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.