Hello,
i got this error:
Warnung: 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 (Zeile 141)
{ "errorCode": 0, "errorMessage": "", "results": { "http://forum.mydomain.de/showthread.php?t=3680": { "hash": "dAunjV", "shortCNAMEUrl": "http://bit.ly/9857Z4", "shortKeywordUrl": "", "shortUrl": "http://bit.ly/9857Z4", "userHash": "9857Z4" } }, "statusCode": "OK" }Invalid JSON-response on line 196 in /var/www/virtual/mydomain.de/forum/htdocs/bitly.php
#0 /var/www/virtual/mydomain.de/forum/htdocs/bitly.php(382): Bitly->doCall('shorten', Array)
#1 /var/www/virtual/mydomain.de/forum/htdocs/newthread.php(262) : eval()'d code(14): Bitly->shorten('http://forum.em...')
#2 /var/www/virtual/mydomain.de/forum/htdocs/newthread.php(262): eval()
#3 /var/www/virtual/mydomain.de/forum/htdocs/vbseo.php(1629): require('/var/www/virtua...')
#4 {main}
Schwerer Fehler: Invalid JSON-response on line 196 in [path]/bitly.php in [path]/vb/vb.php (Zeile 284)
#0 vb_error_handler(256, Invalid JSON-response on line 196 in /var/www/virtual/mydomain.de/forum/htdocs/bitly.php , /var/www/virtual/mydomain.de/forum/htdocs/vb/vb.php, 284, Array ([exception] => BitlyException Object ([] => Invalid JSON-response,[] => ,[] => 0,[] => /var/www/virtual/mydomain.de/forum/htdocs/bitly.php,[] => 196,[] => Array ([0] => Array ([file] => /var/www/virtual/mydomain.de/forum/htdocs/bitly.php,[line] => 382,[function] => doCall,[class] => Bitly,[type] => ->,[args] => Array ([0] => shorten,[1] => Array ([longUrl] =>
http://forum.mydomain.de/showthread.php?t=3680,[history] => 1))),[1] => Array ([file] => /var/www/virtual/mydomain.de/forum/htdocs/newthread.php(262) : eval()'d code,[line] => 14,[function] => shorten,[class] => Bitly,[type] => ->,[args] => Array ([0] =>
http://forum.mydomain.de/showthread.php?t=3680)),[2] => Array ([file] => /var/www/virtual/mydomain.de/forum/htdocs/newthread.php,[line] => 262,[function] => eval),[3] => Array ([file] => /var/www/virtual/mydomain.de/forum/htdocs/vbseo.php,[line] => 1629,[args] => Array ([0] => /var/www/virtual/mydomain.de/forum/htdocs/newthread.php),[function] => require))),[code] => 256)) called at [(null):0] #1 trigger_error(Invalid JSON-response on line 196 in /var/www/virtual/mydomain.de/forum/htdocs/bitly.php , 256) called at [/var/www/virtual/mydomain.de/forum/htdocs/vb/vb.php:284] #2 vB::handleException(BitlyException Object ([] => Invalid JSON-response,[] => ,[] => 0,[] => /var/www/virtual/mydomain.de/forum/htdocs/bitly.php,[] => 196,[] => Array ([0] => Array ([file] => /var/www/virtual/mydomain.de/forum/htdocs/bitly.php,[line] => 382,[function] => doCall,[class] => Bitly,[type] => ->,[args] => Array ([0] => shorten,[1] => Array ([longUrl] => http://forum.mydomain.de/showthread.php?t=3680,[history] => 1))),[1] => Array ([file] => /var/www/virtual/mydomain.de/forum/htdocs/newthread.php(262) : eval()'d code,[line] => 14,[function] => shorten,[class] => Bitly,[type] => ->,[args] => Array ([0] => http://forum.mydomain.de/showthread.php?t=3680)),[2] => Array ([file] => /var/www/virtual/mydomain.de/forum/htdocs/newthread.php,[line] => 262,[function] => eval),[3] => Array ([file] => /var/www/virtual/mydomain.de/forum/htdocs/vbseo.php,[line] => 1629,[args] => Array ([0] => /var/www/virtual/mydomain.de/forum/htdocs/newthread.php),[function] => require)))) called at [(null):0]
Best regards