php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59955 Pie chart images not printed.
Submitted: 2011-09-16 19:04 UTC Modified: 2013-02-18 00:35 UTC
Votes:2
Avg. Score:3.0 ± 0.0
Reproduced:1 of 2 (50.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: cayanoglu at gmail dot com Assigned:
Status: No Feedback Package: APC (PECL)
PHP Version: 5.3.1 OS: XP
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2011-09-16 19:04 UTC] cayanoglu at gmail dot com
Description:
------------
Pie chart images is not loaded. Only placeholder thumbs loaded. 

I checked the code and revised the lines and worked.

Reproduce code:
---------------
I checked the code and revised the lines(Line~444) below;

    header("Content-type: image/png");
    imagepng($image);
    exit;

As:

        if(ob_get_length()>0) ob_clean();
	ob_start();
	header("Content-type: image/png");
	imagepng($image);
	ob_end_flush();


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-09-17 13:52 UTC] at php dot net
what does that have to do with apc?
 [2011-09-19 05:38 UTC] jpauli@php.net
That's in apc.php stats script, so that's APC related bug ;-)
 [2013-02-18 00:35 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Thu Jul 07 02:05:43 2022 UTC