Hi all,
I made the module for static pages (following the tutorial at
http://trac.symfony-project.org/wiki/HowtoServeStaticContent). But it
doesn't work. I do everything the tutorial says but when I try to
browse the "about us" page I get a '404 not found error' page. What
could be wrong?
This is the default actions.class.php after creation of the module:
class staticActions extends sfActions
{
/**
* Executes index action
*
* @param sfRequest $request A request object
*/
public function executeIndex(sfWebRequest $request)
{
$this->forward('default', 'module');
}
}
Which honestly, I'm not sure what is going on inside the function :\
The tutorial, however, shows this for actions.class.php:
class staticActions extends sfActions
{
public function executeIndex()
{
$this->content = $this->getRequestParameter('content');
}
}
I'm highly confused as to what's going on and why the process isn't
working for me. What should my actions.class.php look like? If you
need any more info just let me know. Thanks in advance for the help!
--
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en