For some reason I still get this error after adding the code on line 136 in the bitly.php file.
Code:
Warning: curl_setopt_array() [function.curl-setopt-array]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in [path]/bitly.php on line 141
{ "errorCode": 0, "errorMessage": "", "results": { "http://www.pro-esports.com/showthread.php?t=22": { "hash": "d6TEBY", "shortCNAMEUrl": "http://bit.ly/cn4qlP", "shortKeywordUrl": "", "shortUrl": "http://bit.ly/cn4qlP", "userHash": "cn4qlP" } }, "statusCode": "OK" }Invalid JSON-response on line 196 in /.../pro-esports.com/forums/bitly.php
#0 /.../pro-esports.com/forums/bitly.php(382): Bitly->doCall('shorten', Array)
#1 /.../pro-esports.com/forums/newthread.php(262) : eval()'d code(19): Bitly->shorten('http://www.pro-...')
#2 /.../pro-esports.com/forums/newthread.php(262): eval()
#3 {main}