Page 1 of 1

XAMPP under Windows: Google Weather error

PostPosted: 21. October 2010 16:54
by yourlocalsheriff
I am new to XAMPP, and have just installed XAMPP for Windows as a development site.

It is installed and working fine - EXCEPT...
When I install mod_googleWeather and configure it the same as in the live site, I get the following error:
Fatal error: Call to undefined function curl_in it() in C:\XAMPP\htdocs\modules\mod_googleWeather\mod_googleWeather_lib.php on line 200

As it is ok on the live site this must be some wrong setting in the XAMPP environment.

XCan somebody please point me in the right direction to solve this problem.

Thanks in advance,

John Wilson :cry:

Re: XAMPP under Windows: Google Weather error

PostPosted: 21. October 2010 16:57
by Altrea
have you enabled curl?

Re: XAMPP under Windows: Google Weather error

PostPosted: 22. October 2010 00:10
by yourlocalsheriff
Thank you for your response.
As I said, I'm new to XAMPP, so pardon my ignorance.

How, and where do I enable curl?

Thanks again

John :cry:

Re: XAMPP under Windows: Google Weather error

PostPosted: 22. October 2010 14:11
by Altrea
- Open the file php.ini
- search for "extension=php_curl.dll"
- remove the ; at the beginning
- Restart your Apache

Re: XAMPP under Windows: Google Weather error

PostPosted: 24. October 2010 13:12
by yourlocalsheriff
Many thanks Altrea - fixed the problem.

John