View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0019349 | mantisbt | reports | public | 2015-02-06 09:43 | 2016-07-09 19:29 |
Reporter | ForkrulAssail | Assigned To | vboctor | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Product Version | 1.2.17 | ||||
Summary | 0019349: Graphs are not shown | ||||
Description | I have installed plugins: On the Mantis Graph Summary, I cannot see graphs. From what I have read, I have laready checked and coorrected Fonts path. I tried with changing ecz onto installed JpGraph. No help, I see constantly broken image picture. On Mantis Stats page I see graphs generated in html5, but I do not see any more Mantis pictures. It looks like system stopped processing PNG files plugin_file.php?file=MantisStats/images/MantisStatsLogo.png Direct access shows this file. Via PHP, generates broken picture errror. Site is hosted via Hosting Company, I do not have access to all functions. | ||||
Additional Information | Mantis 1.2.17 Apache/2.4.10 | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Please decrease severity. |
|
Additional information. This Command is not showing png file, though it is physically there. |
|
The file is generated, though not displayed. |
|
Resolved |
|
Maybe we should add a check in admin/check.php for this. |
|
I wonder if we can do one of the following:
|
|
@vboctor, not sure, did you read the discussion starting from 0012410:0026903 ? |
|
I have to say that I'm with jreese here. It has also been an official PHP recommendation for ages, not to include the closing '?>': "If a file is pure PHP code, it is preferable to omit the PHP closing tag at the end of the file. This prevents accidental whitespace or new lines being added after the PHP closing tag, which may cause unwanted effects because PHP will start output buffering when there is no intention from the programmer to send any output at that point in the script." [1] If we really need to do something here, I think the admin check option is probably best. [1] http://php.net/manual/en/language.basic-syntax.phptags.php |
|