Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


weathermap not working ? - no map in editor

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map)
Author Message
FreeBzH



Joined: 21 Apr 2008
Posts: 2

PostPosted: Mon Apr 21, 2008 8:50 am    Post subject: weathermap not working ? - no map in editor Reply with quote

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 ?



2008-04-21-145426.png
 Description:
screenshot shoing no map shown in editor.
 Filesize:  24.19 KB
 Viewed:  1187 Time(s)

2008-04-21-145426.png


Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2032
Location: United Kingdom

PostPosted: Mon Apr 21, 2008 9:45 am    Post subject: Reply with quote

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).
Back to top
FreeBzH



Joined: 21 Apr 2008
Posts: 2

PostPosted: Mon Apr 21, 2008 11:43 am    Post subject: Reply with quote

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.
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2032
Location: United Kingdom

PostPosted: Mon Apr 21, 2008 11:50 am    Post subject: Reply with quote

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).
Back to top
TCH



Joined: 16 Jul 2008
Posts: 1

PostPosted: Wed Jul 16, 2008 7:02 am    Post subject: apache php.ini Reply with quote

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.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map) All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group