Closed (fixed)
Project:
Bibliography Module
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 May 2011 at 01:48 UTC
Updated:
18 May 2011 at 00:42 UTC
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
Comment #1
rjerome commentedIt would appear that your php installation doesn't have Curl enabled. What version of php are you running and on what platform?
Comment #2
elopio commentedI 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.
Comment #3
rjerome commentedIt 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.