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    


Problem with GD module

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



Joined: 18 Dec 2006
Posts: 6

PostPosted: Mon Dec 18, 2006 2:10 am    Post subject: Problem with GD module Reply with quote

Hello everybody,

first, sorry for my very poor english.
I have a problem using weathermap plugin.

In the cacti log file, I have this message : " Poller [0] Required modules for PHP Weathermap were not present. Not running.
[...]
no image (gd) extension is loaded. This is required by weathermap".

I have uncommented the line "extension=php_gd2.dll" in the php.ini file, then restarted the apache server, but always the same error.

When I try "php -m", I didn't see "gd" in [PHP Modules]

I'm using cacti under Windows XP with cacti 0.8.6h and PHP 4.3.3

I need some help.

Thanks
Back to top
Howie
Cacti Guru User


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

PostPosted: Mon Dec 18, 2006 3:18 am    Post subject: Re: Problem with GD module Reply with quote

Philippe wrote:
Hello everybody,

first, sorry for my very poor english.
I have a problem using weathermap plugin.

In the cacti log file, I have this message : " Poller [0] Required modules for PHP Weathermap were not present. Not running.
[...]
no image (gd) extension is loaded. This is required by weathermap".

I have uncommented the line "extension=php_gd2.dll" in the php.ini file, then restarted the apache server, but always the same error.

When I try "php -m", I didn't see "gd" in [PHP Modules]

I'm using cacti under Windows XP with cacti 0.8.6h and PHP 4.3.3

I need some help.

Thanks


You need to install the PHP gd module. The method for doing that depends on where you got PHP from. Is it the php.net binary, or something like XAMMP, WAMP etc?

Also, try searching your computer for php_gd2.dll, in case it is somewhere funny.
Back to top
Philippe



Joined: 18 Dec 2006
Posts: 6

PostPosted: Mon Dec 18, 2006 3:49 am    Post subject: Reply with quote

I can find the file php_gd2.dll in "php\extensions" directory.
With Windows XP, I don't know if I have to install something else ??
Back to top
Philippe



Joined: 18 Dec 2006
Posts: 6

PostPosted: Wed Dec 20, 2006 2:06 am    Post subject: Reply with quote

I got php from EASYPHP 1.7

When I look in the EasyPHP administration webpage, I see "gd" in the loaded extensions....
Back to top
Howie
Cacti Guru User


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

PostPosted: Wed Dec 20, 2006 3:59 am    Post subject: Reply with quote

Philippe wrote:
I got php from EASYPHP 1.7

When I look in the EasyPHP administration webpage, I see "gd" in the loaded extensions....


There are two PHP modes - the webpage mode (mod_php for apache), which the Cacti user interface and your admin page uses, and the command line mode (php.exe) which the Cacti poller and Weathermap uses.

It's the output of php -i on the command-line that you need to check.
Back to top
crackrocksteady



Joined: 06 Dec 2006
Posts: 45
Location: Perth , Australia

PostPosted: Wed Dec 20, 2006 4:01 am    Post subject: Reply with quote

You probably just need to uncomment php_gd2.dll from the extensions section in your php.ini
Back to top
crackrocksteady



Joined: 06 Dec 2006
Posts: 45
Location: Perth , Australia

PostPosted: Wed Dec 20, 2006 4:02 am    Post subject: Reply with quote

Sorry,

Should read better next time...

Apologies.
Back to top
Philippe



Joined: 18 Dec 2006
Posts: 6

PostPosted: Tue Dec 26, 2006 3:03 am    Post subject: Reply with quote

Hello,

I think I made something wrong installing cacti because I have reinstalled all the software and it works now !

Thank you very much for your help.
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