Sounds like an error in your rewrite rules/conditions. The request is for
/somepath/spacer.gif, but is rewritten to /index.php/somepath/spacer.gif.
The filename, spacer.gif is translated by ZF's router to look for
somePathController/spacerGifAction.
Without knowing what your rewrite rules/conditions are, you may want to add
the following:
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
This will not rewrite the request if the requested file exists as a regular
file or a directory.
Robin
On Sat, Apr 19, 2008 at 2:53 AM, photo312 <[EMAIL PROTECTED]> wrote:
>
> Here is the error I get in php error log. I try to find any file with the
> content of : "spacerGifAction", "spacerGif" but cannot find any single
> instance of any text in any of my code. How can the error below be
> happening
> and from where?
>
> [18-Apr-2008 20:51:42] PHP Fatal error: Uncaught exception
> 'Zend_Controller_Action_Exception' with message 'Action "spacerGif" does
> not
> exist and was not trapped in __call()' in
> I:\Storage1\A\projects\zgzf\library\Zend\Controller\Action.php:477
> Stack trace:
> #0 I:\Storage1\A\projects\zgzf\library\Zend\Controller\Action.php(504):
> Zend_Controller_Action->__call('spacerGifAction', Array)
> #1
>
> I:\Storage1\A\projects\zgzf\library\Zend\Controller\Dispatcher\Standard.php(293):
> Zend_Controller_Action->dispatch('spacerGifAction')
> #2 I:\Storage1\A\projects\zgzf\library\Zend\Controller\Front.php(914):
>
> Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http),
> Object(Zend_Controller_Response_Http))
> #3 I:\Storage1\A\projects\zgzf\public\index.php(67):
> Zend_Controller_Front->dispatch()
> #4 {main}
> thrown in I:\Storage1\A\projects\zgzf\library\Zend\Controller\Action.php
> on line 477
> --
> View this message in context:
> http://www.nabble.com/Bizarre-problem-with-Zend_Controller_Action_Exception-tp16766066p16766066.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>