FS#23589 - [cacti] update causes poller.php to fail running
Attached to Project:
Community Packages
Opened by camden linday (thenextdon13) - Tuesday, 05 April 2011, 00:07 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 05 April 2011, 16:36 GMT
Opened by camden linday (thenextdon13) - Tuesday, 05 April 2011, 00:07 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 05 April 2011, 16:36 GMT
|
Details
Description:
Thank you for updating cacti, however it appears that the poller used in the update today is significantly different than the one checked into cacti's SVN, using different variables in many places as well as having the hooks for the plugin architecture. I had verified that using the current svn version of poller.php was very close to the original distributed by arch, and that the new version in cacti svn worked fine when dropped in as a direct replacement. (svn link) http://svn.cacti.net/viewvc/cacti/branches/0.8.7/poller.php?revision=6298 Additional info: * package version(s) 0.8.7g * config and/or log files etc. Errors using new arch package: [root@storage cacti]# sudo -u http /usr/bin/php /srv/http/cacti/poller.php.arch PHP Notice: Use of undefined constant CACTI_BASE_PATH - assumed 'CACTI_BASE_PATH' in /srv/http/cacti/poller.php.arch on line 64 PHP Warning: include_once(CACTI_BASE_PATH/include/poller/poller_arrays.php): failed to open stream: No such file or directory in /srv/http/cacti/poller.php.arch on line 64 PHP Warning: include_once(): Failed opening 'CACTI_BASE_PATH/include/poller/poller_arrays.php' for inclusion (include_path='.:/usr/share/pear') in /srv/http/cacti/poller.php.arch on line 64 PHP Notice: Use of undefined constant CACTI_BASE_PATH - assumed 'CACTI_BASE_PATH' in /srv/http/cacti/poller.php.arch on line 65 PHP Warning: include_once(CACTI_BASE_PATH/lib/poller.php): failed to open stream: No such file or directory in /srv/http/cacti/poller.php.arch on line 65 PHP Warning: include_once(): Failed opening 'CACTI_BASE_PATH/lib/poller.php' for inclusion (include_path='.:/usr/share/pear') in /srv/http/cacti/poller.php.arch on line 65 PHP Notice: Use of undefined constant CACTI_BASE_PATH - assumed 'CACTI_BASE_PATH' in /srv/http/cacti/poller.php.arch on line 66 PHP Warning: include_once(CACTI_BASE_PATH/lib/data_query.php): failed to open stream: No such file or directory in /srv/http/cacti/poller.php.arch on line 66 PHP Warning: include_once(): Failed opening 'CACTI_BASE_PATH/lib/data_query.php' for inclusion (include_path='.:/usr/share/pear') in /srv/http/cacti/poller.php.arch on line 66 PHP Notice: Use of undefined constant CACTI_BASE_PATH - assumed 'CACTI_BASE_PATH' in /srv/http/cacti/poller.php.arch on line 67 PHP Warning: include_once(CACTI_BASE_PATH/lib/graph_export.php): failed to open stream: No such file or directory in /srv/http/cacti/poller.php.arch on line 67 PHP Warning: include_once(): Failed opening 'CACTI_BASE_PATH/lib/graph_export.php' for inclusion (include_path='.:/usr/share/pear') in /srv/http/cacti/poller.php.arch on line 67 PHP Notice: Use of undefined constant CACTI_BASE_PATH - assumed 'CACTI_BASE_PATH' in /srv/http/cacti/poller.php.arch on line 68 PHP Warning: include_once(CACTI_BASE_PATH/lib/rrd.php): failed to open stream: No such file or directory in /srv/http/cacti/poller.php.arch on line 68 PHP Warning: include_once(): Failed opening 'CACTI_BASE_PATH/lib/rrd.php' for inclusion (include_path='.:/usr/share/pear') in /srv/http/cacti/poller.php.arch on line 68 PHP Fatal error: Call to undefined function api_plugin_hook() in /srv/http/cacti/poller.php.arch on line 118 Steps to reproduce: |
This task depends upon
Confirmed the upgrade worked without any issues (aside from typical reconfiguration of config.php that occurs during upgrades)
Thank you!