Description of problem:
When there is a newline in the /etc/ganglia/conf.php file after the ?> PHP closing tag, the graphs are not displayed anymore. I think this is a common PHP issue and not related to the ganglia-web code itself.
On http://php.net/manual/en/language.basic-syntax.phptags.php it states "...If a file is pure PHP code, it is preferable to omit the PHP closing tag at the end of the file...".
The ?> closing tag is also omitted in the default config file /usr/share/ganglia/conf_default.php.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. add a new line/empty line after the ?> closing tag in /etc/ganglia/conf.php
2. reload your Ganglia site in the browser
Graphs are not displayed.
Graphs are displayed.
FEDORA-EPEL-2020-fee165c6a2 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-fee165c6a2
FEDORA-EPEL-2020-fee165c6a2 has been pushed to the Fedora EPEL 7 testing repository.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-fee165c6a2
See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2020-fee165c6a2 has been pushed to the Fedora EPEL 7 stable repository.
If problem still persists, please make note of it in this bug report.