2009年1月28日星期三

Re: [fw-mvc] Invalid controller specified

I think that for actions, the only capitalization allowed is is the "A" in
action (e.g. fooAction). I feel like this may have bitten me once, and that
it worked in the WAMP environment, but as soon as I went to LAMP, it broke.


markusw wrote:
>
> Hi all,
> some strange thing where I can't find the error.
>
> This is the error I get when requesting a page with a link like this:
> http://.../DownloadEXCEL/Training
>
> On my desktop at home everything is ok. This is a Windows machine. On my
> server (Linux) I get this error. All other pages are working. I am pretty
> sure there is a problem with the filesystem or permissions but I don't
> know where and how to identify a little more detailed.
>
> Exception information:
>
> Message: Invalid controller specified (DownloadEXCEL)
> Stack trace:
>
> #0 /.../v3library/Zend/Controller/Front.php(934):
> Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http),
> Object(Zend_Controller_Response_Http))
> #1 /.../v3sms/application/bootstrap.php(231):
> Zend_Controller_Front->dispatch()
> #2 /.../v3sms/public/index.php(47): require('/...')
> #3 {main}
>
>
> A second thing where I am a little confused is the following. The
> controllers are all with a upper case first char. But the view scripts
> folders are with a lower case first char. And the folder name has a "-"
> when there is a upper case char in the middle of the folder name. So e.g.
> the folder for the view script of my DownloadEXCEL controller looks like
> this: download-EXCEL
>
>
> Any ideas?
>
> BR Markus
>

--
View this message in context: http://www.nabble.com/Invalid-controller-specified-tp21717047p21720381.html
Sent from the Zend MVC mailing list archive at Nabble.com.

没有评论: