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

List:       quanta
Subject:    Re: [Quanta] PHP Debugging in Quanta+
From:       Silviu Candale <silviu_ct_2005 () yahoo ! com>
Date:       2007-12-07 17:58:37
Message-ID: 841008.80412.qm () web35912 ! mail ! mud ! yahoo ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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






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


[Attachment #5 (text/html)]

<html><head><style type="text/css"><!-- DIV {margin:0px;} \
--></style></head><body><div style="font-family:times new roman, new york, times, \
serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; \
font-size: 12pt;">a venit<br><br><div style="font-family: times new roman,new \
york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Andras \
Mantia &lt;amantia@kde.org&gt;<br>To: Quanta users list \
&lt;quanta@mail.kde.org&gt;<br>Sent: Wednesday, December 5, 2007 11:47:52 \
AM<br>Subject: Re: [Quanta] PHP Debugging in Quanta+<br><br> On Monday 03 December \
2007, Alexander Yurchik wrote:<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; \
&lt;localproject/&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; \
&lt;localbasedir&gt;/var/www/test&lt;/localbasedir&gt;<br>&gt; &nbsp; &nbsp; &nbsp; \
&nbsp; &lt;serverbasedir&gt;/test&lt;/serverbasedir&gt;<br><br>So far what I found is \
the error happens if you use this paths. I'm yet  <br>unsure why, but please try the \
following:<br>- tick the "local project" box<br>- set your preview prefix to point to \
the place where your site is  (e.g. <br><a \
href="http://localhost/%7Eusername/yoursite" \
target="_blank">http://localhost/~username/yoursite</a>)<br>- set the startsession in \
a way that it points to your site (<br><a \
href="http://localhost/%7Eusername/yoursite/%rfpp?XDEBUG_SESSION_START=1;XDEBUG_PROFILE" \
target="_blank">http://localhost/~username/yoursite/%rfpp?XDEBUG_SESSION_START=1;XDEBUG_PROFILE</a>)<br><br>In \
my case I have the following setup:<br><br>- the source code for the site is in \
"/data/development/kdewebdev.org"<br>- the apache base dir is /srv/www/htdocs<br>- I \
have a symbolic link from /srv/www/htdocs/kdewebdev.org <br>to \
/data/development/kdewebdev.org<br>- the preview prefix is <a \
href="http://localhost/kdewebdev.org/" \
target="_blank">http://localhost/kdewebdev.org/</a><br>- the debugger settings \
are:<br>&nbsp; &nbsp; &nbsp;  &lt;DBGp&gt;<br>&nbsp; &nbsp; &nbsp;  \
&lt;localproject/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; \
&lt;localbasedir&gt;/&lt;/localbasedir&gt;<br>&nbsp;  &nbsp; &nbsp; &nbsp; \
&lt;serverbasedir&gt;/&lt;/serverbasedir&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; \
&lt;listenport&gt;9000&lt;/listenport&gt;<br>&lt;startsession&gt;<a \
href="http://localhost/kdewebdev.org/%rfpp?XDEBUG_SESSION_START=1&amp;XDEBUG_PROFILE" \
target="_blank">http://localhost/kdewebdev.org/%rfpp?XDEBUG_SESSION_START=1&amp;XDEBUG_PROFILE</a>&lt;/startsession&gt;<br>&nbsp; \
&nbsp; &nbsp; &nbsp; \
&lt;defaultexecutionstate&gt;break&lt;/defaultexecutionstate&gt;<br>&nbsp; &nbsp; \
&nbsp; &nbsp; &lt;errormask&gt;1802&lt;/errormask&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; \
&lt;profilerfilename&gt;/tmp/cachegrind.out.%a&lt;/profilerfilename&gt;<br>&nbsp; \
&nbsp; &nbsp; &nbsp; \
&lt;profilerfilename_map&gt;0&lt;/profilerfilename_map&gt;<br>&nbsp; &nbsp; &nbsp; \
&nbsp; &lt;profiler_autoopen&gt;0&lt;/profiler_autoopen&gt;<br>&nbsp; &nbsp; &nbsp; \
&lt;/DBGp&gt;<br><br>I'm curious if this makes it work for you or not. Anyway there \
seems to  <br>be a problem with the basedir handling, but I'd like to get a \
<br>confirmation that indeed this is the problem at your \
side.<br><br>Andras<br><br>-- <br>Quanta Plus developer - <a \
href="http://quanta.kdewebdev.org" \
target="_blank">http://quanta.kdewebdev.org</a><br>K Desktop Environment - <a \
href="http://www.kde.org" \
target="_blank">http://www.kde.org</a><br></div><br></div></div><br>  <hr size=1>Be a \
better friend, newshound, and  know-it-all with Yahoo! Mobile. <a \
href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ \
"> Try it now.</a></body></html>



_______________________________________________
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