Quote:
Originally Posted by buro9
My fault... it should've been this for bitly.php:
PHP Code:
$no_hack_needed = (ini_get('safe_mode') !== '1' && ini_get('open_basedir') === false);
if ($no_hack_needed) {
$options[CURLOPT_FOLLOWLOCATION] = true;
} else {
$options[CURLOPT_FOLLOWLOCATION] = false;
$options[CURLOPT_HEADER] = true;
}
|
Allrighty, the curl error is gone. Now on to the next one
This one remains:
Quote:
Fatal error: Uncaught exception 'BitlyException' with message 'Invalid JSON-response' in /home/domain.net/public_html/forumdir/bitly.php:204 Stack trace: #0 /home/domain.net/public_html/forumdir/bitly.php(390): Bitly->doCall('shorten', Array) #1 /home/domain.net/public_html/forumdir/newthread.php(273) : eval()'d code(20): Bitly->shorten('http://www.nord...') #2/home/domain.net/public_html/forumdir/newthread.php(273): eval() #3 /home/domain.net/public_html/forumdir/vbseo.php(1440): require('/home/dom...') #4 {main} thrown in /home/domain.net/public_html/forumdir/bitly.php on line 204
|