Invenzzia »


Due to the uncertain status of the Flyspray project, lack of new releases and moving the code repository to Github, we decided to shutdown this issue tracker by the end of January 2011. From that date, the bugs should be reported directly in Github project repositories.

List of repositories:

Open Power Template 2.x family


Remember to hide all the security-related pieces of code from the task description, like passwords, server paths etc. for your own safety. Once we close the task, we cannot edit it anymore!

FS#96 - In Opt_Class::__destruct() all active output buffers are flushed and ended

Attached to Project: Open Power Template
Opened by Anonymous Submitter - Friday, 17 July 2009, 10:09 GMT-7
Last edited by Zyx (Zyx) - Wednesday, 01 September 2010, 00:11 GMT-7
Task Type Bug Report
Category Base class
Status Closed
Assigned To Zyx (Zyx)
Operating System OS-independent
Severity Low
Priority Normal
Reported Version 2.0.0
Due in Version 2.0.6
Due Date Undecided
Percent Complete 100%
Votes 1
Private No


Don't you think everyone should close only its own buffers?

My particular case is an ob_start() callback function that sets some HTTP headers (Content-Length and such). The problem is it is not called in the end but after OPT renders a template (which is just a part of the page).

Francesc Rosàs
This task depends upon

Closed by  Zyx (Zyx)
Wednesday, 01 September 2010, 00:11 GMT-7
Reason for closing:  Fixed
Additional comments about closing:  Should be fixed in Git now.
Comment by Zyx (Zyx) - Saturday, 18 July 2009, 01:54 GMT-7
Hmmm... the assumption was to free the users from the manual output buffer management. This is where the current implementation came from. However, it should be no problem to improve it. I'll see, what could be done and added to 2.0.1 version.

BTW. If OPT generates only a part of the page, you should consider not to use the Opt_Output_Http output system.
Comment by Zyx (Zyx) - Tuesday, 21 July 2009, 22:33 GMT-7
Could you provide a pseudocode showing your code structure? I'd like to write a proper test case and see, what the best solution would be.
Comment by Francesc Rosàs (frosas) - Monday, 14 June 2010, 08:54 GMT-7
Here it is an example where I need OPT not touching my OB handlers:

I have an OB handler in the front controller that adds some HTTP headers: ob_start(array(new Pct_Web_HttpOutputHandler, 'execute'), 4096). I attached Pct_Web_HttpOutputHandler class for completeness.

In this case, after executing an OPT template, ETag and Content-Length headers are already sent and I can't echo anything else (well, I can but headers won't be valid then).

This is just one of the cases I've found but I have more. The point is that OPT shouldn't touch other's handlers.
Comment by Francesc Rosàs (frosas) - Wednesday, 30 June 2010, 23:21 GMT-7
  • Field changed: Percent Complete (10% → 0%)
Feedback provided :)
Comment by Zyx (Zyx) - Wednesday, 30 June 2010, 23:21 GMT-7
Thanks, I'll check this out soon.
Comment by xianq (xianq) - Sunday, 22 April 2012, 22:36 GMT-7
having spelling issues effectively, unique summer dresses do you genuinely compose?. So when it arrived to selfexpression beach prom dresses , I went into acting despite the fact that I ended up performing the type of efficiency that entails composing cheap maxi bridesmaid dresses , but particulars. After which I began a weblog. And now I'm producing a e-book.But someplace alongside the way in which, I did not selfidentify being a author vintage bridal gowns , wedding prom dresses that has produced creating the bookA less complicated? Mainly because I just sit down and compose what I believe, and attempt to not invest an excessive amount of of my power stressing concerning the truth that I'm not Judith Martin plus size dresses .I allow go no less than a bit.I be concerned much less now about if I'm operating in the course of time time period of 95 formal wedding gowns . I be concerned much less about replicating exactly the same timetable every single week plus size bridesmaid dress . chiffon bridesmaid dresses I be concerned just a little much less when I've a
Comment by xianq (xianq) - Tuesday, 01 May 2012, 18:57 GMT-7
wish the ornament for being particular and also a reflection with the partners character replica iwc watches . replica panerai watches It is possible to select many types on the Bride and Groom wedding ceremony ornaments exactly where the bride has blond hair or even the groom has blond hair or both equally. Or perhaps the sacred Xmas ornaments this sort of as being the White Marriage ceremony Bells ornament patek philippe replica , rolex replicas The Blessed Union Xmas ornament along with the White Wedding ceremony Cake and Doves Xmas ornament. replica rolex 116333 Otherwise you can decide on the whimsical wedding ceremony ornaments for your few who wish to have a good time including the Fortunately Ever before Following Car or truck Xmas ornament and also the Marriage ceremony Few Arch Xmas ornament oris replica . rolex replicas replica invicta tag heuer replica But do not forget there may be constantly the standard Initial Xmas with each other keepsake wedding ceremony Xmas ornaments which can be
Comment by xianq (xianq) - Tuesday, 19 June 2012, 01:56 GMT-7
excessive shoe fetish can be a risky 1 (albeit entirely glamorous and TVworthy) not just will all individuals beauties ruin our wallets casual dresses for a wedding , but following a whilst, theyll begin to harm our bad ft, corset dresses far too! <p> Once you are seeking a flawlessly polished, casual wedding clothing deluxe appear for your self wholesale vintage dresses . wedding dresses v neck wedding dresses . , corset wedding dress flower print dress no matter whether to get a specific occasion or merely simply because you need to search excellent daily, infinity scarves and pashmina shawls can be a musthave for the wardrobe. They may be that closing depth that exhibits that you just actually understand how to place on your own jointly and also you really treatment about you visual appeal. Infinity scarves get their identify from your proven fact that they appear to have no starting for nor finish; bridesmaid dresses . a loop that goes on indefinitely. Classic scarves are recognized for acquiring tails, but infinity scarves have casual dress for wedding .