This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests
are now tracked at the issue tracker at Github.
problem has to do with the changes in ...inc/templates.php
you have added:
function tpl_flush() {
ob_flush();
flush();
}
this one is REALLY game breaking for the integration in to joomla, the problem is that joomla uses ob_start(); the problem is that when you ob_flush() it cause the ob_get_contents() function to not return what it "should" (of-cause it do what the php code make it do)
the core of the problem may be that ob_flush is called without calling ob_start first i have no had time to look at this yet tho..
i can bypass this, however the bypass code will mean i have to make two seperat plugins for dokuwiki, 1 for old version and 1 for new ... i would very much like to avoid this. can you explain why you need the ob_flush() there ? maybe knowing your reason can make me come up with a better fix on my end.
in any regard i think the main problem is that ob_flush is beeing called without ob_start, this means that the ob_flush interact with the output of the ob_start in jfusion. have not yet had time to check if this is the root core...
To put it short if i comment out ob_flush(), all "my" headaches go away
2011-10-15ach
tpl_flush() is only used in the template's main.php (and ob_flush() is only used in tpl_flush()). I suggest just not using it in your template then.