<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Brooke Bryan - Make Life Easy, Automate Everything &#187; PHP</title>
	<atom:link href="http://www.bajb.net/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bajb.net</link>
	<description>Just Develop It</description>
	<lastBuildDate>Fri, 03 Feb 2012 01:21:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Zend_Controller_Dispatcher_Exception</title>
		<link>http://www.bajb.net/2008/07/zend_controller_dispatcher_exception/</link>
		<comments>http://www.bajb.net/2008/07/zend_controller_dispatcher_exception/#comments</comments>
		<pubDate>Mon, 14 Jul 2008 20:26:10 +0000</pubDate>
		<dc:creator>Brooke Bryan</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[controller]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[zend framework]]></category>

		<guid isPermaLink="false">http://bajb.net/blog/?p=9</guid>
		<description><![CDATA[Over the past week I have been learning and working with Zend Framework on a new site im creating, 20DollarBanners.com.  Everything has been working great all week on my windows machine, and I thought it was about time to upload to one of our live web servers for testing.  As with most sites, as soon [...]]]></description>
			<content:encoded><![CDATA[<p>Over the past week I have been learning and working with Zend Framework on a new site im creating, <a href="http://www.20DollarBanners.com" target="_blank">20DollarBanners.com</a>.  Everything has been working great all week on my windows machine, and I thought it was about time to upload to one of our live web servers for testing.  As with most sites, as soon as I went from Windows to Linux all hell broke out.   I got the following error, and couldn&#8217;t see anywhere in the code why it was happening.</p>
<p>exception &#8216;Zend_Controller_Dispatcher_Exception&#8217; with message &#8216;Invalid controller specified (index)&#8217; in /home/username/library/Zend/Controller/Dispatcher/Standard.php:249 Stack trace: #0 /home/username/library/Zend/Controller/Front.php(914): Zend_Controller_Dispatcher_Standard-&gt;dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #1 /home/username/public_html/index.php(54): Zend_Controller_Front-&gt;dispatch() #2 {main}</p>
<p>After a little playing around on my local machine, I managed to reproduce the same error, and found that it was a problem with the filenames of my controller files.  I checked on the linux server, and everything looked in order apart from one small difference.  The filename on the server was indexController instead of IndexController, the captial I made all the difference.</p>
<p>After googling the problem, all I found was a load of results with pages just showing the error message, so hopefully this blog post will be of use to anyone else who finds themselves in the same situation I did.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.bajb.net%2F2008%2F07%2Fzend_controller_dispatcher_exception%2F&amp;title=Zend_Controller_Dispatcher_Exception" id="wpa2a_2">Share/Bookmark</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.bajb.net/2008/07/zend_controller_dispatcher_exception/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>

