registration failure
Brought to you by:
letreo
Name: Adolf Mathias
Email: dolfi@zkm.de
// in register.php
// Before I reversed it, this one happened after ...
if ( !isset($_SESSION['template']) )
{
$template = &new POC_Template();
$_SESSION['template'] = $template;
}
// that, causing a field access to non-object:
//check if chatter is authorized to get this page
if( !isset($_SESSION['chat']) )
{
header('Status: 302');
header('Location: '.$_SESSION['template']->get_poc_web_root().'/index.php');
exit;
}
// Anyway, I can't get registration to work...