This is the header of sfComponent's execute(): abstract function execute($request);
So drop the sfWebRequest, and it'll be fine. And by the way: it did not change, it is the exact same in 1.2. On Thu, Feb 25, 2010 at 19:07, Darren884 <darren...@gmail.com> wrote: > I get this error: > Fatal error: Declaration of homeAction::execute() must be compatible > with that of sfComponent::execute() in /var/www/vhosts/blackhawk.biz/ > symfony/apps/frontend/modules/pages/actions/homeAction.class.php on > line 11 > > When I use this code: > <?php > > /** > * home action. > * > * @package Black Hawk Tobacco > * @subpackage pages > * @author Darren Labey > * @version SVN: $Id: actions.class.php 23810 2009-11-12 11:07:44Z > Kris.Wallsmith $ > */ > class homeAction extends sfAction > { > public function execute(sfWebRequest $request) > { > } > } > > My action is named homeAction.class.php > > Am I forgetting something in 1.4? Or has this changed or somethign? > Does anyone know? > > Thanks, > Darren > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony users" group. > To post to this group, send email to symfony-users@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 > -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@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