2017-04-03, 05:11 PM
I'm trying to integrate my website with my forum, they are in the same host.
My cookie path is:
Cooke Domain: .expmu.net
Cookie Path: /
My code is:
define('IN_MYBB', NULL);
require_once 'forum/global.php';
require_once 'class.MyBBIntegrator.php';
$MyBBI = new MyBBIntegrator($mybb, $db, $cache, $plugins, $lang, $config);
if ($MyBBI->login('Leh', '123456')) {
echo 'login';
}
Error: Undefined property: MyLanguage::$lang_select_default
Even if I declare the global variable this occurs.
My cookie path is:
Cooke Domain: .expmu.net
Cookie Path: /
My code is:
define('IN_MYBB', NULL);
require_once 'forum/global.php';
require_once 'class.MyBBIntegrator.php';
$MyBBI = new MyBBIntegrator($mybb, $db, $cache, $plugins, $lang, $config);
if ($MyBBI->login('Leh', '123456')) {
echo 'login';
}
Error: Undefined property: MyLanguage::$lang_select_default
Even if I declare the global variable this occurs.