<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://community.activestate.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>ActiveState Community Site - PHP - Comments</title>
 <link>http://community.activestate.com/tags/php</link>
 <description>Comments for &quot;PHP&quot;</description>
 <language>en</language>
<item>
 <title>Comment out doc_root line in php.ini</title>
 <link>http://community.activestate.com/faq/cgi-debugging-no-input-fi#comment-5662</link>
 <description>&lt;p&gt;It looks like doc_root setting in the php.ini bundled with Web Developer Suite 2.0 causes problems for the remote debugger. Comment out that line in c:\www\php5\debug\php.ini and it should work.&lt;/p&gt;
&lt;p&gt;Thanks for bringing this to our attention! We&#039;ll create a bug for Komodo to handle this better and mention it in the release notes, but it&#039;s unlikely to be fixed in time for the 4.4 release.&lt;/p&gt;
</description>
 <pubDate>Thu, 12 Jun 2008 13:48:55 -0700</pubDate>
 <dc:creator>troyt</dc:creator>
 <guid isPermaLink="false">comment 5662 at http://community.activestate.com</guid>
</item>
<item>
 <title>Re: try latest Komodo (4.3.2)</title>
 <link>http://community.activestate.com/faq/cgi-debugging-no-input-fi#comment-5640</link>
 <description>&lt;p&gt;Thanks for the help Todd.  &lt;/p&gt;
&lt;p&gt;I&#039;m using:&lt;/p&gt;
&lt;p&gt;Komodo IDE, version 4.4.0-beta1, build 19400, platform win32-x86.&lt;br /&gt;
Built on Fri May 30 02:25:59 2008.&lt;/p&gt;
&lt;p&gt;Web Developer Suite 2.0 which includes Apache 2.2 and PHP 5.2.5&lt;br /&gt;
&lt;a href=&quot;http://sourceforge.net/projects/webdeveloper/&quot; title=&quot;http://sourceforge.net/projects/webdeveloper/&quot;&gt;http://sourceforge.net/projects/webdeveloper/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Preferences, PHP Language:&lt;/p&gt;
&lt;p&gt;Interpreter: c:\www\php5\php.exe&lt;br /&gt;
php.ini:  c:\www\php5\debug&lt;/p&gt;
&lt;p&gt;I also tested with c:\www\php5\php-cgi.exe and received the same results.&lt;/p&gt;
&lt;p&gt;the debug\php.ini was created during installation of Komodo.  It&#039;s the default php.ini with the following prepended from Komodo:&lt;/p&gt;
&lt;p&gt;; xdebug config added by Komodo&lt;br /&gt;
zend_extension_ts=C:\www\php5\ext\php_xdebug.dll&lt;br /&gt;
xdebug.remote_enable=1&lt;br /&gt;
xdebug.remote_handler=dbgp&lt;br /&gt;
xdebug.remote_mode=req&lt;br /&gt;
xdebug.remote_port=9000&lt;br /&gt;
cgi.force_redirect = 0&lt;/p&gt;
&lt;p&gt;I verified that those parameters are commented out everywhere else in the php.ini file.&lt;/p&gt;
&lt;p&gt;Choosing Debug -&amp;gt; Go/Continue:&lt;/p&gt;
&lt;p&gt;I choose &quot;Use the CGI interpreter&quot;&lt;/p&gt;
&lt;p&gt;I check &quot;Simulate CGI Environment&quot;&lt;/p&gt;
&lt;p&gt;and I add the post values according to the debugging PHP tutorial / demo.&lt;/p&gt;
&lt;p&gt;It works if I choose &quot;Use the CLI interpreter&quot;, but then it doesn&#039;t allow me to specify the post variables.&lt;/p&gt;
&lt;p&gt;The only thing I can think to add at this point (in case it helps) is a copy of the php.ini along with lists of extensions enabled in php.&lt;/p&gt;
</description>
 <pubDate>Tue, 10 Jun 2008 17:51:29 -0700</pubDate>
 <dc:creator>osmosis</dc:creator>
 <guid isPermaLink="false">comment 5640 at http://community.activestate.com</guid>
</item>
<item>
 <title>Re: try latest Komodo (4.3.2)</title>
 <link>http://community.activestate.com/faq/cgi-debugging-no-input-fi#comment-5629</link>
 <description>&lt;p&gt;Can you try using Komodo 4.3.2 or the Komodo 4.4 beta:&lt;br /&gt;
