MyBB Community Forums

Full Version: Why always error when Integrating?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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 Sad

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: write
Location :
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.
It's not an error, it's a PHP notice. You can ignore it or hide them: http://www.php.net/manual/en/function.er...orting.php