Description of problem:
The database configuration file for the cacti package does not have the
appropriate PHP tags and therefore is not included correctly from config.php
when the 'short_open_tag = Off' is set in /etc/php.ini.
Version-Release number of selected component (if applicable):
All versions of package I am assuming. I have latest cactid-0.8.5a-1 installed.
Install on any FC5 box and look at the /etc/cacti/db.php file. The top line
should be '<?php' and not '<?'
Steps to Reproduce:
1. yum --enablerepo=extras install cacti
2. grep "<?" /etc/cacti/db.php
3. be stumped as to why php won't include correctly when you have
'short_open_tag = Off' in your /etc/php.ini file.
For this particular package on the web we get an error stating:
ADONewConnection: Unable to load database driver ''
Cacti login page
In the error logs you will see
Oh yeah... it's an easy fix, but I just wanted to make sure that you guys were
aware of this. We try to keep PHP code as strict as possible and short open
tags is off in our environment. Just need to change the default to be <?php and
it will work if short tags is on or off.
Updated, should be in the wild soon.