Hi all,
I encounter such a problem with editor : I can see any map
I 've checked gd support for php... both php and cli, the check.php page is fine (all green), no rights pb...
I join a screenshot, you can see for simple.com, I have no map. If i try to add a background image, i can just have a small pic (like 90*90) but a big one make me have a : Zero sized reply.
maybe I can just configure directly the conf files without the editor... but the simple map isn't available within the weathermap page..;
any clue ?
weathermap not working ? - no map in editor
Moderators: Developers, Moderators
weathermap not working ? - no map in editor
- Attachments
-
- screenshot shoing no map shown in editor.
- 2008-04-21-145426.png (24.19 KiB) Viewed 2701 times
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
You can always create config files by hand - they are just text files! You don't need to use the editor at all, it just makes some things easier, like picking cacti data sources.
Sounds to me like a memory_limit problem if you get results with a small image but not a big one. What is your memory_limit in php.ini (check.php will tell you, too).
Sounds to me like a memory_limit problem if you get results with a small image but not a big one. What is your memory_limit in php.ini (check.php will tell you, too).
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!)
Thx for replying
I have a 32MB limit for php, but I configure it by text file directly, and then when I create the map I have no pb... and with this config file (which works) I have direclty a "Zero sized Reply" when I select the config file from editor.php.
(I still have to understand why it doesn't appear on the page weathermap automaticaly, but I can see it with explicit .html call.
Im not far to be good
Thx for your help.
I have a 32MB limit for php, but I configure it by text file directly, and then when I create the map I have no pb... and with this config file (which works) I have direclty a "Zero sized Reply" when I select the config file from editor.php.
(I still have to understand why it doesn't appear on the page weathermap automaticaly, but I can see it with explicit .html call.
Im not far to be good
Thx for your help.
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
The Cacti docs suggest a 128M memory_limit for Cacti. I would suggest at least that for weathermap. I think mine is set to 256M.
(that section about memory_limit isn't in the 0.8.7 manual, but I think recent PHP versions default to 128M instead of the old 8M).
(that section about memory_limit isn't in the 0.8.7 manual, but I think recent PHP versions default to 128M instead of the old 8M).
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!)
apache php.ini
If you have apache2 you must check that the file php.ini associated to apache2 has also the correct memory limit. To check it you must go to the directory where you installed php and change the memory_limit configuration for apache2 (normally /etc/php/apache2/php.ini). Sorry for my English.
Who is online
Users browsing this forum: No registered users and 3 guests