Hi,
It seems that the dispatcher is naming it to ShoppingcartController or
similiar, but that the viewRenderer takes the controller name like
called. But I am not sure that it is a bug, because it is also possible
that the dispatcher renames it to SHOPPINGCARTController, and I know
that the viewRenderer is turning camelized names into a small letter
with a dash.
Regards,
Pieter Kokx
mezoni schreef:
I have a controller named 'ShoppingCartController'.
When I reaquest this action like this http://mysite/s-h-o-p-p-i-n-g-c-a-r-t
I get the following error:
Uncaught exception 'Zend_View_Exception' with message
'script 's-h-o-p-p-i-n-g-c-a-r-t/index.phtml' not found in path
(.\application\modules\default\views\scripts\)'
in Y:\home\test1.ru\www\library\Zend\View\Abstract.php:853
Why?
I'm not have the 'S-h-o-p-p-i-n-g-c-a-r-tController'...
Why I not get the following error?
Uncaught exception 'Zend_Controller_Dispatcher_Exception' with message
'Invalid controller specified (s-h-o-p-p-i-n-g-c-a-r-t)'
in Y:\home\test1.ru\www\library\Zend\Controller\Dispatcher\Standard.php:198
I'm sorry for my English...