2013-10-22, 03:44 AM
Hello everyone I feel a little confused when integrating MyBB with my current project (under Laravel 3). I am using latest version of MyBB and try to integrate it but no success
Here is the code when I try to integrate :
but it returning error :
I have try anything like not using global variable or just using global $mybb or with $db but no success :'(
Btw i am using PHP 5.4.19, please help.
Thanks.
EDIT 1 : Error Message.
Here is the code when I try to integrate :
global $mybb, $db, $cache, $plugins, $lang, $config, $templatelist, $session, $connections;
define('IN_MYBB', NULL);
require_once $_SERVER['DOCUMENT_ROOT'] . '/project/forum/global.php';
but it returning error :
Quote:Undefined index: writeLocation :
Quote:Drive:\wwwpath\project\forum\inc\db_mysql.php on line 169
I have try anything like not using global variable or just using global $mybb or with $db but no success :'(
Btw i am using PHP 5.4.19, please help.
Thanks.
EDIT 1 : Error Message.