When I go to the CiteProc Style Manager page of Biblio settings ( http://example.com/admin/config/biblio/styles ) I get a white screen.

The apache log shows:
Call to undefined function curl_init() in {...}/modules/biblio/modules/CiteProc/Github/HttpClient/Curl.php on line 86

Comments

rjerome’s picture

It would appear that your php installation doesn't have Curl enabled. What version of php are you running and on what platform?

elopio’s picture

I have php5.3.2 on Ubuntu 10.04

elopio@jack:~$ aptitude show php5
Package: php5
State: installed
Automatically installed: no
Version: 5.3.2-1ubuntu4.7

I didn't have installed php5-curl package. I installed it and tried again and now I can see the page.
I didn't know about this requirement. Shouldn't it be stated in the project page and in the README file?

I want to help, but I still have a lot to learn and I don't know where to start. Do you have an easy bug around to get me started?

thanks,
pura vida.

rjerome’s picture

Status: Active » Fixed

It hadn't occurred to me that cURL wasn't installed be default. I've added a check and a warning message which is displayed if one opens the CiteProc Style Manager and they don't have cURL enabled. Now if cURL is not enabled, just the installed styles are listed and all the other controls are disabled.

http://drupalcode.org/project/biblio.git/commit/075a8be

Ron.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.