I uploaded my project to the server. Everything worked great locally but in the server, once a click a link or try to go manually (writing the direction in the module/template way), I get the error “The route “xxx” does not exist.”
Please help me out, I’m out of ideas.
Thanks!
—Routing.yml—
default_index:
url: /:module
param: { action: index }
default:
url: /:module/:action/*
—Error Message—
More info about the error:
500 | Internal Server Error | sfConfigurationException
The route “xxx” does not exist.
stack trace at () in SF_SYMFONY_LIB_DIR/routing/sfPatternRouting.class.php line 313 …
// named route
if (!isset($this->routes[$name]))
{
throw new sfConfigurationException(sprintf('The route "%s" does not exist.', $name));
}
$route = $this->routes[$name];
$this->ensureDefaultParametersAreSet();
Clear symfony cache on your production: