Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.4.8, 4.0.8
-
Fix Version/s: 4.1.1
-
Component/s: Core CiviCRM
-
Labels:None
Description
Line 183 of /administrator/components/com_civicrm/civicrm/CRM/Core/Payment/Evalon.php contains the following line:
curl_setopt ($ch, CURLOPT_GET, 1);
This line generates the following error in the error logs:
[Mon Feb 13 19:26:03 2012] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP Warning: curl_setopt(): Invalid curl configuration option in /hsphere/local/home/MYACCOUNT/MYDOMAIN.NET/administrator/components/com_civicrm/civicrm/CRM/Core/Payment/Elavon.php on line 183, referer: https://MYDOMAIN.NET/index.php?option=com_civicrm&task=civicrm/event/register&Itemid=82&_qf_Confirm_display=true&qfKey=52034eee6cb4be427b832232722c02c7_3142
The constant CURLOPT_GET does not exist as part of the curl_setopt function: http://php.net/manual/en/function.curl-setopt.php
By default, the curl method is "GET", so commenting this line out should have no ill effect.
More on this topic here: http://www.hacksparrow.com/php-curlopt_get-does-not-exist.html