Error in module sitemap

Ser Moro
Ser Moro's picture

Joined: 2007-12-08
Posts: 79
Posted: Fri, 2013-03-15 05:37

After 'save' settings on admin sitemap page
with checked - 'Notify Google about sitemap'
we get:

 Kohana_PHP_Exception [ Fatal Error ]: Call to undefined function curl_init()

    MODPATH/sitemap/controllers/admin_sitemap.php[ 289 ]

284 $ping_url = "http://submissions.ask.com/ping?sitemap=" . $url; 
285 break; 
286 default: 
287 return; 
288 } 
289 $ch = curl_init(); 
290 curl_setopt($ch, CURLOPT_URL, $ping_url); 
291 curl_setopt($ch, CURLOPT_HEADER, 0); 
292 curl_exec($ch); 
293 $info = curl_getinfo($ch); 
294 $http_url = $info['url'];
...

SM

 
tempg

Joined: 2005-12-17
Posts: 1857
Posted: Fri, 2013-03-15 14:33

I'm not sure if the module author will see this thread. You may want to send a pm to make sure it gets noticed.

Also, fyi for the future, there's a dedicated thread for the module: http://galleryproject.org/node/96068

 
Ser Moro
Ser Moro's picture

Joined: 2007-12-08
Posts: 79
Posted: Fri, 2013-03-15 18:02

tempg
Thank you for reply.
I see with new code gallery3 many modules & themes require fixes.
Why embedded in PHP function curl_init() is undefined?
SM

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2013-03-15 19:41

FAQ: How do I create a phpinfo page?
It should give you information of your entire PHP configuration. Scroll through the installed libraries and see if cURL is there. If not, hit the Manual - http://php.net/manual/en/book.curl.php - and get it setup. Most likley your host does not have it installed.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Ser Moro
Ser Moro's picture

Joined: 2007-12-08
Posts: 79
Posted: Tue, 2013-03-19 06:00

Without php5-curl don't work modules:
aws_s3, moduleupdates, tag_albums.
Theme gd v3.2.2 don't auto updates.
It's not all the modules and themes that I checked
SM

 
bjmgeek
bjmgeek's picture

Joined: 2004-12-11
Posts: 19
Posted: Thu, 2013-11-14 17:25
tempg wrote:
I'm not sure if the module author will see this thread. You may want to send a pm to make sure it gets noticed.

Also, fyi for the future, there's a dedicated thread for the module: http://galleryproject.org/node/96068

Page Not Found