<?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 for PHP and Stuff</title>
	<atom:link href="http://www.phpandstuff.com/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://www.phpandstuff.com</link>
	<description>PHP, JS, CSS, jQuery, CodeIgniter, Doctrine</description>
	<lastBuildDate>Tue, 09 Mar 2010 20:44:23 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on CodeIgniter and Doctrine from scratchDay 1 &#8211; Install and Setup by zeeshaan</title>
		<link>http://www.phpandstuff.com/articles/codeigniter-doctrine-from-scratch-day-1-install-and-setup/comment-page-1#comment-2492</link>
		<dc:creator>zeeshaan</dc:creator>
		<pubDate>Tue, 09 Mar 2010 20:44:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpandstuff.com/?p=161#comment-2492</guid>
		<description>Fatal error: Uncaught exception &#039;Doctrine_Connection_Mysql_Exception&#039; with message &#039;SQLSTATE[42S02]: Base table or view not found: 1146 Table &#039;ci_doctrine.user_model&#039; doesn&#039;t exist&#039; in C:\xampp\htdocs\system\application\plugins\doctrine\lib\Doctrine\Connection.php:1082 Stack trace: #0 C:\xampp\htdocs\system\application\plugins\doctrine\lib\Doctrine\Connection\Statement.php(269): Doctrine_Connection-&gt;rethrowException(Object(PDOException), Object(Doctrine_Connection_Statement)) #1 C:\xampp\htdocs\system\application\plugins\doctrine\lib\Doctrine\Connection.php(1042): Doctrine_Connection_Statement-&gt;execute(Array) #2 C:\xampp\htdocs\system\application\plugins\doctrine\lib\Doctrine\Connection.php(687): Doctrine_Connection-&gt;exec(&#039;INSERT INTO use...&#039;, Array) #3 C:\xampp\htdocs\system\application\plugins\doctrine\lib\Doctrine\Connection\UnitOfWork.php(631): Doctrine_Connection-&gt;insert(Object(Doctrine_Table), Array) #4 C:\xampp\htdocs\system\application\plugins\doctrine\lib\Doctrine\Connection\UnitOfWork.php(562): Doctrine_Connecti in C:\xampp\htdocs\system\application\plugins\doctrine\lib\Doctrine\Connection.php on line 1082 --


error -pls help</description>
		<content:encoded><![CDATA[<p>Fatal error: Uncaught exception &#8216;Doctrine_Connection_Mysql_Exception&#8217; with message &#8216;SQLSTATE[42S02]: Base table or view not found: 1146 Table &#8216;ci_doctrine.user_model&#8217; doesn&#8217;t exist&#8217; in C:\xampp\htdocs\system\application\plugins\doctrine\lib\Doctrine\Connection.php:1082 Stack trace: #0 C:\xampp\htdocs\system\application\plugins\doctrine\lib\Doctrine\Connection\Statement.php(269): Doctrine_Connection-&gt;rethrowException(Object(PDOException), Object(Doctrine_Connection_Statement)) #1 C:\xampp\htdocs\system\application\plugins\doctrine\lib\Doctrine\Connection.php(1042): Doctrine_Connection_Statement-&gt;execute(Array) #2 C:\xampp\htdocs\system\application\plugins\doctrine\lib\Doctrine\Connection.php(687): Doctrine_Connection-&gt;exec(&#8217;INSERT INTO use&#8230;&#8217;, Array) #3 C:\xampp\htdocs\system\application\plugins\doctrine\lib\Doctrine\Connection\UnitOfWork.php(631): Doctrine_Connection-&gt;insert(Object(Doctrine_Table), Array) #4 C:\xampp\htdocs\system\application\plugins\doctrine\lib\Doctrine\Connection\UnitOfWork.php(562): Doctrine_Connecti in C:\xampp\htdocs\system\application\plugins\doctrine\lib\Doctrine\Connection.php on line 1082 &#8211;</p>
<p>error -pls help</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CodeIgniter and Doctrine from scratch Day 3 – User Signup Form by Long</title>
		<link>http://www.phpandstuff.com/articles/codeigniter-doctrine-scratch-day-3-user-signup-form/comment-page-1#comment-2433</link>
		<dc:creator>Long</dc:creator>
		<pubDate>Sun, 07 Mar 2010 10:30:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpandstuff.com/?p=348#comment-2433</guid>
		<description>SORRY

And we can simple extends CI_Form_validation like that

class MY_Form_validation extends CI_Form_validation {

function unique($value, param1, param2, param3…, param 10)
{
…</description>
		<content:encoded><![CDATA[<p>SORRY</p>
<p>And we can simple extends CI_Form_validation like that</p>
<p>class MY_Form_validation extends CI_Form_validation {</p>
<p>function unique($value, param1, param2, param3…, param 10)<br />
{<br />
…</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CodeIgniter and Doctrine from scratch Day 3 – User Signup Form by Long</title>
		<link>http://www.phpandstuff.com/articles/codeigniter-doctrine-scratch-day-3-user-signup-form/comment-page-1#comment-2432</link>
		<dc:creator>Long</dc:creator>
		<pubDate>Sun, 07 Mar 2010 10:27:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpandstuff.com/?p=348#comment-2432</guid>
		<description>Oh I knew!!! 

Calling of 

set_rules(Form_Field_Name, &quot;Nature&quot;_Name, Rule_1&#124;Rule_2&#124;...)

Will:

1. CI_Form_validation::Rule_1(X, Y) will be called
2. $_POST[&#039;Form_Field_Name&#039;] will be passed to X
3. The &quot;text&quot; inside [...] of Rule_1 (if exists) will be passed to Y

So, you wanna pass 2 params into Y instead 1 param, you have to put a.b to [...] like Rule_1[a.b]

And then, you explode with DOT to pass a to Y1, b to Y2?

So, I can code like that Rule[aaa~bbb] and then explode with ~ with no problem?

I think CI should use this syntax Rule_1&#124;Rule_2(param1, param2, param3..., param 10)&#124;Rule_4

And we can simple extends CI_Form_validation like that

class MY_Form_validation extends CI_Form_validation {

	function unique($value, $params)
	{
...</description>
		<content:encoded><![CDATA[<p>Oh I knew!!! </p>
<p>Calling of </p>
<p>set_rules(Form_Field_Name, &#8220;Nature&#8221;_Name, Rule_1|Rule_2|&#8230;)</p>
<p>Will:</p>
<p>1. CI_Form_validation::Rule_1(X, Y) will be called<br />
2. $_POST['Form_Field_Name'] will be passed to X<br />
3. The &#8220;text&#8221; inside [...] of Rule_1 (if exists) will be passed to Y</p>
<p>So, you wanna pass 2 params into Y instead 1 param, you have to put a.b to [...] like Rule_1[a.b]</p>
<p>And then, you explode with DOT to pass a to Y1, b to Y2?</p>
<p>So, I can code like that Rule[aaa~bbb] and then explode with ~ with no problem?</p>
<p>I think CI should use this syntax Rule_1|Rule_2(param1, param2, param3&#8230;, param 10)|Rule_4</p>
<p>And we can simple extends CI_Form_validation like that</p>
<p>class MY_Form_validation extends CI_Form_validation {</p>
<p>	function unique($value, $params)<br />
	{<br />
&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CodeIgniter and Doctrine from scratch Day 3 – User Signup Form by Long</title>
		<link>http://www.phpandstuff.com/articles/codeigniter-doctrine-scratch-day-3-user-signup-form/comment-page-1#comment-2431</link>
		<dc:creator>Long</dc:creator>
		<pubDate>Sun, 07 Mar 2010 10:04:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpandstuff.com/?p=348#comment-2431</guid>
		<description>Dear

What is the real value of User.email (in that code &quot;$this-&gt;form_validation-&gt;set_rules(&#039;email&#039;, &#039;E-mail&#039;,
			&#039;required&#124;valid_email&#124;unique[User.email]&#039;);&quot;) ?

What&#039; s happend if I use this code:
---
function unique($value, $strColumnName)
{
	$CI =&amp; get_instance();

	$CI-&gt;form_validation-&gt;set_message(&#039;unique&#039;, 
		&#039;The %s is already being used.&#039;);

	$find = &quot;findOneBy&quot;.$strColumnName;
	
	if (Doctrine::getTable($model)-&gt;$find($value)) {
		return false;
	} else {
		return true;
	}

}
---


and then call it later:
---
$this-&gt;form_validation-&gt;set_rules(&#039;username&#039;, &#039;Username&#039;, 
			&#039;required&#124;alpha_numeric&#124;min_length[6]&#124;max_length[12]&#124;unique[username]&#039;);

$this-&gt;form_validation-&gt;set_rules(&#039;username&#039;, &#039;Username&#039;, 
			&#039;required&#124;alpha_numeric&#124;min_length[6]&#124;max_length[12]&#124;unique[password]&#039;);

---</description>
		<content:encoded><![CDATA[<p>Dear</p>
<p>What is the real value of User.email (in that code &#8220;$this-&gt;form_validation-&gt;set_rules(&#8217;email&#8217;, &#8216;E-mail&#8217;,<br />
			&#8216;required|valid_email|unique[User.email]&#8216;);&#8221;) ?</p>
<p>What&#8217; s happend if I use this code:<br />
&#8212;<br />
function unique($value, $strColumnName)<br />
{<br />
	$CI =&amp; get_instance();</p>
<p>	$CI-&gt;form_validation-&gt;set_message(&#8217;unique&#8217;,<br />
		&#8216;The %s is already being used.&#8217;);</p>
<p>	$find = &#8220;findOneBy&#8221;.$strColumnName;</p>
<p>	if (Doctrine::getTable($model)-&gt;$find($value)) {<br />
		return false;<br />
	} else {<br />
		return true;<br />
	}</p>
<p>}<br />
&#8212;</p>
<p>and then call it later:<br />
&#8212;<br />
$this-&gt;form_validation-&gt;set_rules(&#8217;username&#8217;, &#8216;Username&#8217;,<br />
			&#8216;required|alpha_numeric|min_length[6]|max_length[12]|unique[username]&#8216;);</p>
<p>$this-&gt;form_validation-&gt;set_rules(&#8217;username&#8217;, &#8216;Username&#8217;,<br />
			&#8216;required|alpha_numeric|min_length[6]|max_length[12]|unique[password]&#8216;);</p>
<p>&#8212;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CodeIgniter and Doctrine from scratch Day 3 – User Signup Form by Long</title>
		<link>http://www.phpandstuff.com/articles/codeigniter-doctrine-scratch-day-3-user-signup-form/comment-page-1#comment-2430</link>
		<dc:creator>Long</dc:creator>
		<pubDate>Sun, 07 Mar 2010 09:50:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpandstuff.com/?p=348#comment-2430</guid>
		<description>Could you give a mockup of what relation between form_validation-&gt;run() and MY_Form_validation::unique. I have to get a hard thinking but CAN NOT understand why unique[User.email] give MY_Form_validation::unique &quot;the&quot; User.email object itself instead of (value of) $_POST[&#039;email&#039;]???

Tks for your the best tut!!!</description>
		<content:encoded><![CDATA[<p>Could you give a mockup of what relation between form_validation-&gt;run() and MY_Form_validation::unique. I have to get a hard thinking but CAN NOT understand why unique[User.email] give MY_Form_validation::unique &#8220;the&#8221; User.email object itself instead of (value of) $_POST['email']???</p>
<p>Tks for your the best tut!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CodeIgniter and Doctrine from scratch. Day 8 – Hooks, Profiling &amp; DQL by CodeIgniter- Doctrine ORM Tutorial: A way of enhancing CI &#124; TheUnical Technologies Blog</title>
		<link>http://www.phpandstuff.com/articles/codeigniter-doctrine-scratch-day-8-hooks-profiling-dql/comment-page-1#comment-2412</link>
		<dc:creator>CodeIgniter- Doctrine ORM Tutorial: A way of enhancing CI &#124; TheUnical Technologies Blog</dc:creator>
		<pubDate>Sat, 06 Mar 2010 08:19:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpandstuff.com/?p=649#comment-2412</guid>
		<description>[...] Day 8: Hooks, Profiling &amp; DQL [...]</description>
		<content:encoded><![CDATA[<p>[...] Day 8: Hooks, Profiling &amp; DQL [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CodeIgniter and Doctrine from scratch Day 3 – User Signup Form by CodeIgniter- Doctrine ORM Tutorial: A way of enhancing CI &#124; TheUnical Technologies Blog</title>
		<link>http://www.phpandstuff.com/articles/codeigniter-doctrine-scratch-day-3-user-signup-form/comment-page-1#comment-2411</link>
		<dc:creator>CodeIgniter- Doctrine ORM Tutorial: A way of enhancing CI &#124; TheUnical Technologies Blog</dc:creator>
		<pubDate>Sat, 06 Mar 2010 08:19:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpandstuff.com/?p=348#comment-2411</guid>
		<description>[...] Day 3: User Signup Form [...]</description>
		<content:encoded><![CDATA[<p>[...] Day 3: User Signup Form [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CodeIgniter and Doctrine from scratchDay 1 &#8211; Install and Setup by CodeIgniter- Doctrine ORM Tutorial: A way of enhancing CI &#124; TheUnical Technologies Blog</title>
		<link>http://www.phpandstuff.com/articles/codeigniter-doctrine-from-scratch-day-1-install-and-setup/comment-page-1#comment-2410</link>
		<dc:creator>CodeIgniter- Doctrine ORM Tutorial: A way of enhancing CI &#124; TheUnical Technologies Blog</dc:creator>
		<pubDate>Sat, 06 Mar 2010 08:19:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpandstuff.com/?p=161#comment-2410</guid>
		<description>[...] Day 1: Install and Setup [...]</description>
		<content:encoded><![CDATA[<p>[...] Day 1: Install and Setup [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CodeIgniter and Doctrine from scratch Day 4 – User Login by Mike</title>
		<link>http://www.phpandstuff.com/articles/codeigniter-doctrine-scratch-day-4-user-login/comment-page-1#comment-2402</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Fri, 05 Mar 2010 22:44:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpandstuff.com/?p=418#comment-2402</guid>
		<description>ok probably the only thing crazier than it not working in the first place has happened.

Its now working. I am perplexed. Its gotta be something to do with the hosting, but what exactly it is, is beyond me. 

Any thoughts are appreciated.</description>
		<content:encoded><![CDATA[<p>ok probably the only thing crazier than it not working in the first place has happened.</p>
<p>Its now working. I am perplexed. Its gotta be something to do with the hosting, but what exactly it is, is beyond me. </p>
<p>Any thoughts are appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CodeIgniter and Doctrine from scratch Day 4 – User Login by Mike</title>
		<link>http://www.phpandstuff.com/articles/codeigniter-doctrine-scratch-day-4-user-login/comment-page-1#comment-2401</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Fri, 05 Mar 2010 19:10:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpandstuff.com/?p=418#comment-2401</guid>
		<description>Has anyone had an issue with loggin in on IE. 

I have an application that works great on localhost in IE, however when you bring it to a live server, in my case bluehost, it does not work in IE.

I uploaded the original tutorial so you can test it yourself
http://www.mosterhout.com/ormTest

It is very strange that it works fine in mozilla but it does nothing in IE. 

I hope we can figure this out, I have an application that needs to be live that is using this login system :(

Thanks.</description>
		<content:encoded><![CDATA[<p>Has anyone had an issue with loggin in on IE. </p>
<p>I have an application that works great on localhost in IE, however when you bring it to a live server, in my case bluehost, it does not work in IE.</p>
<p>I uploaded the original tutorial so you can test it yourself<br />
<a href="http://www.mosterhout.com/ormTest" rel="nofollow">http://www.mosterhout.com/ormTest</a></p>
<p>It is very strange that it works fine in mozilla but it does nothing in IE. </p>
<p>I hope we can figure this out, I have an application that needs to be live that is using this login system <img src='http://www.phpandstuff.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CodeIgniter and Doctrine from scratch. Day 11 – Record Hooks by Richard</title>
		<link>http://www.phpandstuff.com/articles/codeigniter-doctrine-scratch-day-11-record-hooks/comment-page-1#comment-2380</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Thu, 04 Mar 2010 06:59:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpandstuff.com/?p=824#comment-2380</guid>
		<description>I use a template (which uses the controller class) then each class uses that page instead of the controller class - I guess this could be done another way
in the template use
/* override only on pages that need to be public */
    public function is_logged_in () {
        if ( Current_User::user())
            return TRUE;
        else
            redirect(&#039;login&#039;);
    }

in the login page and any other page that doesn&#039;t require login override that function with something like this

    public function is_logged_in () {
        if ( Current_User::user() )
            redirect(&#039;/&#039;);
        else
            return false;
    }

I&#039;m sure someone will show us both a better way but it works while the app is being developed.</description>
		<content:encoded><![CDATA[<p>I use a template (which uses the controller class) then each class uses that page instead of the controller class &#8211; I guess this could be done another way<br />
in the template use<br />
/* override only on pages that need to be public */<br />
    public function is_logged_in () {<br />
        if ( Current_User::user())<br />
            return TRUE;<br />
        else<br />
            redirect(&#8217;login&#8217;);<br />
    }</p>
<p>in the login page and any other page that doesn&#8217;t require login override that function with something like this</p>
<p>    public function is_logged_in () {<br />
        if ( Current_User::user() )<br />
            redirect(&#8217;/');<br />
        else<br />
            return false;<br />
    }</p>
<p>I&#8217;m sure someone will show us both a better way but it works while the app is being developed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CodeIgniter and Doctrine from scratch. Day 10 – Pagination by MT Backend</title>
		<link>http://www.phpandstuff.com/articles/codeigniter-doctrine-scratch-day-10-pagination/comment-page-1#comment-2342</link>
		<dc:creator>MT Backend</dc:creator>
		<pubDate>Tue, 02 Mar 2010 16:59:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpandstuff.com/?p=793#comment-2342</guid>
		<description>Hi burak thank you for tutorial i have a question about doctrine. I am using codeigniter&#039;s core db class its enough for my needs. But doctrine is looking good too. Is docrtine faster then ci&#039;s core db class, why do you prefer to use doctrine instead of ci&#039;s core db class?</description>
		<content:encoded><![CDATA[<p>Hi burak thank you for tutorial i have a question about doctrine. I am using codeigniter&#8217;s core db class its enough for my needs. But doctrine is looking good too. Is docrtine faster then ci&#8217;s core db class, why do you prefer to use doctrine instead of ci&#8217;s core db class?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CodeIgniter from Scratch: Day 9 &#8211; File Uploading and Image Manipulation by Drew</title>
		<link>http://www.phpandstuff.com/articles/codeigniter-from-scratch-day-9-file-uploading-and-image-manipulation/comment-page-1#comment-2329</link>
		<dc:creator>Drew</dc:creator>
		<pubDate>Mon, 01 Mar 2010 18:51:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpandstuff.com/?p=872#comment-2329</guid>
		<description>Guess that&#039;s a no then! Keep em coming anyway :D</description>
		<content:encoded><![CDATA[<p>Guess that&#8217;s a no then! Keep em coming anyway <img src='http://www.phpandstuff.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CodeIgniter and Doctrine from scratch. Day 11 – Record Hooks by Hannes</title>
		<link>http://www.phpandstuff.com/articles/codeigniter-doctrine-scratch-day-11-record-hooks/comment-page-1#comment-2318</link>
		<dc:creator>Hannes</dc:creator>
		<pubDate>Sun, 28 Feb 2010 21:02:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpandstuff.com/?p=824#comment-2318</guid>
		<description>Thanks for this awesome series ^^

Do you plan some kind of &quot;AdminPanel&quot; ? That would be very nice and helpful if you want to do something else with the gained knowledge.</description>
		<content:encoded><![CDATA[<p>Thanks for this awesome series ^^</p>
<p>Do you plan some kind of &#8220;AdminPanel&#8221; ? That would be very nice and helpful if you want to do something else with the gained knowledge.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CodeIgniter from Scratch: Day 9 &#8211; File Uploading and Image Manipulation by FingerLing</title>
		<link>http://www.phpandstuff.com/articles/codeigniter-from-scratch-day-9-file-uploading-and-image-manipulation/comment-page-1#comment-2314</link>
		<dc:creator>FingerLing</dc:creator>
		<pubDate>Sun, 28 Feb 2010 14:13:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpandstuff.com/?p=872#comment-2314</guid>
		<description>2:21 - how did you do it in aptana, i can found how to make this... Thanks for reply :)</description>
		<content:encoded><![CDATA[<p>2:21 &#8211; how did you do it in aptana, i can found how to make this&#8230; Thanks for reply <img src='http://www.phpandstuff.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CodeIgniter and Doctrine from scratch. Day 11 – Record Hooks by Jonathan</title>
		<link>http://www.phpandstuff.com/articles/codeigniter-doctrine-scratch-day-11-record-hooks/comment-page-1#comment-2311</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Sun, 28 Feb 2010 08:51:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpandstuff.com/?p=824#comment-2311</guid>
		<description>Another retarded question.  Let&#039;s say I wanted to extend your singleton pattern to make it a totally login protected application (redirect only to /login).  How would you go about doing that?  

Hours of fiddling later, no idea why the 404 is happening.  But this is the &quot;right way&quot; to be using CI.  Props.</description>
		<content:encoded><![CDATA[<p>Another retarded question.  Let&#8217;s say I wanted to extend your singleton pattern to make it a totally login protected application (redirect only to /login).  How would you go about doing that?  </p>
<p>Hours of fiddling later, no idea why the 404 is happening.  But this is the &#8220;right way&#8221; to be using CI.  Props.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CodeIgniter and Doctrine from scratch. Day 11 – Record Hooks by Jonathan</title>
		<link>http://www.phpandstuff.com/articles/codeigniter-doctrine-scratch-day-11-record-hooks/comment-page-1#comment-2308</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Sun, 28 Feb 2010 05:47:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpandstuff.com/?p=824#comment-2308</guid>
		<description>For the sake of losing my learning codebase, I updated to the downloaded version here, dropped all the tables in the db, and ran doctrine tools&#039; create_tables and load_fixtures/true

With this clean install, I&#039;m getting a 404 error (it&#039;s showing up in the access log, but not in the error log somehow - there&#039;s just nothing) on /threads/display/1

/forums/display/1 works like a charm.  I&#039;m kind of confused - did I miss something?  I&#039;m not getting any error messages so it&#039;s requiring more brain power than I think I have yet.

Has anyone else run into this before?</description>
		<content:encoded><![CDATA[<p>For the sake of losing my learning codebase, I updated to the downloaded version here, dropped all the tables in the db, and ran doctrine tools&#8217; create_tables and load_fixtures/true</p>
<p>With this clean install, I&#8217;m getting a 404 error (it&#8217;s showing up in the access log, but not in the error log somehow &#8211; there&#8217;s just nothing) on /threads/display/1</p>
<p>/forums/display/1 works like a charm.  I&#8217;m kind of confused &#8211; did I miss something?  I&#8217;m not getting any error messages so it&#8217;s requiring more brain power than I think I have yet.</p>
<p>Has anyone else run into this before?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CodeIgniter and Doctrine from scratch. Day 8 – Hooks, Profiling &amp; DQL by Jonathan</title>
		<link>http://www.phpandstuff.com/articles/codeigniter-doctrine-scratch-day-8-hooks-profiling-dql/comment-page-1#comment-2307</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Sun, 28 Feb 2010 05:19:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpandstuff.com/?p=649#comment-2307</guid>
		<description>I had an odd problem...

[Sat Feb 27 21:02:16 2010] [error] [client 10.5.5.197] PHP Fatal error:  Call to undefined function memory_get_peak_usage() in /home/web/sites/citest.com/html/system/application/hooks/doctrine_profiler_hooks.php on line 38

...then I realized - I&#039;m dealing with RHEL... sure enough, the base php version = 5.1.6.  Yea, remember to update php to 5.2 or better.

Just a reminder.</description>
		<content:encoded><![CDATA[<p>I had an odd problem&#8230;</p>
<p>[Sat Feb 27 21:02:16 2010] [error] [client 10.5.5.197] PHP Fatal error:  Call to undefined function memory_get_peak_usage() in /home/web/sites/citest.com/html/system/application/hooks/doctrine_profiler_hooks.php on line 38</p>
<p>&#8230;then I realized &#8211; I&#8217;m dealing with RHEL&#8230; sure enough, the base php version = 5.1.6.  Yea, remember to update php to 5.2 or better.</p>
<p>Just a reminder.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CodeIgniter and Doctrine from scratch. Day 11 – Record Hooks by Jonathan</title>
		<link>http://www.phpandstuff.com/articles/codeigniter-doctrine-scratch-day-11-record-hooks/comment-page-1#comment-2306</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Sun, 28 Feb 2010 05:00:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpandstuff.com/?p=824#comment-2306</guid>
		<description>This has been *the* best tutorial I&#039;ve ever come across on ci and doctrine, and in fact has taught me doctrine when nothing else Ive come across has helped me put the pieces together.

I&#039;m begging you to continue - I&#039;d love to continue to learn more.  Seriously, you should do a paid tutorial, or run some classes on webcast - I for one would be happy to pay to attend.</description>
		<content:encoded><![CDATA[<p>This has been *the* best tutorial I&#8217;ve ever come across on ci and doctrine, and in fact has taught me doctrine when nothing else Ive come across has helped me put the pieces together.</p>
<p>I&#8217;m begging you to continue &#8211; I&#8217;d love to continue to learn more.  Seriously, you should do a paid tutorial, or run some classes on webcast &#8211; I for one would be happy to pay to attend.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on GeoIP country lookup with PHP by Denis Molan</title>
		<link>http://www.phpandstuff.com/articles/geoip-country-lookup-with-php/comment-page-1#comment-2297</link>
		<dc:creator>Denis Molan</dc:creator>
		<pubDate>Sat, 27 Feb 2010 10:42:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpandstuff.com/?p=3#comment-2297</guid>
		<description>Hi,

Like the way of this code, short and quick but doesn&#039;t IP change so binery file must be updated ... where can i find this updated files ?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Like the way of this code, short and quick but doesn&#8217;t IP change so binery file must be updated &#8230; where can i find this updated files ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
