You are using this var: $moduleName in the function definition
public function renderComponent($moduleName, $componentName)
and in the call you are using $templateName
return $this->renderText(get_component($templateName, $componentName, $this->varHolder->getAll()));
File: symfony/action/sfAction.class.php
Line: 299
public function renderComponent($moduleName, $componentName)
{
sfLoader::loadHelpers('Partial');
return $this->renderText(get_component($templateName, $componentName, $this->varHolder->getAll()));
}
is supposed to be:
public function renderComponent($moduleName, $componentName)
{
sfLoader::loadHelpers('Partial');
return $this->renderText(get_component($moduleName, $componentName, $this->varHolder->getAll()));
}