<?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: Zend Framework Database Admin</title>
	<atom:link href="http://orensol.com/2009/04/02/zend-framework-database-admin/feed/" rel="self" type="application/rss+xml" />
	<link>http://orensol.com/2009/04/02/zend-framework-database-admin/</link>
	<description>Oren Solomianik's Blog</description>
	<lastBuildDate>Mon, 19 Jul 2010 23:32:37 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jim</title>
		<link>http://orensol.com/2009/04/02/zend-framework-database-admin/comment-page-1/#comment-2115</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Sat, 01 Aug 2009 19:31:50 +0000</pubDate>
		<guid isPermaLink="false">http://orensol.com/?p=179#comment-2115</guid>
		<description>in zdbform.class.php</description>
		<content:encoded><![CDATA[<p>in zdbform.class.php</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://orensol.com/2009/04/02/zend-framework-database-admin/comment-page-1/#comment-2114</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Sat, 01 Aug 2009 19:30:15 +0000</pubDate>
		<guid isPermaLink="false">http://orensol.com/?p=179#comment-2114</guid>
		<description>add under line 148:
if(is_array($this-&gt;orderBy)) $this-&gt;orderBy = implode(&quot;,&quot;,$this-&gt;orderBy);

and edit line 140 to
$this-&gt;pk=$tableInfo[&#039;primary&#039;][1];</description>
		<content:encoded><![CDATA[<p>add under line 148:<br />
if(is_array($this-&gt;orderBy)) $this-&gt;orderBy = implode(&#8221;,&#8221;,$this-&gt;orderBy);</p>
<p>and edit line 140 to<br />
$this-&gt;pk=$tableInfo['primary'][1];</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oren</title>
		<link>http://orensol.com/2009/04/02/zend-framework-database-admin/comment-page-1/#comment-990</link>
		<dc:creator>Oren</dc:creator>
		<pubDate>Mon, 27 Apr 2009 08:14:56 +0000</pubDate>
		<guid isPermaLink="false">http://orensol.com/?p=179#comment-990</guid>
		<description>It seems that in your case the &quot;order by&quot; in line 469 is passed as an array instead of a column name (notice the &quot;Array ASC&quot; in your trace dump. 

Did you add the 2 lines of code I wrote about in the end of the post to the zdbform class? It seems the original Zend_Db_Table wasn&#039;t returning the primary key as an array, but it was probably enhanced to return an array at some version (you can dig through Zend Fisheye to try and track this change). I believe that adding these lines will solve the problem.</description>
		<content:encoded><![CDATA[<p>It seems that in your case the &#8220;order by&#8221; in line 469 is passed as an array instead of a column name (notice the &#8220;Array ASC&#8221; in your trace dump. </p>
<p>Did you add the 2 lines of code I wrote about in the end of the post to the zdbform class? It seems the original Zend_Db_Table wasn&#8217;t returning the primary key as an array, but it was probably enhanced to return an array at some version (you can dig through Zend Fisheye to try and track this change). I believe that adding these lines will solve the problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: homolo</title>
		<link>http://orensol.com/2009/04/02/zend-framework-database-admin/comment-page-1/#comment-979</link>
		<dc:creator>homolo</dc:creator>
		<pubDate>Mon, 27 Apr 2009 02:09:54 +0000</pubDate>
		<guid isPermaLink="false">http://orensol.com/?p=179#comment-979</guid>
		<description>please help me .
I connected to my database , my page is ok when I get data form database  .but when I use zdbform . I have a problem with zdbform .

my page display error :

Fatal error: Uncaught exception &#039;Zend_Db_Statement_Exception&#039; with message &#039;SQLSTATE[42S22]: Column not found: 1054 Unknown column &#039;Array&#039; in &#039;order clause&#039;&#039; in C:\wamp\www\1\library\Zend\Db\Statement\Pdo.php:238 Stack trace: #0 C:\wamp\www\1\library\Zend\Db\Statement.php(283): Zend_Db_Statement_Pdo-&gt;_execute(Array) #1 C:\wamp\www\1\library\Zend\Db\Adapter\Abstract.php(433): Zend_Db_Statement-&gt;execute(Array) #2 C:\wamp\www\1\library\Zend\Db\Adapter\Pdo\Abstract.php(230): Zend_Db_Adapter_Abstract-&gt;query(Object(Zend_Db_Table_Select), Array) #3 C:\wamp\www\1\library\Zend\Db\Table\Abstract.php(1330): Zend_Db_Adapter_Pdo_Abstract-&gt;query(Object(Zend_Db_Table_Select)) #4 C:\wamp\www\1\library\Zend\Db\Table\Abstract.php(1158): Zend_Db_Table_Abstract-&gt;_fetch(Object(Zend_Db_Table_Select)) #5 C:\wamp\www\1\library\zdbform\zdbform.class.php(469): Zend_Db_Table_Abstract-&gt;fetchAll(NULL, &#039;Array ASC&#039;, 15, 0) #6 C:\wamp\www\1\library\zdbform\zdbform.class.php(478): Zdbform-&gt;getAllRows() #7 C:\wamp\www\1\application\views\scripts\admin\faq in C:\wamp\www\1\library\Zend\Db\Statement\Pdo.php on line 238

thanks !</description>
		<content:encoded><![CDATA[<p>please help me .<br />
I connected to my database , my page is ok when I get data form database  .but when I use zdbform . I have a problem with zdbform .</p>
<p>my page display error :</p>
<p>Fatal error: Uncaught exception &#8216;Zend_Db_Statement_Exception&#8217; with message &#8216;SQLSTATE[42S22]: Column not found: 1054 Unknown column &#8216;Array&#8217; in &#8216;order clause&#8221; in C:\wamp\www\1\library\Zend\Db\Statement\Pdo.php:238 Stack trace: #0 C:\wamp\www\1\library\Zend\Db\Statement.php(283): Zend_Db_Statement_Pdo-&gt;_execute(Array) #1 C:\wamp\www\1\library\Zend\Db\Adapter\Abstract.php(433): Zend_Db_Statement-&gt;execute(Array) #2 C:\wamp\www\1\library\Zend\Db\Adapter\Pdo\Abstract.php(230): Zend_Db_Adapter_Abstract-&gt;query(Object(Zend_Db_Table_Select), Array) #3 C:\wamp\www\1\library\Zend\Db\Table\Abstract.php(1330): Zend_Db_Adapter_Pdo_Abstract-&gt;query(Object(Zend_Db_Table_Select)) #4 C:\wamp\www\1\library\Zend\Db\Table\Abstract.php(1158): Zend_Db_Table_Abstract-&gt;_fetch(Object(Zend_Db_Table_Select)) #5 C:\wamp\www\1\library\zdbform\zdbform.class.php(469): Zend_Db_Table_Abstract-&gt;fetchAll(NULL, &#8216;Array ASC&#8217;, 15, 0) #6 C:\wamp\www\1\library\zdbform\zdbform.class.php(478): Zdbform-&gt;getAllRows() #7 C:\wamp\www\1\application\views\scripts\admin\faq in C:\wamp\www\1\library\Zend\Db\Statement\Pdo.php on line 238</p>
<p>thanks !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 網站製作學習誌 &#187; [Web] 連結分享</title>
		<link>http://orensol.com/2009/04/02/zend-framework-database-admin/comment-page-1/#comment-398</link>
		<dc:creator>網站製作學習誌 &#187; [Web] 連結分享</dc:creator>
		<pubDate>Wed, 08 Apr 2009 02:53:57 +0000</pubDate>
		<guid isPermaLink="false">http://orensol.com/?p=179#comment-398</guid>
		<description>[...] Zend Framework Database Admin [...]</description>
		<content:encoded><![CDATA[<p>[...] Zend Framework Database Admin [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->