<?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: Bootstrapping modules in ZF 1.8 and up</title>
	<atom:link href="http://akrabat.com/zend-framework/bootstrapping-modules-in-zf-1-8/feed/" rel="self" type="application/rss+xml" />
	<link>http://akrabat.com/zend-framework/bootstrapping-modules-in-zf-1-8/</link>
	<description>Developing PHP software in the Real World, by Rob Allen</description>
	<lastBuildDate>Wed, 08 Feb 2012 14:36:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Rakesh Rawat</title>
		<link>http://akrabat.com/zend-framework/bootstrapping-modules-in-zf-1-8/#comment-88455</link>
		<dc:creator>Rakesh Rawat</dc:creator>
		<pubDate>Thu, 17 Nov 2011 18:14:18 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=682#comment-88455</guid>
		<description>Hi,

Not sure but php does not give error (as java, javascript etc gives) if you put a comma in the last of an array declaration . That mostly happens when we copy and paste array elements and forgot to remove it.

:)

thanks,
Rakesh Rawat</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Not sure but php does not give error (as java, javascript etc gives) if you put a comma in the last of an array declaration . That mostly happens when we copy and paste array elements and forgot to remove it.</p>
<p>:)</p>
<p>thanks,<br />
Rakesh Rawat</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zend_Why</title>
		<link>http://akrabat.com/zend-framework/bootstrapping-modules-in-zf-1-8/#comment-88065</link>
		<dc:creator>Zend_Why</dc:creator>
		<pubDate>Tue, 15 Nov 2011 20:59:53 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=682#comment-88065</guid>
		<description>Why zend developer use comma on last array field?

