Weathermap Fatal error
Moderators: Developers, Moderators
Weathermap Fatal error
I got weathermap installed, and then got the web-editor configured. I created a new map, and as soon as I hit the create button, I got this message:
Fatal error: Call to undefined function imagecreatetruecolor() in C:\Inetpub\wwwroot\cacti\plugins\Weathermap\Weathermap.class.php on line 2962
I have no idea what it means? Ideas? Thanks!
Fatal error: Call to undefined function imagecreatetruecolor() in C:\Inetpub\wwwroot\cacti\plugins\Weathermap\Weathermap.class.php on line 2962
I have no idea what it means? Ideas? Thanks!
Jacob Bergman
Pullman School District
jbergman@psd267.wednet.edu
Operating System: winserv 2003
Webserver: IIS 6.0
Cacti: BETA windows installer 1.5 (BSOD2600)
Pullman School District
jbergman@psd267.wednet.edu
Operating System: winserv 2003
Webserver: IIS 6.0
Cacti: BETA windows installer 1.5 (BSOD2600)
I also recieve this info in my cacti log....
04/12/2007 04:21:51 PM - WEATHERMAP: Poller[0] Required modules for PHP Weathermap were not present. Not running.
Available in your command-line php program. Please check the output from 'php -i' and your 'php.ini' to be sure!
IMPORTANT: Just because mod_php and php_info() shows gd in a webpage, it doesn't mean it's
04/12/2007 04:21:51 PM - WEATHERMAP: Poller[0]
No image (gd) extension is loaded. This is required by weathermap.
04/12/2007 04:21:51 PM - WEATHERMAP: Poller[0]
04/12/2007 04:21:51 PM - WEATHERMAP: Poller[0] Weathermap 0.82 in da house
04/12/2007 04:21:50 PM - SYSTEM STATS: Time:107.0543 Method:cactid Processes:5 Threads:10 Hosts:62 HostsPerProcess:13 DataSources:3452 RRDsProcessed:1750
04/12/2007 04:21:51 PM - WEATHERMAP: Poller[0] Required modules for PHP Weathermap were not present. Not running.
Available in your command-line php program. Please check the output from 'php -i' and your 'php.ini' to be sure!
IMPORTANT: Just because mod_php and php_info() shows gd in a webpage, it doesn't mean it's
04/12/2007 04:21:51 PM - WEATHERMAP: Poller[0]
No image (gd) extension is loaded. This is required by weathermap.
04/12/2007 04:21:51 PM - WEATHERMAP: Poller[0]
04/12/2007 04:21:51 PM - WEATHERMAP: Poller[0] Weathermap 0.82 in da house
04/12/2007 04:21:50 PM - SYSTEM STATS: Time:107.0543 Method:cactid Processes:5 Threads:10 Hosts:62 HostsPerProcess:13 DataSources:3452 RRDsProcessed:1750
Jacob Bergman
Pullman School District
jbergman@psd267.wednet.edu
Operating System: winserv 2003
Webserver: IIS 6.0
Cacti: BETA windows installer 1.5 (BSOD2600)
Pullman School District
jbergman@psd267.wednet.edu
Operating System: winserv 2003
Webserver: IIS 6.0
Cacti: BETA windows installer 1.5 (BSOD2600)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
You need to install/enable the PHP gd extension. You might just need to uncomment the appropriate line in php.ini, or you might need to actually install something extra.Dacob9906 wrote:I also recieve this info in my cacti log....
04/12/2007 04:21:51 PM - WEATHERMAP: Poller[0] Required modules for PHP Weathermap were not present. Not running.
Available in your command-line php program. Please check the output from 'php -i' and your 'php.ini' to be sure!
IMPORTANT: Just because mod_php and php_info() shows gd in a webpage, it doesn't mean it's
04/12/2007 04:21:51 PM - WEATHERMAP: Poller[0]
No image (gd) extension is loaded. This is required by weathermap.
04/12/2007 04:21:51 PM - WEATHERMAP: Poller[0]
04/12/2007 04:21:51 PM - WEATHERMAP: Poller[0] Weathermap 0.82 in da house
04/12/2007 04:21:50 PM - SYSTEM STATS: Time:107.0543 Method:cactid Processes:5 Threads:10 Hosts:62 HostsPerProcess:13 DataSources:3452 RRDsProcessed:1750
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
ok, so I uncommented the line in php.ini that says:
extension=php_gd2.dll
after doing so, the log info says:
04/13/2007 10:56:53 AM - WEATHERMAP: Poller[0] Weathermap has left the building
04/13/2007 10:56:53 AM - WEATHERMAP: Poller[0] Normal logging mode. If things are going wrong, turn on DEBUG in Cacti for more information!
04/13/2007 10:56:53 AM - WEATHERMAP: Poller[0] Weathermap 0.82 in da house
04/13/2007 10:56:52 AM - SYSTEM STATS: Time:109.6859 Method:cactid Processes:2 Threads:10 Hosts:60 HostsPerProcess:30 DataSources:3410 RRDsProcessed:1726
But I still recieve this when I try to make a new map in the web editor:
Fatal error: Call to undefined function imagecreatetruecolor() in C:\Inetpub\wwwroot\cacti\plugins\Weathermap\Weathermap.class.php on line 2962
This the debug:
04/13/2007 11:08:12 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=4"
04/13/2007 11:08:12 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=4"
04/13/2007 11:08:12 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update weathermap_maps set sortorder=id where sortorder is null or sortorder=0;"
04/13/2007 11:08:12 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update weathermap_maps set sortorder=id where sortorder is null;"
04/13/2007 11:08:12 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "show tables from cacti"
04/13/2007 11:08:12 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='43'"
04/13/2007 11:08:12 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select * from settings where name='monitor_width'"
04/13/2007 11:08:12 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select * from settings where name='monitor_refresh'"
04/13/2007 11:08:12 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='32'"
04/13/2007 11:08:12 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "show tables from `cacti`"
04/13/2007 11:08:12 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='19'"
04/13/2007 11:08:12 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='34'"
04/13/2007 11:08:12 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='15'"
04/13/2007 11:08:12 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
04/13/2007 11:08:12 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
04/13/2007 11:07:52 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=4"
04/13/2007 11:07:52 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=4"
04/13/2007 11:07:52 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update weathermap_maps set sortorder=id where sortorder is null or sortorder=0;"
04/13/2007 11:07:52 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update weathermap_maps set sortorder=id where sortorder is null;"
04/13/2007 11:07:52 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "show tables from cacti"
04/13/2007 11:07:52 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='43'"
04/13/2007 11:07:52 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select * from settings where name='monitor_width'"
04/13/2007 11:07:52 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select * from settings where name='monitor_refresh'"
04/13/2007 11:07:52 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='32'"
04/13/2007 11:07:52 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "show tables from `cacti`"
04/13/2007 11:07:52 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='19'"
04/13/2007 11:07:52 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='34'"
04/13/2007 11:07:52 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='15'"
04/13/2007 11:07:52 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
04/13/2007 11:07:52 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
04/13/2007 11:07:45 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=4"
04/13/2007 11:07:45 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=4"
04/13/2007 11:07:45 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update weathermap_maps set sortorder=id where sortorder is null or sortorder=0;"
04/13/2007 11:07:45 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update weathermap_maps set sortorder=id where sortorder is null;"
04/13/2007 11:07:45 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "show tables from cacti"
04/13/2007 11:07:45 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='43'"
04/13/2007 11:07:45 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select * from settings where name='monitor_width'"
04/13/2007 11:07:45 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select * from settings where name='monitor_refresh'"
04/13/2007 11:07:45 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='32'"
04/13/2007 11:07:45 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "show tables from `cacti`"
04/13/2007 11:07:45 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='19'"
04/13/2007 11:07:45 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='34'"
04/13/2007 11:07:45 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='15'"
04/13/2007 11:07:45 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
04/13/2007 11:07:45 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
04/13/2007 11:07:25 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=4"
04/13/2007 11:07:25 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=4"
04/13/2007 11:07:25 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update weathermap_maps set sortorder=id where sortorder is null or sortorder=0;"
04/13/2007 11:07:25 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update weathermap_maps set sortorder=id where sortorder is null;"
04/13/2007 11:07:25 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "show tables from cacti"
04/13/2007 11:07:25 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='43'"
04/13/2007 11:07:25 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select * from settings where name='monitor_width'"
04/13/2007 11:07:25 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select * from settings where name='monitor_refresh'"
04/13/2007 11:07:25 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='32'"
04/13/2007 11:07:25 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "show tables from `cacti`"
04/13/2007 11:07:25 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='19'"
04/13/2007 11:07:25 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='34'"
04/13/2007 11:07:25 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='15'"
04/13/2007 11:07:25 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
04/13/2007 11:07:25 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
04/13/2007 11:07:24 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=4"
04/13/2007 11:07:24 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=4"
04/13/2007 11:07:24 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update weathermap_maps set sortorder=id where sortorder is null or sortorder=0;"
04/13/2007 11:07:24 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update weathermap_maps set sortorder=id where sortorder is null;"
04/13/2007 11:07:24 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "show tables from cacti"
04/13/2007 11:07:24 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='43'"
04/13/2007 11:07:24 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select * from settings where name='monitor_width'"
04/13/2007 11:07:24 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select * from settings where name='monitor_refresh'"
04/13/2007 11:07:24 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='32'"
04/13/2007 11:07:24 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "show tables from `cacti`"
04/13/2007 11:07:24 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='19'"
04/13/2007 11:07:24 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='34'"
04/13/2007 11:07:24 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='15'"
04/13/2007 11:07:24 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
04/13/2007 11:07:24 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
04/13/2007 11:07:13 AM - WEATHERMAP: Poller[0] Weathermap has left the building
04/13/2007 11:07:13 AM - WEATHERMAP: Poller[0] Iterated all 0 maps.
04/13/2007 11:07:13 AM - WEATHERMAP: Poller[0] Iterating all maps.
04/13/2007 11:07:13 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select * from weathermap_maps where active='on'"
04/13/2007 11:07:13 AM - WEATHERMAP: Poller[0] Engaging Weathermap DEBUG mode
04/13/2007 11:07:13 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update weathermap_maps set sortorder=id where sortorder is null or sortorder=0;"
04/13/2007 11:07:13 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update weathermap_maps set sortorder=id where sortorder is null;"
04/13/2007 11:07:13 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "show tables from cacti"
04/13/2007 11:07:13 AM - WEATHERMAP: Poller[0] Weathermap 0.82 in da house
04/13/2007 11:07:12 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "show tables from `cacti`"
04/13/2007 11:07:12 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select count(*) from poller_command"
04/13/2007 11:07:11 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('stats_poller','Time:128.7919 Method:cactid Processes:2 Threads:10 Hosts:60 HostsPerProcess:30 DataSources:3410 RRDsProcessed:1726')"
Sorry for the huge post
extension=php_gd2.dll
after doing so, the log info says:
04/13/2007 10:56:53 AM - WEATHERMAP: Poller[0] Weathermap has left the building
04/13/2007 10:56:53 AM - WEATHERMAP: Poller[0] Normal logging mode. If things are going wrong, turn on DEBUG in Cacti for more information!
04/13/2007 10:56:53 AM - WEATHERMAP: Poller[0] Weathermap 0.82 in da house
04/13/2007 10:56:52 AM - SYSTEM STATS: Time:109.6859 Method:cactid Processes:2 Threads:10 Hosts:60 HostsPerProcess:30 DataSources:3410 RRDsProcessed:1726
But I still recieve this when I try to make a new map in the web editor:
Fatal error: Call to undefined function imagecreatetruecolor() in C:\Inetpub\wwwroot\cacti\plugins\Weathermap\Weathermap.class.php on line 2962
This the debug:
04/13/2007 11:08:12 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=4"
04/13/2007 11:08:12 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=4"
04/13/2007 11:08:12 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update weathermap_maps set sortorder=id where sortorder is null or sortorder=0;"
04/13/2007 11:08:12 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update weathermap_maps set sortorder=id where sortorder is null;"
04/13/2007 11:08:12 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "show tables from cacti"
04/13/2007 11:08:12 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='43'"
04/13/2007 11:08:12 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select * from settings where name='monitor_width'"
04/13/2007 11:08:12 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select * from settings where name='monitor_refresh'"
04/13/2007 11:08:12 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='32'"
04/13/2007 11:08:12 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "show tables from `cacti`"
04/13/2007 11:08:12 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='19'"
04/13/2007 11:08:12 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='34'"
04/13/2007 11:08:12 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='15'"
04/13/2007 11:08:12 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
04/13/2007 11:08:12 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
04/13/2007 11:07:52 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=4"
04/13/2007 11:07:52 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=4"
04/13/2007 11:07:52 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update weathermap_maps set sortorder=id where sortorder is null or sortorder=0;"
04/13/2007 11:07:52 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update weathermap_maps set sortorder=id where sortorder is null;"
04/13/2007 11:07:52 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "show tables from cacti"
04/13/2007 11:07:52 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='43'"
04/13/2007 11:07:52 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select * from settings where name='monitor_width'"
04/13/2007 11:07:52 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select * from settings where name='monitor_refresh'"
04/13/2007 11:07:52 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='32'"
04/13/2007 11:07:52 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "show tables from `cacti`"
04/13/2007 11:07:52 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='19'"
04/13/2007 11:07:52 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='34'"
04/13/2007 11:07:52 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='15'"
04/13/2007 11:07:52 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
04/13/2007 11:07:52 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
04/13/2007 11:07:45 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=4"
04/13/2007 11:07:45 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=4"
04/13/2007 11:07:45 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update weathermap_maps set sortorder=id where sortorder is null or sortorder=0;"
04/13/2007 11:07:45 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update weathermap_maps set sortorder=id where sortorder is null;"
04/13/2007 11:07:45 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "show tables from cacti"
04/13/2007 11:07:45 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='43'"
04/13/2007 11:07:45 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select * from settings where name='monitor_width'"
04/13/2007 11:07:45 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select * from settings where name='monitor_refresh'"
04/13/2007 11:07:45 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='32'"
04/13/2007 11:07:45 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "show tables from `cacti`"
04/13/2007 11:07:45 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='19'"
04/13/2007 11:07:45 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='34'"
04/13/2007 11:07:45 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='15'"
04/13/2007 11:07:45 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
04/13/2007 11:07:45 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
04/13/2007 11:07:25 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=4"
04/13/2007 11:07:25 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=4"
04/13/2007 11:07:25 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update weathermap_maps set sortorder=id where sortorder is null or sortorder=0;"
04/13/2007 11:07:25 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update weathermap_maps set sortorder=id where sortorder is null;"
04/13/2007 11:07:25 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "show tables from cacti"
04/13/2007 11:07:25 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='43'"
04/13/2007 11:07:25 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select * from settings where name='monitor_width'"
04/13/2007 11:07:25 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select * from settings where name='monitor_refresh'"
04/13/2007 11:07:25 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='32'"
04/13/2007 11:07:25 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "show tables from `cacti`"
04/13/2007 11:07:25 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='19'"
04/13/2007 11:07:25 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='34'"
04/13/2007 11:07:25 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='15'"
04/13/2007 11:07:25 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
04/13/2007 11:07:25 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
04/13/2007 11:07:24 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=4"
04/13/2007 11:07:24 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=4"
04/13/2007 11:07:24 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update weathermap_maps set sortorder=id where sortorder is null or sortorder=0;"
04/13/2007 11:07:24 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update weathermap_maps set sortorder=id where sortorder is null;"
04/13/2007 11:07:24 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "show tables from cacti"
04/13/2007 11:07:24 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='43'"
04/13/2007 11:07:24 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select * from settings where name='monitor_width'"
04/13/2007 11:07:24 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select * from settings where name='monitor_refresh'"
04/13/2007 11:07:24 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='32'"
04/13/2007 11:07:24 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "show tables from `cacti`"
04/13/2007 11:07:24 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='19'"
04/13/2007 11:07:24 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='34'"
04/13/2007 11:07:24 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='4' and user_auth_realm.realm_id='15'"
04/13/2007 11:07:24 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
04/13/2007 11:07:24 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
04/13/2007 11:07:13 AM - WEATHERMAP: Poller[0] Weathermap has left the building
04/13/2007 11:07:13 AM - WEATHERMAP: Poller[0] Iterated all 0 maps.
04/13/2007 11:07:13 AM - WEATHERMAP: Poller[0] Iterating all maps.
04/13/2007 11:07:13 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select * from weathermap_maps where active='on'"
04/13/2007 11:07:13 AM - WEATHERMAP: Poller[0] Engaging Weathermap DEBUG mode
04/13/2007 11:07:13 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update weathermap_maps set sortorder=id where sortorder is null or sortorder=0;"
04/13/2007 11:07:13 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update weathermap_maps set sortorder=id where sortorder is null;"
04/13/2007 11:07:13 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "show tables from cacti"
04/13/2007 11:07:13 AM - WEATHERMAP: Poller[0] Weathermap 0.82 in da house
04/13/2007 11:07:12 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "show tables from `cacti`"
04/13/2007 11:07:12 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select count(*) from poller_command"
04/13/2007 11:07:11 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('stats_poller','Time:128.7919 Method:cactid Processes:2 Threads:10 Hosts:60 HostsPerProcess:30 DataSources:3410 RRDsProcessed:1726')"
Sorry for the huge post
Jacob Bergman
Pullman School District
jbergman@psd267.wednet.edu
Operating System: winserv 2003
Webserver: IIS 6.0
Cacti: BETA windows installer 1.5 (BSOD2600)
Pullman School District
jbergman@psd267.wednet.edu
Operating System: winserv 2003
Webserver: IIS 6.0
Cacti: BETA windows installer 1.5 (BSOD2600)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
does php -m show the gd module loaded? It sounds like perhaps it still isn't...Dacob9906 wrote:ok, so I uncommented the line in php.ini that says:
extension=php_gd2.dll
Sorry for the huge post
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
yes, it does:
Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.
C:\Documents and Settings\Administrator>php -m
[PHP Modules]
bcmath
calendar
com_dotnet
ctype
date
dom
filter
ftp
gd
hash
iconv
json
libxml
mysql
odbc
pcre
Reflection
session
SimpleXML
snmp
sockets
SPL
standard
tokenizer
wddx
xml
xmlreader
xmlwriter
zlib
[Zend Modules]
C:\Documents and Settings\Administrator>
Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.
C:\Documents and Settings\Administrator>php -m
[PHP Modules]
bcmath
calendar
com_dotnet
ctype
date
dom
filter
ftp
gd
hash
iconv
json
libxml
mysql
odbc
pcre
Reflection
session
SimpleXML
snmp
sockets
SPL
standard
tokenizer
wddx
xml
xmlreader
xmlwriter
zlib
[Zend Modules]
C:\Documents and Settings\Administrator>
Jacob Bergman
Pullman School District
jbergman@psd267.wednet.edu
Operating System: winserv 2003
Webserver: IIS 6.0
Cacti: BETA windows installer 1.5 (BSOD2600)
Pullman School District
jbergman@psd267.wednet.edu
Operating System: winserv 2003
Webserver: IIS 6.0
Cacti: BETA windows installer 1.5 (BSOD2600)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Fatal error: Call to undefined function imagecreatetruecolor() in C:\Inetpub\wwwroot\cacti\plugins\Weathermap\Weathermap.class.php on line 2962Dacob9906 wrote:yes, it does:
Then you GD library is not compiled with truecolor support, which is required by weathermap. I thought that was the default on recent versions of GD, though. You will need to either reinstall or recompile GD (and possibly PHP's GD extension) with truecolor.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Honestly, I have no idea how I would go about doing that... is that something you have the time to walk me through? if not, I'm sure I can figure it out, just might take me a while. Thanks.
Jacob Bergman
Pullman School District
jbergman@psd267.wednet.edu
Operating System: winserv 2003
Webserver: IIS 6.0
Cacti: BETA windows installer 1.5 (BSOD2600)
Pullman School District
jbergman@psd267.wednet.edu
Operating System: winserv 2003
Webserver: IIS 6.0
Cacti: BETA windows installer 1.5 (BSOD2600)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Sorry, for Windows I don't actually know, either.Dacob9906 wrote:Honestly, I have no idea how I would go about doing that... is that something you have the time to walk me through? if not, I'm sure I can figure it out, just might take me a while. Thanks.
The PHP I downloaded for my Windows desktop already had the correct versions, and so did my old XAMPP For Windows installation, so it might be easier to just get a different PHP install, depending on what else your server is doing. Then again, if it's uncharted waters, maybe you shouldn't
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
I have php version 5.2.0 so I would think that it would have everything I needed... maybe I will try re-installing it, and hope that it doesn't screw everything up for me. Thanks for the help!
Jacob Bergman
Pullman School District
jbergman@psd267.wednet.edu
Operating System: winserv 2003
Webserver: IIS 6.0
Cacti: BETA windows installer 1.5 (BSOD2600)
Pullman School District
jbergman@psd267.wednet.edu
Operating System: winserv 2003
Webserver: IIS 6.0
Cacti: BETA windows installer 1.5 (BSOD2600)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
There's no point re-installing the same version (from the same binary source), as far as I know. This is to do with the options it was originally compiled with.Dacob9906 wrote:I have php version 5.2.0 so I would think that it would have everything I needed... maybe I will try re-installing it, and hope that it doesn't screw everything up for me. Thanks for the help!
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Yeah, I would suppose that would make sense... hmm.... well, I'm not really sure what I should do now... Maybe I should move cacti off of my VM and to a real server so I can move it out of testing, I already know I want to use it, so I could set it up in production... maybe in the process of setting it back up, something will get fixed.
Jacob Bergman
Pullman School District
jbergman@psd267.wednet.edu
Operating System: winserv 2003
Webserver: IIS 6.0
Cacti: BETA windows installer 1.5 (BSOD2600)
Pullman School District
jbergman@psd267.wednet.edu
Operating System: winserv 2003
Webserver: IIS 6.0
Cacti: BETA windows installer 1.5 (BSOD2600)
Hmm, I have rebooted the server several times, and that doesn't seem to help. But like I said, it is a VM, so maybe that is part of the problem. Thanks!
Jacob Bergman
Pullman School District
jbergman@psd267.wednet.edu
Operating System: winserv 2003
Webserver: IIS 6.0
Cacti: BETA windows installer 1.5 (BSOD2600)
Pullman School District
jbergman@psd267.wednet.edu
Operating System: winserv 2003
Webserver: IIS 6.0
Cacti: BETA windows installer 1.5 (BSOD2600)
- streaker69
- Cacti Pro User
- Posts: 712
- Joined: Mon Mar 27, 2006 10:35 am
- Location: Psychic Amish Network Administrator
Just a suggestion. I've been using the CactiEZ ISO Cd that I downloaded from a link here. It's been working 100% for all plugins that I've put on it, including Weathermap. Might be something to consider, since you don't really need a machine with much horsepower to run. I'm using an old 1.3Ghz Celeron and it's running just fine.Dacob9906 wrote:Hmm, I have rebooted the server several times, and that doesn't seem to help. But like I said, it is a VM, so maybe that is part of the problem. Thanks!
Might make your life easier than pulling your hair out over these quirky problems in Windows.
Who is online
Users browsing this forum: No registered users and 1 guest