¿No lees lo que publicas?
Cita: Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /var/www/vhosts/miservidor.com/httpdocs/models/bitly.php on line 1159 array(0) { }
Google:
php open_basedir
No entiendo, el mensaje de error es tan claro que solo basta investigar un poco, no abrir un tema para que te manden a investigar.