When I try to save the credentials of Jirafe admin/commerce/config/jirafe, I got the following error on my dedicated server which didn't sync with Jirafe:

Warning: curl_setopt_array() [function.curl-setopt-array]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in Jirafe_HttpConnection_Curl->makeCurlRequest() (line 119 of /home/xxxxx/sites/all/modules/contrib/jirafe/Jirafe/HttpConnection/Curl.php).

CommentFileSizeAuthor
#2 1859946-curl-2.patch752 bytesluksak

Comments

guguss’s picture

I can solve the issue by setting: CURLOPT_FOLLOWLOCATION => false on Jirafe/HttpConnection/Curl.php. See the related thread on Prestashop here.

The Jirafe dashboard is now correctly synchronized.

guguss’s picture

Issue summary: View changes

Updated issue summary.

guguss’s picture

Issue summary: View changes

Updated issue summary.

guguss’s picture

Issue summary: View changes

Updated issue summary.

luksak’s picture

StatusFileSize
new752 bytes

This fixed the issue for me. I created a patch for this.

guguss’s picture

Hi,

I'm waiting for answers from Jirafe before I can commit a fix.

guguss’s picture

Status: Active » Fixed

The fix has been agreed.

Committed here.

Status: Fixed » Closed (fixed)

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

pun_pun’s picture

Thanks, GuGuss! This fixed the issue for me, too.

pun_pun’s picture

Issue summary: View changes

Updated issue summary.