MyBB Community Forums

Full Version: Can't login
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I added my site header to MyBB and of course screwed up the cookies so I can't log in. I added the code to global.php after require "./inc/integration.php"; The code I've tried is

require "../forum/header.php"; and I can't login. Then I tried

ob_start();
require "../forum/header.php";
ob_end_flush();

And I can't login.
First off
ob_start();
require "../forum/header.php";
ob_end_flush();
That does not do anything different than
require "../forum/header.php";
Just an FYI.

As for putting anything in global.php... if it outputs something then you should not put it in global.php. If you want to output something place it in a template. There are too many things that can be messed up by outputting anything in global.php