&lt;a href=&quot;http://downloads.activestate.com/Komodo/releases/&quot; title=&quot;http://downloads.activestate.com/Komodo/releases/&quot;&gt;http://downloads.activestate.com/Komodo/releases/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If that does not fix the problem, we&#039;ll need some additional details like:&lt;br /&gt;
* where did you download PHP from&lt;br /&gt;
* how are performing the CGI debugging (through Komodo&#039;s Debug - F5 command)&lt;br /&gt;
* which interpreter is set in your PHP language preferences&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;
Todd&lt;/p&gt;
</description>
 <pubDate>Tue, 10 Jun 2008 10:57:00 -0700</pubDate>
 <dc:creator>ToddW</dc:creator>
 <guid isPermaLink="false">comment 5629 at http://community.activestate.com</guid>
</item>
<item>
 <title>any other ideas?</title>
 <link>http://community.activestate.com/faq/cgi-debugging-no-input-fi#comment-5613</link>
 <description>&lt;p&gt;What else could be causing this?  I&#039;ve tried everything above with no luck.&lt;/p&gt;
&lt;p&gt;Komodo 4.3 beta&lt;br /&gt;
PHP 5.2.5&lt;br /&gt;
Windows XP&lt;/p&gt;
&lt;p&gt;The trial period ran out before I had a chance to test cgi debugging, so I installed the beta to extend my trial and finish testing things out...&lt;/p&gt;
</description>
 <pubDate>Mon, 09 Jun 2008 21:54:08 -0700</pubDate>
 <dc:creator>osmosis</dc:creator>
 <guid isPermaLink="false">comment 5613 at http://community.activestate.com</guid>
</item>
<item>
 <title>Just another note on Ruby testing...</title>
 <link>http://community.activestate.com/unit-testing-komodo-4-3#comment-4115</link>
 <description>&lt;p&gt;The Ruby test harness is actually a Test::Unit harness, but given our time&lt;br /&gt;
frame, and that I had only one place to locate it, it made more sense to&lt;br /&gt;
position it within Rake, instead of using it standalone.&lt;/p&gt;
&lt;p&gt;Live I&#039;ve been saying here, more harnesses will be on their way.&lt;/p&gt;
</description>
 <pubDate>Fri, 08 Feb 2008 19:14:15 -0800</pubDate>
 <dc:creator>ericp</dc:creator>
 <guid isPermaLink="false">comment 4115 at http://community.activestate.com</guid>
</item>
<item>
 <title>The Perl &#039;make test&#039; harness analyzes your environment</title>
 <link>http://community.activestate.com/unit-testing-komodo-4-3#comment-4112</link>
 <description>&lt;p&gt;On non-Windows platforms, it assumes make is called &quot;make&quot;.&lt;br /&gt;
If it finds one in the path, it uses it.  Otherwise it&lt;br /&gt;
doesn&#039;t run the tests.&lt;/p&gt;
&lt;p&gt;On Windows, it first checks the path, but if no &quot;nmake.exe&quot;&lt;br /&gt;
is found that way, it looks in the registry for the location&lt;br /&gt;
of a Visual Studio installation, and finds nmake.exe that&lt;br /&gt;
way.&lt;/p&gt;
&lt;p&gt;Note that if you&#039;re testing an XS library, and nmake wants&lt;br /&gt;
to rebuild part of it, you need to have the Visual C++&lt;br /&gt;
environment loaded when Komodo is launched.&lt;/p&gt;
</description>
 <pubDate>Fri, 08 Feb 2008 10:13:00 -0800</pubDate>
 <dc:creator>ericp</dc:creator>
 <guid isPermaLink="false">comment 4112 at http://community.activestate.com</guid>
</item>
<item>
 <title>Perl Test harness</title>
 <link>http://community.activestate.com/unit-testing-komodo-4-3#comment-4107</link>
 <description>&lt;p&gt;I see that the tests for a Perl project will be run by using the &quot;make test&quot; invocation.&lt;/p&gt;
&lt;p&gt;As Windows users normally use the &quot;nmake.exe&quot; utility (which may or may not be in the PATH Windows looks at to find it), could you perhaps consider adding the possibility to choose the &quot;make/nmake&quot; utility to be used?&lt;/p&gt;
&lt;p&gt;CountZero&lt;/p&gt;
</description>
 <pubDate>Fri, 08 Feb 2008 03:06:21 -0800</pubDate>
 <dc:creator>CountZero</dc:creator>
 <guid isPermaLink="false">comment 4107 at http://community.activestate.com</guid>
</item>
<item>
 <title>Ruby testing tools</title>
 <link>http://community.activestate.com/unit-testing-komodo-4-3#comment-4102</link>
 <description>&lt;p&gt;Ruby has a very active set of developers that focus mostly on testing tools, behavior- and test-driven development. I can name some packages: rspec, heckle, flog, zentest, selenium, cerberus and rcov just popped into my head with little thought. I suspect the most commonly used test-driven development tool at the moment is still Test::Unit, but rspec is gaining ground quickly.&lt;/p&gt;
&lt;p&gt;I think rake is the right &quot;first step&quot;. It&#039;s the Ruby equivalent of Java&#039;s &quot;ant&quot; and Python&#039;s &quot;scons&quot;. But that&#039;s really what it is -- a *build* tool, not a testing tool. The ones I listed above are the testing tools.&lt;/p&gt;
&lt;p&gt;Speaking of new features migrating out of the generic command tool, one of the things I find myself wanting is the ability to associate a file type with an editor *other* than Komodo. For example, a lot of my projects have documents edited with the LyX LaTeX editor. Right now, for example, I have a little command box in the project that I can double-click on to open a specific document in LyX. I suppose I could go find the LyX icon and replace the little terminal symbol with it, and no one would be the wiser. :)&lt;/p&gt;
</description>
 <pubDate>Thu, 07 Feb 2008 20:52:15 -0800</pubDate>
 <dc:creator>znmeb</dc:creator>
 <guid isPermaLink="false">comment 4102 at http://community.activestate.com</guid>
