Problem with Weathermap Editor
Moderators: Developers, Moderators
Problem with Weathermap Editor
When I try to access the weathermap editor all I get is a blank page. No errors or anything.
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Problem with Weathermap Editor
How about in your Apache error_log?ABX wrote:When I try to access the weathermap editor all I get is a blank page. No errors or anything.
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!)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
How about in the Application event log then? I guess that's where PHP errors would end up on IIS.ABX wrote:I'm using IIS 6.0 on Win2003 server. All I see in the log is:
2007-03-01 12:21:17 W3SVC1 xxx.xxx.xxxxxx GET /cacti/plugins/weathermap/editor.php - 80 - xx.xxx.xxx.xxx Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+InfoPath.1;+.NET+CLR+1.1.4322) 200 0 0
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!)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
I guess you'll need install the Psychic ISAPI extension then
You could try running the editor from the command prompt, just to see if it gives anything useful. Most likely cause would be a missing (or not-enabled) GD library.
php editor.php should give you some HTML back. If it doesn't, it might give you a useful error message.
You could try running the editor from the command prompt, just to see if it gives anything useful. Most likely cause would be a missing (or not-enabled) GD library.
php editor.php should give you some HTML back. If it doesn't, it might give you a useful error message.
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!)
Yay, found the problem. Thanks Howie for your time.
Copy / Paste
If your code looks to be ok, I have found that this is often caused by the use of Short Open tags in PHP.
The full tag is
PHP Code:
<?php
but the short open tag can be used as well.
PHP Code:
<?
However, you must allow short open tags in your PHP.INI file. Look for the SHORT_OPEN_TAG directive in your PHP.INI file and set it to "1"
I hope this helps.
+
IIS restart
Copy / Paste
If your code looks to be ok, I have found that this is often caused by the use of Short Open tags in PHP.
The full tag is
PHP Code:
<?php
but the short open tag can be used as well.
PHP Code:
<?
However, you must allow short open tags in your PHP.INI file. Look for the SHORT_OPEN_TAG directive in your PHP.INI file and set it to "1"
I hope this helps.
+
IIS restart
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Aha. I forgot about htat one. It's already fixed in the next release.ABX wrote:Yay, found the problem. Thanks Howie for your time.
Copy / Paste
If your code looks to be ok, I have found that this is often caused by the use of Short Open tags in PHP.
The full tag is
PHP Code:
<?php
but the short open tag can be used as well.
PHP Code:
<?
However, you must allow short open tags in your PHP.INI file. Look for the SHORT_OPEN_TAG directive in your PHP.INI file and set it to "1"
I hope this helps.
+
IIS restart
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!)
Another day, another problem.
I'm trying to add some images to the map, but I don't see anything once I add the image in the editor.
I'm getting the "Your background image file could not be read. Check the filename, and permissions, for imagesbackground.png" in Cacti log file.
I'm trying to search this newly created files by the editor, but there aren't any in the Cacti maps.
P.S: Solved
The editor writes the image path wrongly in the map.conf instead of images/picture.png it writes imagepicture.png.
I'm trying to add some images to the map, but I don't see anything once I add the image in the editor.
I'm getting the "Your background image file could not be read. Check the filename, and permissions, for imagesbackground.png" in Cacti log file.
I'm trying to search this newly created files by the editor, but there aren't any in the Cacti maps.
P.S: Solved
The editor writes the image path wrongly in the map.conf instead of images/picture.png it writes imagepicture.png.
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
I'll check that. I guess it's a windows issue - \'s vs /'s and \s means something special to php. I thought I'd fixed all of those.ABX wrote: P.S: Solved
The editor writes the image path wrongly in the map.conf instead of images/picture.png it writes imagepicture.png.
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!)
Who is online
Users browsing this forum: No registered users and 2 guests