Hi all
Problem with the CURLOPT_FOLLOWLOCATION and the new moneybookers zencart module from moneybookers website.
I'm using Zen Cart 1.38a (fresh install but with multiple mods)
My problem is an error occurring in ZenCart Admin.
I've been trying to install the new zencart module for Moneybookers obtained from moneybookers.com/partners/zencart/modulezencart.zip
I've previously had moneybookers integration working fine with an older moneybookers integration (from dayo's capture360 website, have had purchases with it), but with the new module I'm getting the an error when I try to install the module from the zencart admin pages just after I click "activate account", I find my Moneybookers ID is not returned and instead I get the following error message in Moneybookers ID edit box.
"/><b>Warning</b>: curl_setopt_array() [function.curl-setopt-array]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in <b>MYSHOPPATH/includes/modules/payment/moneybookers/moneybookers_curl.php</b> on line <b>100</b><br />"
I've had a look on http://www.zen-cart.com/forum/showthread.php?t=46494
And following the discussion there, my php core config setttings are: safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value
My open_basdir is set to various folders in my hosts php configuration, so that could possibly be the problem.
I'm using PHP Version 5.2.6-1+lenny8
My hosting company is Hetzner, based in South Africa
If its something I must take up with my hosting company can you please advise what setting needs to be changed?
I did try and edit the file /includes/modules/payment/moneybookers/moneybookers_curl.php at line 70 by changing: $curlOptions[CURLOPT_FOLLOWLOCATION] = true;
to
$curlOptions[CURLOPT_FOLLOWLOCATION] = false;
I could then progress pass the problem and found my Moneybookers ID display correctly, however I encountered moneybookers timeout errors when attempting to test the module with a purchase on my site which make me think this is not a valid change and there may be configuration changes needed on the server?
Any ideas? I would like to use the features of the new module and currently I'll have to revert to my previous integration which would be a pity
Thanks
Bernard