Page 1 of 2
Black graphs on Mantis 1.3 ?
Posted: 22 Jan 2015, 13:29
by dimas
Hi. I'm always getting black graphs with Mantis 1.3 new installation:
http://i.imgur.com/JaxGaOg.png
I know 1.3 is in Beta stage but I think it could be a bad configuration or server issue. Any idea?
Re: Black graphs on Mantis 1.3 ?
Posted: 08 Apr 2016, 10:02
by dimas
The same with Mantis 1.3 RC1

Re: Black graphs on Mantis 1.3 ?
Posted: 11 Apr 2016, 19:52
by atrol
I was not able to reproduce the problem.
You should provide detailed step-by-step instructions to reproduce the issue; the following additional information may also be useful:
- Exact version of MantisBT, PHP, Database, Web server, Browser and Operating System
- Relevant customizations (e.g. changes in config_inc.php, etc)
- Installed plugins or custom functions ?
- Was the MantisBT source code modified in any way ?
Re: Black graphs on Mantis 1.3 ?
Posted: 12 Apr 2016, 08:32
by dimas
I reinstalled from 0:
- MantisBT version: 1.3 RC1
- Installation configuration:
https://i.imgur.com/aSMCQaN.png
- I go to /manage_plugin_page.php and activate the Graphics plugin 1.3
- I go to /plugin.php?page=MantisGraph/summary_jpgraph_page and the graphs are all black:
https://i.imgur.com/8PKFBnf.png (tried creating some test project and issues)
- Tried isolating plugin response, black image: plugin.php?page=MantisGraph/summary_graph_cumulative_bydate.php&width=375
Version information:
- Ubuntu Linux 14.04.2 (Linux 3.13.0-55-generic on x86_64)
- Apache/2.4.7 (Ubuntu)
- PHP 5.5.9-1ubuntu4.14
- MySQL 5.6.28-0ubuntu0.14.04.1-log - (Ubuntu)
- Browsers: Firefox and Chrome latest versions
- OS: Windows 7
No source code modified, new installation. No plugins or custom functions.
Re: Black graphs on Mantis 1.3 ?
Posted: 17 Jul 2016, 10:09
by Meserias
I all get black graphs on fresh installation of MantisBT 1.3
however in version 1.2.19 I have no issue with this.
I can provide any information you need please post it here so I can help track down this bug.
Re: Black graphs on Mantis 1.3 ?
Posted: 17 Jul 2016, 10:26
by Meserias
just input some Reports (BUG's) and the graphs will be generated well
Re: Black graphs on Mantis 1.3 ?
Posted: 18 Jul 2016, 06:25
by dimas
I've more than 500 issues opened and the graphs remain black

Re: Black graphs on Mantis 1.3 ?
Posted: 18 Jul 2016, 09:11
by Meserias
in may case I just installed 1.3 then activated Graph plugin then indeed I see black squares.
What I do ?
Uninstall > Reinstall Graph PlugIn > Add one Report (bug) - you will delete this one !
then go back to graphs....and in my case it's just work and there is no black squares.
Re: Black graphs on Mantis 1.3 ?
Posted: 18 Jul 2016, 09:44
by dimas
Thx, but that not worked for me

Re: Black graphs on Mantis 1.3 ?
Posted: 13 Aug 2016, 17:12
by walt73
dimas wrote:Hi. I'm always getting black graphs with Mantis 1.3 new installation:
http://i.imgur.com/JaxGaOg.png
I know 1.3 is in Beta stage but I think it could be a bad configuration or server issue. Any idea?
try reinstalling Mantis 1.3 from scratch. My problem get solved by this.
Re: Black graphs on Mantis 1.3 ?
Posted: 29 Aug 2016, 08:19
by dimas
walt73 wrote:dimas wrote:Hi. I'm always getting black graphs with Mantis 1.3 new installation:
http://i.imgur.com/JaxGaOg.png
I know 1.3 is in Beta stage but I think it could be a bad configuration or server issue. Any idea?
try reinstalling Mantis 1.3 from scratch. My problem get solved by this.
As I said:
viewtopic.php?f=3&t=22885&p=59935#p59189
Re: Black graphs on Mantis 1.3 ?
Posted: 29 Aug 2016, 08:29
by atrol
Have you installed package msttcorefonts on your system?
Re: Black graphs on Mantis 1.3 ?
Posted: 01 Sep 2016, 11:34
by dimas
I haven't installed the msttcorefonts package, but installing it doesn't solved the problem
I tried with mantis 2.0 Beta 2 and I can't see the graphics, neither the black image:
https://i.imgur.com/8FzyTdk.png
Re: Black graphs on Mantis 1.3 ?
Posted: 01 Sep 2016, 11:48
by atrol
Mantis 2.0 Beta 2 is another story as there is a complete rewrite of graphs based on other technology than older versions.
The fonts on server are no longer needed, but there is a known bug in 2.0 Beta 2
https://www.mantisbt.org/bugs/view.php?id=21653
Back to version 1.3
Did you check your web server logs for errors or warnings?
Did you run admin/check/index.php?
What do you get when right clicking on the black graph and choose to open the link in a new tab?
Re: Black graphs on Mantis 1.3 ?
Posted: 08 Sep 2016, 12:36
by TomR
Same problem here as described above.
I upgraded 1.2.19 to 1.3.1
admin/check/index.php only give some warnings ( not related to graphs )
No errors in webserver logs
Installed msttcorefonts
Right-click open link in new tab: same black square!
Error shown when inspection of element:
Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-LsF8TRjV1lL0D8HSw6Ckeqaag959+kQJGQbyrsuQtkg='), or a nonce ('nonce-...') is required to enable inline execution.