<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>80792</bug_id>
          
          <creation_ts>2004-05-02 18:22:26 +0000</creation_ts>
          <short_desc>all php files searched in php project root URL even if they are inside a subdir</short_desc>
          <delta_ts>2007-01-14 20:30:40 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kdevelop</product>
          <component>Language Support: PHP</component>
          <version>3.0.1</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Imre Péntek">pentek.imre</reporter>
          <assigned_to name="KDevelop Developers">kdevelop-devel</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>228319</commentid>
    <comment_count>0</comment_count>
    <who name="Imre Péntek">pentek.imre</who>
    <bug_when>2004-05-02 18:22:26 +0000</bug_when>
    <thetext>Version:           3.0.1 (using KDE KDE 3.2.0)
Installed from:    Unspecified Unix
Compiler:          gcc version 3.3.2 Configured with: /var/uhubuild/work/compile/configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --enable-languages=c,c++,objc,java,f77,pascal --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --host=i386-pc-linux-gnu
OS:          Linux

So I created a php project into ~/public_html/php/ I put some files into some subdirs of this dir, and if I try to execute these files using apache and loopback it searches them in ~/public_html/php/ and hence these can&apos;t be executed. :(
But it runs them correctly if parsed using a php ELF executable interpreter.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>392834</commentid>
    <comment_count>1</comment_count>
    <who name="frank">skunk</who>
    <bug_when>2005-11-24 19:50:07 +0000</bug_when>
    <thetext>i can confirm this bug with kdevelop-3.3.0-rc1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>430311</commentid>
    <comment_count>2</comment_count>
    <who name="Imre Péntek">pentek.imre</who>
    <bug_when>2006-04-12 17:57:35 +0000</bug_when>
    <thetext>In automake manager at the middle I click the second leftmost button, and kdevelop crashes. I cannot reproduce by intention.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>430314</commentid>
    <comment_count>3</comment_count>
    <who name="Imre Péntek">pentek.imre</who>
    <bug_when>2006-04-12 17:58:20 +0000</bug_when>
    <thetext>Well sorry, disregard my previous post.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>501567</commentid>
    <comment_count>4</comment_count>
    <who name="Andreas Pakulat">apaku</who>
    <bug_when>2007-01-14 20:23:30 +0000</bug_when>
    <thetext>SVN commit 623419 by apaku:

Use project-relative path for opening php projects in web-mode.
BUG:80792


 M  +1 -1      phpsupportpart.cpp  


--- branches/kdevelop/3.4/languages/php/phpsupportpart.cpp #623418:623419
@@ -283,7 +283,7 @@
       KParts::ReadOnlyPart *ro_part = dynamic_cast&lt;KParts::ReadOnlyPart*&gt;(partController()-&gt;activePart());
       if (ro_part) {
          if ( configData-&gt;getInvocationMode() == PHPConfigData::Web )
-            file = ro_part-&gt;url().fileName();
+            file = URLUtil::relativePath( project()-&gt;projectDirectory(), ro_part-&gt;url().path() );
          else
             file = ro_part-&gt;url().path();
       }
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>501569</commentid>
    <comment_count>5</comment_count>
    <who name="Imre Péntek">pentek.imre</who>
    <bug_when>2007-01-14 20:30:40 +0000</bug_when>
    <thetext>thanks.
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>