Thanks. I've made the adjustment to

 public function executeError404($request)
 {
   $this->getResponse()->setContent(file_get_contents($site));

   return sfView::NONE; // no need to call view
}

I believe this will resolve the issue.

On Dec 16, 4:51 pm, Gábor Fási <maerl...@gmail.com> wrote:
> You do not return anything, so symfony presumes Success - that is why
> it is looking for your Success template.
>
> On Wed, Dec 16, 2009 at 22:04, cbsi.cnb <cbsi....@gmail.com> wrote:
> >  public function executeError404($request)
> >  {
>
> >        header("HTTP/1.0 404 Not Found");
>
> >        echo file_get_contents('http://www.zdnet.com/error.html');
>
> >  }

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.


Reply via email to