<?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 phpDevelopment | Blog</title>
	<atom:link href="http://phpdev.ro/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://phpdev.ro</link>
	<description>Bringing you the best of the webdevelopement ecosphere</description>
	<lastBuildDate>Wed, 28 Jul 2010 17:19:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Zend Framework Tutorial Series: Part 2 – Debugging your application by Jandujar</title>
		<link>http://phpdev.ro/zend-framework-tutorial-series-part-2-advanced-debugging.html/comment-page-1#comment-456</link>
		<dc:creator>Jandujar</dc:creator>
		<pubDate>Wed, 28 Jul 2010 17:19:49 +0000</pubDate>
		<guid isPermaLink="false">http://phpdev.ro/?p=1055#comment-456</guid>
		<description>Thank&#039;s a lot for your tutorials. I will check all of them.&lt;br&gt;&lt;br&gt;Regards from Spain</description>
		<content:encoded><![CDATA[<p>Thank&#39;s a lot for your tutorials. I will check all of them.</p>
<p>Regards from Spain</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Zend Framework Tutorial Series: Part 3 – Login and Signup with (RE)Captcha by Amino S</title>
		<link>http://phpdev.ro/zend-framework-tutorial-series-part-3-login-and-signup-with-recaptcha.html/comment-page-1#comment-455</link>
		<dc:creator>Amino S</dc:creator>
		<pubDate>Mon, 26 Jul 2010 13:53:54 +0000</pubDate>
		<guid isPermaLink="false">http://phpdev.ro/?p=1101#comment-455</guid>
		<description>Dear Andrei do you have clue why I am getting this error:&lt;br&gt;Fatal error: Call to undefined method ArrayObject::getTraceAsString() in ErrorController.php on line 40&lt;br&gt;&lt;br&gt;Am I missing something?</description>
		<content:encoded><![CDATA[<p>Dear Andrei do you have clue why I am getting this error:<br />Fatal error: Call to undefined method ArrayObject::getTraceAsString() in ErrorController.php on line 40</p>
<p>Am I missing something?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Zend Framework Tutorial Series: Part 1 &#8211; The Module Based Application by Amino S</title>
		<link>http://phpdev.ro/zf-tutorial-series-part-1-module-based-app.html/comment-page-3#comment-454</link>
		<dc:creator>Amino S</dc:creator>
		<pubDate>Mon, 26 Jul 2010 12:43:37 +0000</pubDate>
		<guid isPermaLink="false">http://phpdev.ro/?p=1012#comment-454</guid>
		<description>hI,&lt;br&gt;&lt;br&gt;ohh I forgot to add Custom_Service_Notifier_Error class.&lt;br&gt;&lt;br&gt;everything works as it is described. no worries</description>
		<content:encoded><![CDATA[<p>hI,</p>
<p>ohh I forgot to add Custom_Service_Notifier_Error class.</p>
<p>everything works as it is described. no worries</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Zend Framework Tutorial Series: Part 1 &#8211; The Module Based Application by Amino S</title>
		<link>http://phpdev.ro/zf-tutorial-series-part-1-module-based-app.html/comment-page-3#comment-453</link>
		<dc:creator>Amino S</dc:creator>
		<pubDate>Mon, 26 Jul 2010 12:26:45 +0000</pubDate>
		<guid isPermaLink="false">http://phpdev.ro/?p=1012#comment-453</guid>
		<description>Excellent tutorial and clean, but still struggling with error handler.&lt;br&gt;Ok, everything works fine, but when typing wrong action name I am getting this error and have no clue what to do?&lt;br&gt;Warning: include_once(CustomServiceNotifierError.php) [function.include-once]: failed to open stream: No such file or directory in&lt;br&gt;&lt;br&gt;Your help is appreciated,&lt;br&gt;Amino</description>
		<content:encoded><![CDATA[<p>Excellent tutorial and clean, but still struggling with error handler.<br />Ok, everything works fine, but when typing wrong action name I am getting this error and have no clue what to do?<br />Warning: include_once(CustomServiceNotifierError.php) [function.include-once]: failed to open stream: No such file or directory in</p>
<p>Your help is appreciated,<br />Amino</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Zend Framework Tutorial Series: Part 3 – Login and Signup with (RE)Captcha by Roy</title>
		<link>http://phpdev.ro/zend-framework-tutorial-series-part-3-login-and-signup-with-recaptcha.html/comment-page-1#comment-452</link>
		<dc:creator>Roy</dc:creator>
		<pubDate>Fri, 23 Jul 2010 19:50:19 +0000</pubDate>
		<guid isPermaLink="false">http://phpdev.ro/?p=1101#comment-452</guid>
		<description>Thanks man, I got it =D</description>
		<content:encoded><![CDATA[<p>Thanks man, I got it =D</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Zend Framework Tutorial Series: Part 1 &#8211; The Module Based Application by Andrei Gabreanu</title>
		<link>http://phpdev.ro/zf-tutorial-series-part-1-module-based-app.html/comment-page-3#comment-451</link>
		<dc:creator>Andrei Gabreanu</dc:creator>
		<pubDate>Thu, 22 Jul 2010 19:37:10 +0000</pubDate>
		<guid isPermaLink="false">http://phpdev.ro/?p=1012#comment-451</guid>
		<description>Hello Patrick,&lt;br&gt;&lt;br&gt;I am not sure I understand. You want to have 2 VHOSTS that each point to a different module?&lt;br&gt;&lt;br&gt;If so, then you need to do 2 things:&lt;br&gt;&lt;br&gt;First of all make your application work with the 2 modules in the same vhost, for both vhosts (ex: should be able to work with &lt;a href=&quot;http://domain.com/frontoffice&quot; rel=&quot;nofollow&quot;&gt;http://domain.com/frontoffice&lt;/a&gt; and &lt;a href=&quot;http://domain.com/backoffice&quot; rel=&quot;nofollow&quot;&gt;http://domain.com/backoffice&lt;/a&gt;).&lt;br&gt;&lt;br&gt;Once you manage this, just go your auth.php file and add some restrictions there based on the domain (dont allow backoffice if not frontoffice and viceversa).&lt;br&gt;&lt;br&gt;To set a default module, i *think* you can make a bootstrap method that you could run and would change your default module via the frontcontroller setDefaultModule() method. This way you won&#039;t have 2 different INI files.&lt;br&gt;&lt;br&gt;Hope the info helps!&lt;br&gt;Cheers!</description>
		<content:encoded><![CDATA[<p>Hello Patrick,</p>
<p>I am not sure I understand. You want to have 2 VHOSTS that each point to a different module?</p>
<p>If so, then you need to do 2 things:</p>
<p>First of all make your application work with the 2 modules in the same vhost, for both vhosts (ex: should be able to work with <a href="http://domain.com/frontoffice" rel="nofollow">http://domain.com/frontoffice</a> and <a href="http://domain.com/backoffice" rel="nofollow">http://domain.com/backoffice</a>).</p>
<p>Once you manage this, just go your auth.php file and add some restrictions there based on the domain (dont allow backoffice if not frontoffice and viceversa).</p>
<p>To set a default module, i *think* you can make a bootstrap method that you could run and would change your default module via the frontcontroller setDefaultModule() method. This way you won&#39;t have 2 different INI files.</p>
<p>Hope the info helps!<br />Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Zend Framework Tutorial Series: Part 3 – Login and Signup with (RE)Captcha by Andrei Gabreanu</title>
		<link>http://phpdev.ro/zend-framework-tutorial-series-part-3-login-and-signup-with-recaptcha.html/comment-page-1#comment-450</link>
		<dc:creator>Andrei Gabreanu</dc:creator>
		<pubDate>Thu, 22 Jul 2010 19:11:20 +0000</pubDate>
		<guid isPermaLink="false">http://phpdev.ro/?p=1101#comment-450</guid>
		<description>It is not an error. The Auth plugin says that you cannot view any page unless you are logged in. Thus it tries to redirect you to the Login page. You can change this via the Auth.php file.&lt;br&gt;&lt;br&gt;The method is empty because you are running Zend in your root server.&lt;br&gt;&lt;br&gt;The Base Url returns everything after the domain name&lt;br&gt;&lt;br&gt;Example:&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://domain.com/application/myCoolName&quot; rel=&quot;nofollow&quot;&gt;http://domain.com/application/myCoolName&lt;/a&gt;&lt;br&gt;&lt;br&gt;would return via getBaseUrl() &quot;/application/myCoolName&quot;&lt;br&gt;&lt;br&gt;but if you have &lt;a href=&quot;http://domain.com&quot; rel=&quot;nofollow&quot;&gt;http://domain.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;it will return &quot;&quot;&lt;br&gt;&lt;br&gt;If you need the domain name, just use the $_SERVER[&#039;HTTP_HOST&#039;]; with &lt;a href=&quot;http://&quot; rel=&quot;nofollow&quot;&gt;http://&lt;/a&gt; or &lt;a href=&quot;https://&quot; rel=&quot;nofollow&quot;&gt;https://&lt;/a&gt; in front . &lt;br&gt;&lt;br&gt;If you want to make it dynamic, just use the conditional short if:&lt;br&gt;&lt;br&gt;$domain = $_SERVER[&#039;HTTPS&#039;] != &quot;on&quot; ? &#039;http://&#039; : &#039;https://&#039; . $_SERVER[&#039;HTTP_HOST&#039;];</description>
		<content:encoded><![CDATA[<p>It is not an error. The Auth plugin says that you cannot view any page unless you are logged in. Thus it tries to redirect you to the Login page. You can change this via the Auth.php file.</p>
<p>The method is empty because you are running Zend in your root server.</p>
<p>The Base Url returns everything after the domain name</p>
<p>Example:</p>
<p><a href="http://domain.com/application/myCoolName" rel="nofollow">http://domain.com/application/myCoolName</a></p>
<p>would return via getBaseUrl() &#8220;/application/myCoolName&#8221;</p>
<p>but if you have <a href="http://domain.com" rel="nofollow">http://domain.com</a></p>
<p>it will return &#8220;&#8221;</p>
<p>If you need the domain name, just use the $_SERVER[&#39;HTTP_HOST&#39;]; with <a href="http://" rel="nofollow">http://</a> or <a href="https://" rel="nofollow">https://</a> in front . </p>
<p>If you want to make it dynamic, just use the conditional short if:</p>
<p>$domain = $_SERVER[&#39;HTTPS&#39;] != &#8220;on&#8221; ? &#39;http://&#39; : &#39;https://&#39; . $_SERVER[&#39;HTTP_HOST&#39;];</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Zend Framework Tutorial Series: Part 1 &#8211; The Module Based Application by PatrickL</title>
		<link>http://phpdev.ro/zf-tutorial-series-part-1-module-based-app.html/comment-page-3#comment-449</link>
		<dc:creator>PatrickL</dc:creator>
		<pubDate>Thu, 22 Jul 2010 00:59:28 +0000</pubDate>
		<guid isPermaLink="false">http://phpdev.ro/?p=1012#comment-449</guid>
		<description>Hi, great tutorial. Since I am a beginner with Zend Framework ... I have a question.&lt;br&gt;&lt;br&gt;The archive-file contains an example with one module: frontoffice.&lt;br&gt;But besides a frontoffice I need a backoffice.&lt;br&gt;So I duplicated the frontoffice module and replaced the word frontoffice with backoffice.&lt;br&gt;I added the module to the ini file. And I created a new document root: cms-root to which the new vhosts points. But the problem is the defaultModule. It&#039;s still frontoffice. so both vhosts gets the same result. &lt;br&gt;&lt;br&gt;My question is: how can I change the defaultModule for the cms-root (without adding a new ini file)?&lt;br&gt;&lt;br&gt;patrick</description>
		<content:encoded><![CDATA[<p>Hi, great tutorial. Since I am a beginner with Zend Framework &#8230; I have a question.</p>
<p>The archive-file contains an example with one module: frontoffice.<br />But besides a frontoffice I need a backoffice.<br />So I duplicated the frontoffice module and replaced the word frontoffice with backoffice.<br />I added the module to the ini file. And I created a new document root: cms-root to which the new vhosts points. But the problem is the defaultModule. It&#39;s still frontoffice. so both vhosts gets the same result. </p>
<p>My question is: how can I change the defaultModule for the cms-root (without adding a new ini file)?</p>
<p>patrick</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Zend Framework Tutorial Series: Part 3 – Login and Signup with (RE)Captcha by Roy</title>
		<link>http://phpdev.ro/zend-framework-tutorial-series-part-3-login-and-signup-with-recaptcha.html/comment-page-1#comment-448</link>
		<dc:creator>Roy</dc:creator>
		<pubDate>Tue, 20 Jul 2010 20:01:38 +0000</pubDate>
		<guid isPermaLink="false">http://phpdev.ro/?p=1101#comment-448</guid>
		<description>Hi Andrei, I have a question, I have this error produced for the plugin :&lt;br&gt;&lt;br&gt;Should redirect to: /frontoffice/users/login&lt;br&gt;Called from /var/applications/my_zend_example_application/library/Custom/Controller/Plugin/Auth.php, line 53&lt;br&gt;&lt;br&gt;That error is because in /app_root/library/Custom/Controller/Plugin/Auth.php there is a line:&lt;br&gt;&lt;br&gt;$url = Zend_Controller_Front::getInstance()-&gt;getBaseUrl();&lt;br&gt;&lt;br&gt;But $url var is totally emtpy :( &lt;br&gt;&lt;br&gt;So Zend_Controller_Front has a function called setBaseUrl($base = null) but I don&#039;t know where to used it :( and in your tutorial doesn&#039;t mention that :(&lt;br&gt;&lt;br&gt;I hope you can help me :)&lt;br&gt;&lt;br&gt;Thanks in advance&lt;br&gt;&lt;br&gt;Roy</description>
		<content:encoded><![CDATA[<p>Hi Andrei, I have a question, I have this error produced for the plugin :</p>
<p>Should redirect to: /frontoffice/users/login<br />Called from /var/applications/my_zend_example_application/library/Custom/Controller/Plugin/Auth.php, line 53</p>
<p>That error is because in /app_root/library/Custom/Controller/Plugin/Auth.php there is a line:</p>
<p>$url = Zend_Controller_Front::getInstance()-&gt;getBaseUrl();</p>
<p>But $url var is totally emtpy <img src='http://phpdev.ro/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  </p>
<p>So Zend_Controller_Front has a function called setBaseUrl($base = null) but I don&#39;t know where to used it <img src='http://phpdev.ro/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  and in your tutorial doesn&#39;t mention that <img src='http://phpdev.ro/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>I hope you can help me <img src='http://phpdev.ro/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Thanks in advance</p>
<p>Roy</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Zend Framework Tutorial Series: Part 3 – Login and Signup with (RE)Captcha by Spellbound85</title>
		<link>http://phpdev.ro/zend-framework-tutorial-series-part-3-login-and-signup-with-recaptcha.html/comment-page-1#comment-446</link>
		<dc:creator>Spellbound85</dc:creator>
		<pubDate>Tue, 20 Jul 2010 19:10:20 +0000</pubDate>
		<guid isPermaLink="false">http://phpdev.ro/?p=1101#comment-446</guid>
		<description>Oh, I just checked the source for this site: You just forgot to put a space into your code so you have the echo command but it is not displayed.</description>
		<content:encoded><![CDATA[<p>Oh, I just checked the source for this site: You just forgot to put a space into your code so you have the echo command but it is not displayed.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
