-- Greg Frith <[EMAIL PROTECTED]> wrote
(on Wednesday, 15 August 2007, 08:44 AM +0100):
> Hi all,
>
> I'm having some routing problems which I don't necessarily think the group are
> going to be able to answer directly, but maybe give me some pointers as to how
> I may debug further.
>
> I have developed a site on my local machine where everything is working just
> fine. Yesterday I copied the site over to a second development server for my
> colleagues to start reviewing. However, on the development server I'm getting
> an awful lot of Zend_Controller_Dispatcher_Exception exceptions thrown with
> the
> message 'Invalid controller specified (<controller name>).
>
> I say an awful lot as not every request results in this. My default index
> controller works fine, as does my Book controller, but all others fail (please
> note that book controller is the real thing, and not a typical library book
> example file! Its part of a booking process). My directory structure is as
> follows:
>
> www/application/
> www/application/config/
> www/application/modules/
> www/application/modules/default/
> www/application/modules/default/controller/
> www/application/modules/default/controller/BookController.php
> www/application/modules/default/controller/ComingSoonController.php
> www/application/modules/default/controller/IndexController.php
> www/application/modules/default/controller/StaticPagesController.php
> www/application/modules/default/views/
> www/application/templates/
> www/htdocs/ <- doc root
>
> As I say, the BookController and IndexController work fine, but
> ComingSoonController and StaticPagesController are not found.
>
> During a request for /comingsoon/index the request object looks like this:
You should request these using a word separator ('.' or '-') in the URL
between the invidual words in the controller name (indicated by
CamelCasing):
/coming-soon/...
/static-pages/...
--
Matthew Weier O'Phinney
PHP Developer | [EMAIL PROTECTED]
Zend - The PHP Company | http://www.zend.com/