tags:

views:

130

answers:

3

Hi,

i have just this line in a template:

<?php include_component('sfGuardRegister', 'register') ?>

when it's executed i get a blank page. I have debugged include_component() and the flow processing is not entering inside of it, i mean:

function include_component($moduleName, $componentName, $vars = array())
{

  die("enter");
  echo get_component($moduleName, $componentName, $vars);
}

Any idea?

A: 

Have you loaded PartialHelper?

sfContext::getInstance()->getConfiguration()->loadHelper('Partial');
Martin Sikora
A: 

If you are in production environment (index.php) blank pages will show on error. Change to development environment (frontend_dev.php) and it will tell you why there is a problem.

My bet is you haven't enabled sfGuardRegister in setting.yml:

all:
  enabled_modules:      [.... , sfGuardRegister]
Coronatus
A: 

Well i checked Apache's error log and i'm getting this error:

[notice] child pid 6151 exit signal Segmentation fault (11)