Hi, I have installed the autotweet mod after changing the update_product.php file but get the following errors:

Warning: curl_setopt_array() [function.curl-setopt-array]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /usr/www/users/soundoa/admin/twitter/bitly.php on line 141
{ "errorCode": 0, "errorMessage": "", "results": { "http://www.soundonline.co.za/index.php?main_page=product_info&cPath=93&products_id=427": { "hash": "cxFYvi", "shortCNAMEUrl": "http://bit.ly/9UmxW9", "shortKeywordUrl": "", "shortUrl": "http://bit.ly/9UmxW9", "userHash": "9UmxW9" } }, "statusCode": "OK" }
Fatal error: Uncaught exception 'BitlyException' with message 'Invalid JSON-response' in /usr/www/users/soundoa/admin/twitter/bitly.php:196 Stack trace: #0 /usr/www/users/soundoa/admin/twitter/bitly.php(382): Bitly->doCall('shorten', Array) #1 /usr/www/users/soundoa/admin/includes/modules/update_product.php(146): Bitly->shorten('http://www.soun...') #2 /usr/www/users/soundoa/admin/product.php(62): require('/usr/www/users/...') #3 {main} thrown in /usr/www/users/soundoa/admin/twitter/bitly.php on line 196

I have PHP5 and cURL enabled.

I have no idea how to fix this. Please help.