El header que tu tienes es este:
define('IN_PHPBB', true); // lo mas importante
$phpbb_root_path = 'foros/';
$phpbb_url_path = 'http://www.camara-oscura.com/foros/';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx); // se incluye common.php
include($phpbb_root_path . 'config.' . $phpEx); //se incluye para la info de tu base de datos como conexion, etc
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
include($phpbb_root_path . 'includes/bbcode.' . $phpEx);
// iniciamos sesion
$user->session_begin();
$auth->acl($user->data);
$user->setup();
Y te faltan las entradas del PHP por lo que comentas:
<?php
define('IN_PHPBB', true); // lo mas importante
$phpbb_root_path = 'foros/';
$phpbb_url_path = 'http://www.camara-oscura.com/foros/';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx); // se incluye common.php
include($phpbb_root_path . 'config.' . $phpEx); //se incluye para la info de tu base de datos como conexion, etc
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
include($phpbb_root_path . 'includes/bbcode.' . $phpEx);
// iniciamos sesion
$user->session_begin();
$auth->acl($user->data);
$user->setup();
?>
Jajaja