Hi, I’m trying to use phpBB authorization for ModX. In another words - when user login on forum (phpBB), he automatically login on web-site (ModX).
I tried this code like snippet:
<?php
// http://www.phpbb.com/kb/article/phpbb3-sessions-integration/
define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : '../forum.parnasmoto.ru/';
include($phpbb_root_path . 'common.php');
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup();
?>
Result is - "The config. file could not be found. Click here to install phpBB"
Of course phpBB is installed.
Sorry for my terrible English.