</item>
<item>
 <title>Again, we plan to add support for other harnesses</title>
 <link>http://community.activestate.com/unit-testing-komodo-4-3#comment-4098</link>
 <description>&lt;p&gt;That would include Module::Build, but most of the CPAN modules I sampled&lt;br /&gt;
still use MakeMaker.&lt;/p&gt;
&lt;p&gt;The kind of output that Devel::Cover generates doesn&#039;t fit as well&lt;br /&gt;
in the Komodo Test Plan Results window.  However, ActiveState&lt;br /&gt;
does have a nice solution for pulling graphical information out&lt;br /&gt;
of Devel::Cover runs with version 7.1 of the Perl Dev Kit.&lt;/p&gt;
&lt;p&gt;See &lt;a href=&quot;http://www.activestate.com/Products/perl_dev_kit/fix.mhtml&quot; title=&quot;http://www.activestate.com/Products/perl_dev_kit/fix.mhtml&quot;&gt;http://www.activestate.com/Products/perl_dev_kit/fix.mhtml&lt;/a&gt;&lt;br /&gt;
for more information.&lt;/p&gt;
</description>
 <pubDate>Thu, 07 Feb 2008 14:43:18 -0800</pubDate>
 <dc:creator>ericp</dc:creator>
 <guid isPermaLink="false">comment 4098 at http://community.activestate.com</guid>
</item>
<item>
 <title>Roadmap for unit test support</title>
 <link>http://community.activestate.com/unit-testing-komodo-4-3#comment-4092</link>
 <description>&lt;p&gt;For the alpha we&#039;re supporting one type of test harness for&lt;br /&gt;
each of the four languages listed above.  The next step will be&lt;br /&gt;
to add support for more harnesses (and possibly more languages).&lt;/p&gt;
&lt;p&gt;For Ruby the next step will most likely support running of&lt;br /&gt;
arbitrary tests based on Test::Unit, similar to the current&lt;br /&gt;
support for Python tests.&lt;/p&gt;
</description>
 <pubDate>Thu, 07 Feb 2008 09:55:39 -0800</pubDate>
 <dc:creator>ericp</dc:creator>
 <guid isPermaLink="false">comment 4092 at http://community.activestate.com</guid>
</item>
<item>
 <title>Can the command used for unit tests be changed?</title>
 <link>http://community.activestate.com/unit-testing-komodo-4-3#comment-4089</link>
 <description>&lt;p&gt;For Ruby, you have the unit tests defined by running &quot;rake&quot; and having the user specify the rest of the command line. If that&#039;s *all* it does, then it seems to me that it&#039;s only a shorthand for building a command widget to run Rake. The only difference is that in a unit test, I don&#039;t have to type the first word of the command line when I set it up, just the rest of it. Moreover, the way it&#039;s done now, I&#039;m limited to using &quot;rake&quot; to run my tests.&lt;/p&gt;
&lt;p&gt;What I think would be more convenient would be to either add an extra field to the dialog box for the user to select the test initiation command, or having the user specify the whole command line in the command line entry field you have now. That way, I could start my tests with &quot;spec specs.rb&quot;, which is the way I normally do unit tests.&lt;/p&gt;
</description>
 <pubDate>Thu, 07 Feb 2008 07:20:41 -0800</pubDate>
 <dc:creator>znmeb</dc:creator>
 <guid isPermaLink="false">comment 4089 at http://community.activestate.com</guid>
