Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: BuddyBar for bbPress


matthijsv
Participant

@matthijsv

@transposh:

Problem seems to be with the output buffering.

Output is getting buffered on initialization and my guess is that it is somehow never flushed.

init_global_vars();

if (isset($_POST['translation_posted'])) {
update_translation();
}
elseif (isset($_GET['tr_token_hist'])) {
get_translation_history($_GET['tr_token_hist'], $_GET['lang']);
}
elseif (isset($_GET['tp_gif'])) {
$trans_gif_64 = "R0lGODlhAQABAIAAAAAAAAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==";
header("Content-type: image/gif");
print(base64_decode($trans_gif_64));
exit;
}
else {
//set the callback for translating the page when it's done
ob_start("process_page");
}
}

When I comment out the ob_start line forums are working. Will test Transposh in a bit.

Skip to toolbar