protected function _initAutoload()
{
$mLoader = new Zend_Application_Module_Autoloader(array(
&#039;namespace&#039; =&gt; &#039;Default&#039;,
&#039;basePath&#039; =&gt; APPLICATION_PATH . &#039;/modules/default&#039;, &lt;&lt;&lt;&lt;&lt;-- COMA
));
}</description>
		<content:encoded><![CDATA[<p>Why zend developer use comma on last array field?</p>
<p>protected function _initAutoload()<br />
{<br />
$mLoader = new Zend_Application_Module_Autoloader(array(<br />
'namespace' =&gt; 'Default',<br />
'basePath' =&gt; APPLICATION_PATH . '/modules/default', &lt;&lt;&lt;&lt;&lt;-- COMA<br />
));<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rakesh Rawat</title>
		<link>http://akrabat.com/zend-framework/bootstrapping-modules-in-zf-1-8/#comment-86125</link>
		<dc:creator>Rakesh Rawat</dc:creator>
		<pubDate>Thu, 03 Nov 2011 12:54:53 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=682#comment-86125</guid>
		<description>Hi,

The example works, but when I created :
modules\Blog\controllers\IndexController.php and tried to access with : 
http://local.storefront.com/blog/index/

It is showing following error:

Exception information:
Message: Invalid controller specified (index)
Stack trace:

#0 C:\xampp\php\PEAR\Zend\Controller\Front.php(946): Zend_Controller_Dispatcher_Standard-&gt;dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#1 C:\xampp\php\PEAR\Zend\Application\Bootstrap\Bootstrap.php(77): Zend_Controller_Front-&gt;dispatch()
#2 C:\xampp\php\PEAR\Zend\Application.php(358): Zend_Application_Bootstrap_Bootstrap-&gt;run()
#3 C:\xampp\htdocs\storefront\public\index.php(26): Zend_Application-&gt;run()
#4 {main}  

Request Parameters:

array (
  &#039;module&#039; =&gt; &#039;blog&#039;,
  &#039;controller&#039; =&gt; &#039;index&#039;,
  &#039;action&#039; =&gt; &#039;index&#039;,
)  

How to resolve this issue?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>The example works, but when I created :<br />
modules\Blog\controllers\IndexController.php and tried to access with :<br />
<a href="http://local.storefront.com/blog/index/" rel="nofollow">http://local.storefront.com/blog/index/</a></p>
<p>It is showing following error:</p>
<p>Exception information:<br />
Message: Invalid controller specified (index)<br />
Stack trace:</p>
<p>#0 C:\xampp\php\PEAR\Zend\Controller\Front.php(946): Zend_Controller_Dispatcher_Standard-&gt;dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))<br />
#1 C:\xampp\php\PEAR\Zend\Application\Bootstrap\Bootstrap.php(77): Zend_Controller_Front-&gt;dispatch()<br />
#2 C:\xampp\php\PEAR\Zend\Application.php(358): Zend_Application_Bootstrap_Bootstrap-&gt;run()<br />
#3 C:\xampp\htdocs\storefront\public\index.php(26): Zend_Application-&gt;run()<br />
#4 {main}  </p>
<p>Request Parameters:</p>
<p>array (<br />
  'module' =&gt; 'blog',<br />
  'controller' =&gt; 'index',<br />
  'action' =&gt; 'index',<br />
)  </p>
<p>How to resolve this issue?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kretosh</title>
		<link>http://akrabat.com/zend-framework/bootstrapping-modules-in-zf-1-8/#comment-75511</link>
		<dc:creator>kretosh</dc:creator>
		<pubDate>Mon, 29 Aug 2011 19:04:02 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=682#comment-75511</guid>
		<description>Great, it works! Thank you, i also couldn&#039;t find this in official website.</description>
		<content:encoded><![CDATA[<p>Great, it works! Thank you, i also couldn't find this in official website.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob...</title>
		<link>http://akrabat.com/zend-framework/bootstrapping-modules-in-zf-1-8/#comment-49175</link>
		<dc:creator>Rob...</dc:creator>
		<pubDate>Fri, 31 Dec 2010 15:41:28 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=682#comment-49175</guid>
		<description>Is it the correct version of ZF?</description>
		<content:encoded><![CDATA[<p>Is it the correct version of ZF?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fabrizio G.</title>
		<link>http://akrabat.com/zend-framework/bootstrapping-modules-in-zf-1-8/#comment-49170</link>
		<dc:creator>Fabrizio G.</dc:creator>
		<pubDate>Fri, 31 Dec 2010 15:15:17 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=682#comment-49170</guid>
		<description>I have the same problem of Joseph on #7

Fatal error: Uncaught exception &#039;Zend_Application_Bootstrap_Exception&#039; with message &#039;Unable to resolve plugin &quot;db&quot;; no corresponding plugin with that name&#039; in C:\wamp\www\Fabrizio_Gargiulo\mungiello\library\Zend\Application\Bootstrap\BootstrapAbstract.php:330 Stack trace: #0 C:\wamp\www\Fabrizio_Gargiulo\mungiello\library\Zend\Application\Bootstrap\BootstrapAbstract.php(379): Zend_Application_Bootstrap_BootstrapAbstract-&gt;getPluginResource(&#039;db&#039;) #1 C:\wamp\www\Fabrizio_Gargiulo\mungiello\library\Zend\Application\Bootstrap\BootstrapAbstract.php(391): Zend_Application_Bootstrap_BootstrapAbstract-&gt;getPluginResources() #2 C:\wamp\www\Fabrizio_Gargiulo\mungiello\library\Zend\Application\Bootstrap\BootstrapAbstract.php(621): Zend_Application_Bootstrap_BootstrapAbstract-&gt;getPluginResourceNames() #3 C:\wamp\www\Fabrizio_Gargiulo\mungiello\library\Zend\Application\Bootstrap\BootstrapAbstract.php(582): Zend_Application_Bootstrap_BootstrapAbstract-&gt;_bootstrap(NULL) #4 C:\wamp\www\Fabrizio_Gargiulo\mungiello\library\Zend\Application.p in C:\wamp\www\Fabrizio_Gargiulo\mungiello\library\Zend\Application\Bootstrap\BootstrapAbstract.php on line 330

Any ideas?</description>
		<content:encoded><![CDATA[<p>I have the same problem of Joseph on #7</p>
<p>Fatal error: Uncaught exception 'Zend_Application_Bootstrap_Exception' with message 'Unable to resolve plugin "db"; no corresponding plugin with that name' in C:\wamp\www\Fabrizio_Gargiulo\mungiello\library\Zend\Application\Bootstrap\BootstrapAbstract.php:330 Stack trace: #0 C:\wamp\www\Fabrizio_Gargiulo\mungiello\library\Zend\Application\Bootstrap\BootstrapAbstract.php(379): Zend_Application_Bootstrap_BootstrapAbstract-&gt;getPluginResource('db') #1 C:\wamp\www\Fabrizio_Gargiulo\mungiello\library\Zend\Application\Bootstrap\BootstrapAbstract.php(391): Zend_Application_Bootstrap_BootstrapAbstract-&gt;getPluginResources() #2 C:\wamp\www\Fabrizio_Gargiulo\mungiello\library\Zend\Application\Bootstrap\BootstrapAbstract.php(621): Zend_Application_Bootstrap_BootstrapAbstract-&gt;getPluginResourceNames() #3 C:\wamp\www\Fabrizio_Gargiulo\mungiello\library\Zend\Application\Bootstrap\BootstrapAbstract.php(582): Zend_Application_Bootstrap_BootstrapAbstract-&gt;_bootstrap(NULL) #4 C:\wamp\www\Fabrizio_Gargiulo\mungiello\library\Zend\Application.p in C:\wamp\www\Fabrizio_Gargiulo\mungiello\library\Zend\Application\Bootstrap\BootstrapAbstract.php on line 330</p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://akrabat.com/zend-framework/bootstrapping-modules-in-zf-1-8/#comment-42879</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Sat, 06 Nov 2010 22:23:59 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=682#comment-42879</guid>
		<description>Thanks I could not find this in the docs.. only kinda crazy that all module bootraps load on every request.. kinda defeats the purpose lol.</description>
		<content:encoded><![CDATA[<p>Thanks I could not find this in the docs.. only kinda crazy that all module bootraps load on every request.. kinda defeats the purpose lol.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David L.</title>
		<link>http://akrabat.com/zend-framework/bootstrapping-modules-in-zf-1-8/#comment-36496</link>
		<dc:creator>David L.</dc:creator>
		<pubDate>Tue, 20 Jul 2010 08:07:52 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=682#comment-36496</guid>
		<description>Good explanation and you saves me ;)</description>
		<content:encoded><![CDATA[<p>Good explanation and you saves me ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mngr</title>
		<link>http://akrabat.com/zend-framework/bootstrapping-modules-in-zf-1-8/#comment-35484</link>
		<dc:creator>mngr</dc:creator>
		<pubDate>Tue, 15 Jun 2010 16:33:20 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=682#comment-35484</guid>
		<description>thanks
&gt;resources.frontController.moduleDirectory = APPLICATION_PATH &quot;/modules&quot;

helped me a lot.
&quot;zf create module &quot; doesn&#039;t do it.</description>
		<content:encoded><![CDATA[<p>thanks<br />
&gt;resources.frontController.moduleDirectory = APPLICATION_PATH "/modules"</p>
<p>helped me a lot.<br />
"zf create module " doesn't do it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vitaly</title>
		<link>http://akrabat.com/zend-framework/bootstrapping-modules-in-zf-1-8/#comment-29579</link>
		<dc:creator>Vitaly</dc:creator>
		<pubDate>Fri, 11 Dec 2009 21:14:21 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=682#comment-29579</guid>
		<description>fixed by adding the folowing code in bootstrap

protected function _initAutoload()
{
	$mLoader = new Zend_Application_Module_Autoloader(array(
		&#039;namespace&#039; =&gt; &#039;Default&#039;,
		&#039;basePath&#039;  =&gt; APPLICATION_PATH . &#039;/modules/default&#039;,
	));	
}

and now

$defaultModel = new Default_Model_Info() works.
class name is Defaul_Model_Info</description>
		<content:encoded><![CDATA[<p>fixed by adding the folowing code in bootstrap</p>
<p>protected function _initAutoload()<br />
{<br />
	$mLoader = new Zend_Application_Module_Autoloader(array(<br />
		'namespace' =&gt; 'Default',<br />
		'basePath'  =&gt; APPLICATION_PATH . '/modules/default',<br />
	));<br />
}</p>
<p>and now</p>
<p>$defaultModel = new Default_Model_Info() works.<br />
class name is Defaul_Model_Info</p>
]]></content:encoded>
	</item>
</channel>
</rss>

