Fatal Error when create a new graph
Moderators: Developers, Moderators
Fatal Error when create a new graph
Operating System: Windows 2003 R2
Webserver: IIS
Cacti: 0.8.7e
MySQL: 5.1
PHP: 5.2.12
RRDTool (Cygwin or Win32 version): Win32
Net-SNMP: 5.5.0
I am getting the following PHP error when attempting to create new graphs:
“Fatal error: Cannot redeclare check_changed() (previously declared in D:\webroot\cacti\graphs_new.php:340) in D:\webroot\cacti\lib\functions.php on line 241â€
Please assist. Thanks!
-K
Webserver: IIS
Cacti: 0.8.7e
MySQL: 5.1
PHP: 5.2.12
RRDTool (Cygwin or Win32 version): Win32
Net-SNMP: 5.5.0
I am getting the following PHP error when attempting to create new graphs:
“Fatal error: Cannot redeclare check_changed() (previously declared in D:\webroot\cacti\graphs_new.php:340) in D:\webroot\cacti\lib\functions.php on line 241â€
Please assist. Thanks!
-K
Did you upgrade your cacti lately?
[size=67]Cacti version: 0.8.7e5
OS: FreeBSD 7.2
Plugin Architecture: 2.6
Plugins: aggregate 0.74, autom8 0.33, loginmod 1.0
[url=http://docs.cacti.net/manual:087]Official Cacti Documentation[/url]
[url=http://docs.cacti.net/manual:087:4_help.2_debugging#debugging]Gandalfs Official Debugging Help[/url]
[/size]
OS: FreeBSD 7.2
Plugin Architecture: 2.6
Plugins: aggregate 0.74, autom8 0.33, loginmod 1.0
[url=http://docs.cacti.net/manual:087]Official Cacti Documentation[/url]
[url=http://docs.cacti.net/manual:087:4_help.2_debugging#debugging]Gandalfs Official Debugging Help[/url]
[/size]
This is from a docs-site to a similar problem:
Contrary to previous versions of Cacti, you must not put Cacti in your PHP include path. Check your php.ini file to make sure there is not something like include_path = C:/Apache2/htdocs/cacti.
[size=67]Cacti version: 0.8.7e5
OS: FreeBSD 7.2
Plugin Architecture: 2.6
Plugins: aggregate 0.74, autom8 0.33, loginmod 1.0
[url=http://docs.cacti.net/manual:087]Official Cacti Documentation[/url]
[url=http://docs.cacti.net/manual:087:4_help.2_debugging#debugging]Gandalfs Official Debugging Help[/url]
[/size]
OS: FreeBSD 7.2
Plugin Architecture: 2.6
Plugins: aggregate 0.74, autom8 0.33, loginmod 1.0
[url=http://docs.cacti.net/manual:087]Official Cacti Documentation[/url]
[url=http://docs.cacti.net/manual:087:4_help.2_debugging#debugging]Gandalfs Official Debugging Help[/url]
[/size]
Linux created rrd files are not compatible with Windows -- they must be recreated. Various users have created scripts for this process (basically rrdtool dump and then rrdtool import).
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
This was done at the time of the migration. I wrote two scripts, one to export to XML and one to import on the windows side.Linux created rrd files are not compatible with Windows -- they must be recreated. Various users have created scripts for this process (basically rrdtool dump and then rrdtool import).
What PIA version? What plugins enabled? What patches installed?
Try disabling all the plugins and see if the issue persists.
Try disabling all the plugins and see if the issue persists.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 5 guests