-- ashish.sharma <[EMAIL PROTECTED]> wrote
(on Friday, 17 August 2007, 03:18 AM -0700):
> It's working now :) I have changed the controller filename from
> LocationTypeController.php to LocationtypeController.php and the class name to
> LocationTypeController to LocationtypeController. For more details refer this
> .. http://www.nabble.com/
> Routing-problems---Invalid-controller-specified-tf4271653s16154.html#a12157882
> Can anyone suggest any detailed document on naming conventions so that I can
> read that. Ashish

Wow, I thought I'd documented that, but in looking through the manual,
I'm finding I didn't. I've added an issue to do so:

    http://framework.zend.com/issues/browse/ZF-1860

You *can* name a controller with CamelCasing. However, if you do so, you
need to separate the CamelCased words with a word separator in the URL,
one of either '-' or '.'. In your example, LocationTypeController, you
would refer to the controller as 'location-type' or 'location.type'. The
same is true of actions.

>     ashish.sharma wrote:
>     I am trying to deploy my Zend application on linux server where all my
>     controllers are working fine except the one and I am not able to find out
>     the reason? I have develped this application on Windows running XAMMP, 
> here
>     all the sections are working abs fine including the one which is not
>     working online (on linux). I am not able to track the reason for this? 
> What
>     I feel is it might be due to the controller name which is in lower camel
>     case "locationType". All the other controllers are one word controllers
>     like ... admin, home, country etc .. except the one which is 
> "locationType"
>     and this is the controller which is giving / throwing the exception on
>     dispatch. Can anyone suggest what exactly the problem is? Ashish sharma

-- 
Matthew Weier O'Phinney
PHP Developer            | [EMAIL PROTECTED]
Zend - The PHP Company   | http://www.zend.com/

Reply via email to