--===============0657117651== Content-Type: multipart/alternative; boundary="0-1246475001-1197050317=:80412" --0-1246475001-1197050317=:80412 Content-Type: text/plain; charset=us-ascii a venit ----- Original Message ---- From: Andras Mantia To: Quanta users list Sent: Wednesday, December 5, 2007 11:47:52 AM Subject: Re: [Quanta] PHP Debugging in Quanta+ On Monday 03 December 2007, Alexander Yurchik wrote: > > /var/www/test > /test 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: / / 9000 http://localhost/kdewebdev.org/%rfpp?XDEBUG_SESSION_START=1&XDEBUG_PROFILE break 1802 /tmp/cachegrind.out.%a 0 0 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 --0-1246475001-1197050317=:80412 Content-Type: text/html; charset=us-ascii
a venit

----- Original Message ----
From: Andras Mantia <amantia@kde.org>
To: Quanta users list <quanta@mail.kde.org>
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



Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. --0-1246475001-1197050317=:80412-- --===============0657117651== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Quanta mailing list Quanta@mail.kde.org https://mail.kde.org/mailman/listinfo/quanta --===============0657117651==--