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
Posts: 1857
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
Posts: 79
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
Posts: 27300
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
Posts: 79
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
Posts: 19
Page Not Found