MyBB Community Forums

Full Version: functions.php and class_session.php file not getting executed
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am integrating Mybb forum in my existing website. Considering this, I want to use my sites user credentials to login to forum section as well.

So I was working on a script which will log in the user to forum section ,as soon as he logs in to site.

Added below code,

define('IN_MYBB', 1);
include_once('forums/global.php');


But my script is getting halt while including inc/functions.php file, so I just renamed that file to mybb_functions.php and that issue got resolved.

But now script getting halt for including inc/class.session.php file also.

Please guide me how should I go ahead.