Quote:
Originally Posted by buro9
@Nordinho
It appears to be a PHP cURL thing.
Could you try inserting this at line 136 (just after the CURL options) in bitly.php
PHP Code:
$no_hack_needed = (ini_get('safe_mode') !== '1' && ini_get('open_basedir') === false);
if ($no_hack_needed) {
$curl_opts[CURLOPT_FOLLOWLOCATION] = true;
} else {
$curl_opts[CURLOPT_FOLLOWLOCATION] = false;
$curl_opts[CURLOPT_HEADER] = true;
}
IF twitter.php also needs it, then it's line 161 of that (after the options) where it will need to be inserted.
Try just putting it in bitly.php to start with and let me know how it goes.
|
Hey buro,
Tried adding it in both files, unfortunately it doesn't make a difference though. Getting the same error.