<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Kohana PHP 3.0 (KO3) Tutorial Part 1</title>
	<atom:link href="http://www.dealtaker.com/our-blog/2009/11/20/kohana-php-3-0-ko3-tutorial-part-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dealtaker.com/our-blog/2009/11/20/kohana-php-3-0-ko3-tutorial-part-1/</link>
	<description>Just another DealTaker.com site</description>
	<lastBuildDate>Sun, 12 Feb 2012 07:03:12 -0600</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: thx</title>
		<link>http://www.dealtaker.com/our-blog/2009/11/20/kohana-php-3-0-ko3-tutorial-part-1/#comment-12731</link>
		<dc:creator>thx</dc:creator>
		<pubDate>Fri, 03 Feb 2012 11:57:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.dealtaker.com/blog/?p=1768#comment-12731</guid>
		<description>in 3.2 version instead of:
$this-&gt;request-&gt;response-&gt;&#039;asd&#039;;
use
$this-&gt;response-&gt;body(&#039;asd&#039;);</description>
		<content:encoded><![CDATA[<p>in 3.2 version instead of:<br />
$this->request->response->&#8217;asd&#8217;;<br />
use<br />
$this->response->body(&#8216;asd&#8217;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan Po</title>
		<link>http://www.dealtaker.com/our-blog/2009/11/20/kohana-php-3-0-ko3-tutorial-part-1/#comment-3413</link>
		<dc:creator>Alan Po</dc:creator>
		<pubDate>Wed, 30 Nov 2011 05:37:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.dealtaker.com/blog/?p=1768#comment-3413</guid>
		<description>Hi! Thanks your tutorial but

I cannot use your URL to run a method in controller. 

I add &#039;index.php&#039; and it work:

http://yourhost/mykohana3/index.php/ko3

Which one is correct? or I need to do on the config?</description>
		<content:encoded><![CDATA[<p>Hi! Thanks your tutorial but</p>
<p>I cannot use your URL to run a method in controller. </p>
<p>I add &#8216;index.php&#8217; and it work:</p>
<p><a href="http://yourhost/mykohana3/index.php/ko3" rel="nofollow">http://yourhost/mykohana3/index.php/ko3</a></p>
<p>Which one is correct? or I need to do on the config?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MadMonkey</title>
		<link>http://www.dealtaker.com/our-blog/2009/11/20/kohana-php-3-0-ko3-tutorial-part-1/#comment-2170</link>
		<dc:creator>MadMonkey</dc:creator>
		<pubDate>Mon, 15 Aug 2011 23:12:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.dealtaker.com/blog/?p=1768#comment-2170</guid>
		<description>@Dan

Great work, just a little not precise: the argument of param() method depends on routing rules.
With the original routes, the param will be recalled with:

[...]-&gt;param(&#039;id&#039;);

You can see it with this line inside the controller:

print_r($this-&gt;request-&gt;param());

which will return you the array structure.
Hope I&#039;ve been &quot;useful&quot;.
See you.</description>
		<content:encoded><![CDATA[<p>@Dan</p>
<p>Great work, just a little not precise: the argument of param() method depends on routing rules.<br />
With the original routes, the param will be recalled with:</p>
<p>[...]->param(&#8216;id&#8217;);</p>
<p>You can see it with this line inside the controller:</p>
<p>print_r($this->request->param());</p>
<p>which will return you the array structure.<br />
Hope I&#8217;ve been &#8220;useful&#8221;.<br />
See you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Novak</title>
		<link>http://www.dealtaker.com/our-blog/2009/11/20/kohana-php-3-0-ko3-tutorial-part-1/#comment-2142</link>
		<dc:creator>Dan Novak</dc:creator>
		<pubDate>Wed, 10 Aug 2011 22:08:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.dealtaker.com/blog/?p=1768#comment-2142</guid>
		<description>@riz and @alessio - action parameters were deprecated in 3.1 and removed in 3.2.

http://dev.kohanaframework.org/issues/3536

Had a hard time finding this myself.

Replacement may be (warning - air code):

public function action_dynamic()
{
    // Dunno about the 0 - assuming this gets the first entry in the params array.
    $say = $this-&gt;request-&gt;param(0)
    $this-&gt;request-&gt;response = ‘You said: ‘.$say;
}</description>
		<content:encoded><![CDATA[<p>@riz and @alessio &#8211; action parameters were deprecated in 3.1 and removed in 3.2.</p>
<p><a href="http://dev.kohanaframework.org/issues/3536" rel="nofollow">http://dev.kohanaframework.org/issues/3536</a></p>
<p>Had a hard time finding this myself.</p>
<p>Replacement may be (warning &#8211; air code):</p>
<p>public function action_dynamic()<br />
{<br />
    // Dunno about the 0 &#8211; assuming this gets the first entry in the params array.<br />
    $say = $this-&gt;request-&gt;param(0)<br />
    $this-&gt;request-&gt;response = ‘You said: ‘.$say;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alessio</title>
		<link>http://www.dealtaker.com/our-blog/2009/11/20/kohana-php-3-0-ko3-tutorial-part-1/#comment-2093</link>
		<dc:creator>alessio</dc:creator>
		<pubDate>Thu, 04 Aug 2011 15:16:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.dealtaker.com/blog/?p=1768#comment-2093</guid>
		<description>When I try to launch the dynamic example I receive the error:ErrorException [ Warning ]: Missing argument 1 for Controller_Prova::action_dynamic()

How can I solve?</description>
		<content:encoded><![CDATA[<p>When I try to launch the dynamic example I receive the error:ErrorException [ Warning ]: Missing argument 1 for Controller_Prova::action_dynamic()</p>
<p>How can I solve?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Spider</title>
		<link>http://www.dealtaker.com/our-blog/2009/11/20/kohana-php-3-0-ko3-tutorial-part-1/#comment-2056</link>
		<dc:creator>Spider</dc:creator>
		<pubDate>Tue, 02 Aug 2011 21:53:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.dealtaker.com/blog/?p=1768#comment-2056</guid>
		<description>This is what i got after configuring kohana The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. Is it due to my wamp server setting? and what should i do?</description>
		<content:encoded><![CDATA[<p>This is what i got after configuring kohana The server encountered an internal error or misconfiguration and was unable to complete your request.</p>
<p>Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. Is it due to my wamp server setting? and what should i do?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Riz</title>
		<link>http://www.dealtaker.com/our-blog/2009/11/20/kohana-php-3-0-ko3-tutorial-part-1/#comment-2003</link>
		<dc:creator>Riz</dc:creator>
		<pubDate>Sun, 31 Jul 2011 14:08:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.dealtaker.com/blog/?p=1768#comment-2003</guid>
		<description>Hi,

I have an error on action_dynamic() method, what seems to be the problem: 

below is the error :
ErrorException [ Warning ]: Missing argument 1 for Controller_Ko3::action_dynamic()

below is my code : 
    public function action_dynamic($say)
    {
        //echo &quot;low&quot;;
        $this-&gt;response-&gt;body(&#039;You said: &#039;.$say);
    }</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have an error on action_dynamic() method, what seems to be the problem: </p>
<p>below is the error :<br />
ErrorException [ Warning ]: Missing argument 1 for Controller_Ko3::action_dynamic()</p>
<p>below is my code :<br />
    public function action_dynamic($say)<br />
    {<br />
        //echo &#8220;low&#8221;;<br />
        $this->response->body(&#8216;You said: &#8216;.$say);<br />
    }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Riz</title>
		<link>http://www.dealtaker.com/our-blog/2009/11/20/kohana-php-3-0-ko3-tutorial-part-1/#comment-2002</link>
		<dc:creator>Riz</dc:creator>
		<pubDate>Sun, 31 Jul 2011 14:06:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.dealtaker.com/blog/?p=1768#comment-2002</guid>
		<description>Hi, 

I have an error in action_dynamic() method. see below: 

ErrorException [ Warning ]: Missing argument 1 for Controller_Ko3::action_dynamic()

What seems to be the problem? </description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>I have an error in action_dynamic() method. see below: </p>
<p>ErrorException [ Warning ]: Missing argument 1 for Controller_Ko3::action_dynamic()</p>
<p>What seems to be the problem?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: riz</title>
		<link>http://www.dealtaker.com/our-blog/2009/11/20/kohana-php-3-0-ko3-tutorial-part-1/#comment-1993</link>
		<dc:creator>riz</dc:creator>
		<pubDate>Sat, 30 Jul 2011 16:06:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.dealtaker.com/blog/?p=1768#comment-1993</guid>
		<description>@ljgww :

Yeah we have the same issue.... ?</description>
		<content:encoded><![CDATA[<p>@ljgww :</p>
<p>Yeah we have the same issue&#8230;. ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: leraje</title>
		<link>http://www.dealtaker.com/our-blog/2009/11/20/kohana-php-3-0-ko3-tutorial-part-1/#comment-1798</link>
		<dc:creator>leraje</dc:creator>
		<pubDate>Mon, 18 Jul 2011 09:00:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.dealtaker.com/blog/?p=1768#comment-1798</guid>
		<description>Hey, thanks. There is a problem on your site, fragments of php code in [php][/php] are not hilighted. Its hard to read it in plain text ;-)</description>
		<content:encoded><![CDATA[<p>Hey, thanks. There is a problem on your site, fragments of php code in [php][/php] are not hilighted. Its hard to read it in plain text <img src='http://www.dealtaker.com/our-blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

