I'm getting a 404 when trying to add a new module page. I'm apparently missing something fundamental here, being a newbie to Symfony. Can anyone point out what it is I'm missing?
Many thanks.
modules/admin/actions/actions.class.php
/* following executeIndex() */
public function executeSchedule()
{
if ($this->getRequest()->getethod() != sfRequest::POST)
{
return sfView::SUCCESS;
}
else
{
$name = $this->getRequestParameter('first_name');
echo $name;
}
}
modules/admin/templates/scheduleSuccess.php
<?=set_title('Schedule')?>
<form action="/admin/schedule" method="POST">
<input name="foo" type="text">
<?php echo submit_tag('Schedule'); ?></p
Upon submit, I get this error:
Sep 28 10:02:37 symfony [info] {sfAction} call "defaultActions->executeError404()"
Sep 28 10:02:37 symfony [warning] {404} requested url: /admin/schedule
Sep 28 10:02:37 symfony [info] {sfView} initialize view for "default/error404"