Hi !
I would like to know if it's possible to use PHPBB session in CKFinder. I would like to integrate CKEditor and CKFinder in an administration part, to manage news displayed on the website.
I tried numerous time to get something when configuring CheckAuthentication() function but I'm unable to check if the session works fine, as I cannot "echo" something without making crash everything...
I successfully included session and user variable definition but I still get false when I build my condition or an error (Empty string from server...).
My condition is the following :
$user->data['user_id'] != ANONYMOUS && ( $user->data['user_type'] == 3 || $user->data['group_id']==3204 || $user->data['group_id']==3321 )
And on top of config.php
session_start(); define('IN_PHPBB', true); $phpbb_root_path = '../../../../forums/'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include($phpbb_root_path . 'common.' . $phpEx); $user->session_begin(); $auth->acl($user->data); $user->setup();
Nothing works... And sometimes, I have the feeling I have one behavior and without modifing something, I have different behavior trying again to access the CKFinder...
So first : Is there a way to debug the authentication part ?!?
Second : Did someone already success to make work PHPBB session ?
Thank you for support :)