</item>
<item>
 <title>Todd,
  Your fix worked</title>
 <link>http://community.activestate.com/faq/cgi-debugging-no-input-fi#comment-2403</link>
 <description>&lt;p&gt;Todd,&lt;/p&gt;
&lt;p&gt;  Your fix worked perfectly. Thanks for the prompt response.&lt;/p&gt;
&lt;p&gt;  I assume this has made it&#039;s way into the beta -- which I look forward to participating in once I purchase the IDE. Komodo is, after all, a project worth supporting! ;)&lt;/p&gt;
&lt;p&gt;~ Brice&lt;/p&gt;
</description>
 <pubDate>Tue, 24 Jul 2007 19:35:46 -0700</pubDate>
 <dc:creator>brice</dc:creator>
 <guid isPermaLink="false">comment 2403 at http://community.activestate.com</guid>
</item>
<item>
 <title>Fort a more permanent fix</title>
 <link>http://community.activestate.com/faq/cgi-debugging-no-input-fi#comment-2395</link>
 <description>&lt;p&gt;Open up Komodo file:&lt;br /&gt;
&lt;code class=&quot;geshifilter&quot;&gt;&amp;lt;install_dir&amp;gt;/lib/mozilla/components/koInvokeInterpreters.py&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;At line 600, add another environment flag &quot;SCRIPT_FILENAME&quot; so it looks like:&lt;br /&gt;
&lt;blockcode type=&quot;python&quot;&gt;&lt;br /&gt;
        env[&quot;SCRIPT_NAME&quot;]=scriptName&lt;br /&gt;
        env[&quot;SCRIPT_FILENAME&quot;]=pathTranslated&lt;br /&gt;
        env[&quot;REQUEST_METHOD&quot;]=requestMethod&lt;br /&gt;
&lt;/blockcode&gt;&lt;/p&gt;
&lt;p&gt;Restart komodo and your CGI scripts should debug properly.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br /&gt;
Todd&lt;/p&gt;
</description>
 <pubDate>Tue, 24 Jul 2007 14:32:00 -0700</pubDate>
 <dc:creator>ToddW</dc:creator>
 <guid isPermaLink="false">comment 2395 at http://community.activestate.com</guid>
</item>
<item>
 <title>Similar Experience</title>
 <link>http://community.activestate.com/faq/cgi-debugging-no-input-fi#comment-2387</link>
 <description>&lt;p&gt;I am having a similar experience under Archlinux (not Ubuntu) using Komodo 4.1.1, build 279677, platform linux-libcpp5-x86. &lt;/p&gt;
&lt;p&gt;Regardless of the cgi.force_redirect setting, I get the &#039;No input file specified&#039; message upon debugging with CGI Emulation. I see that the Debugger Configuration wizard sets cgi.force_redirect to 0 in its &quot;copied&quot; php.ini (along w/ the xdebug reference). &lt;/p&gt;
&lt;p&gt;The only way I found around this issue was to manually set the SCRIPT_FILENAME as a CGI environment variable. Set this to the absolute path of the .php file to be debugged.&lt;/p&gt;
&lt;p&gt;Screenshot: &lt;img src=&quot;http://farm2.static.flickr.com/1419/882417034_53018a8b16_o.png&quot; /&gt; - &lt;a href=&quot;http://farm2.static.flickr.com/1419/882417034_53018a8b16_o.png&quot; title=&quot;http://farm2.static.flickr.com/1419/882417034_53018a8b16_o.png&quot;&gt;http://farm2.static.flickr.com/1419/882417034_53018a8b16_o.png&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Does anyone have other ideas for a fix?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;~ Brice&lt;/p&gt;
</description>
 <pubDate>Mon, 23 Jul 2007 21:56:57 -0700</pubDate>
 <dc:creator>brice</dc:creator>
 <guid isPermaLink="false">comment 2387 at http://community.activestate.com</guid>
</item>
<item>
 <title>This is because the Ubuntu</title>
 <link>http://community.activestate.com/faq/cgi-debugging-no-input-fi#comment-811</link>
 <description>&lt;p&gt;This is because the Ubuntu PHP is set to discard the script file path and not set SCRIPT_FILENAME in the environment. I have yet to find a magic bullet for this issue when using Ubuntu&#039;s php build. &lt;/p&gt;
&lt;p&gt;--&lt;br /&gt;
JeffG | Komodo IDE 4.0 | MacBook Pro OS X Intel / Ubuntu 6.10 i386&lt;/p&gt;
</description>
 <pubDate>Wed, 28 Feb 2007 16:25:00 -0800</pubDate>
 <dc:creator>jeffg</dc:creator>
 <guid isPermaLink="false">comment 811 at http://community.activestate.com</guid>
</item>
</channel>
</rss>
