[prev in list] [next in list] [prev in thread] [next in thread] 

List:       quanta
Subject:    Re: [Quanta] PHP Debugging in Quanta+
From:       Andras Mantia <amantia () kde ! org>
Date:       2007-12-05 9:47:52
Message-ID: 200712051147.56612.amantia () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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&amp;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


["signature.asc" (application/pgp-signature)]

_______________________________________________
Quanta mailing list
Quanta@mail.kde.org
https://mail.kde.org/mailman/listinfo/quanta


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic