Topic on Extension talk:RottenLinks

Jump to navigation Jump to search

Undefined function curl-init

2
Summary by AnonymusGdpr

Installed missing library php7.2-curl.

AnonymusGdpr (talkcontribs)
MediaWiki: 1.31.1
PHP: 7.2.10-0ubuntu0.18.04.1 (apache2handler)
curl: 7.58.0-2ubuntu3.5
RottenLinks: 1.0.4 (a048fa8) 10:03, 5. Nov. 2018

When running the updateExternalLinks.php, I receive the following error:

Dropping all existing recorded entries\n[816b450c873de1388fbf7841] [no req]   Error from line 6 of /var/www/test/mediawiki/extensions/RottenLinks/includes/RottenLinks.php: Call to undefined function curl_init()
Backtrace:
#0 /var/www/test/mediawiki/extensions/RottenLinks/maintenance/updateExternalLinks.php(34): RottenLinks::getResponse(string)
#1 /var/www/test/mediawiki/maintenance/doMaintenance.php(94): UpdateExternalLinks->execute()
#2 /var/www/test/mediawiki/extensions/RottenLinks/maintenance/updateExternalLinks.php(53): require_once(string)
#3 {main}

Any ideas what I am doing wrong?

AnonymusGdpr (talkcontribs)

php7.2-curl has been missing. Installed -> works now.