thanks mr. mosh for releasing new version.
i successfully installed this mod and working fine for me with
all URL shortening except bit.ly coz bit.ly URL shortening not working and giving fatal error.
i put the
bit.ly Username and
bit.ly API key but giving error when we submitted any thread and at this time i change URL shortening from
bit.ly to
TinyURL
below fatal error which giving me:
{"errorCode": 0, "errorMessage": "", "results": {"http://www.newsoftworld.com/forum/showthread.php?t=48387": {"userHash": "cz0TUO", "hash": "antRKI", "shortUrl": "http://bit.ly/cz0TUO", "shortCNAMEUrl": "http://bit.ly/cz0TUO", "shortKeywordUrl": ""}}, "statusCode": "OK"}Invalid JSON-response on line 196 in /var/www/vhosts/newsoftworld.com/httpdocs/forum/includes/bitly.php
#0 /var/www/vhosts/newsoftworld.com/httpdocs/forum/includes/bitly.php(382): Bitly->doCall('shorten', Array)
#1 /var/www/vhosts/newsoftworld.com/httpdocs/forum/newthread.php(274) : eval()'d code(26): Bitly->shorten('http://www.news...')
#2 /var/www/vhosts/newsoftworld.com/httpdocs/forum/newthread.php(274): eval()
#3 /var/www/vhosts/newsoftworld.com/httpdocs/forum/vbseo.php(1392): require('/var/www/vhosts...')
#4 {main}
Fatal error: Invalid JSON-response on line 196 in [path]/includes/bitly.php in
[path]/vb/vb.php on line
287
#0 vb_error_handler(256, Invalid JSON-response on line 196 in /var/www/vhosts/newsoftworld.com/httpdocs/forum/includes/bitly.php , /var/www/vhosts/newsoftworld.com/httpdocs/forum/vb/vb.php, 287, Array ([exception] => BitlyException Object ([] => Invalid JSON-response,[] => ,[] => 0,[] => /var/www/vhosts/newsoftworld.com/httpdocs/forum/includes/bitly.php,[] => 196,[] => Array ([0] => Array ([file] => /var/www/vhosts/newsoftworld.com/httpdocs/forum/includes/bitly.php,[line] => 382,[function] => doCall,[class] => Bitly,[type] => ->,[args] => Array ([0] => shorten,[1] => Array ([longUrl] =>
http://www.newsoftworld.com/forum/sh...ad.php?t=48387,[history] => 1))),[1] => Array ([file] => /var/www/vhosts/newsoftworld.com/httpdocs/forum/newthread.php(274) : eval()'d code,[line] => 26,[function] => shorten,[class] => Bitly,[type] => ->,[args] => Array ([0] =>
http://www.newsoftworld.com/forum/sh...ad.php?t=48387)),[2] => Array ([file] => /var/www/vhosts/newsoftworld.com/httpdocs/forum/newthread.php,[line] => 274,[function] => eval),[3] => Array ([file] => /var/www/vhosts/newsoftworld.com/httpdocs/forum/vbseo.php,[line] => 1392,[args] => Array ([0] => /var/www/vhosts/newsoftworld.com/httpdocs/forum/newthread.php),[function] => require))),[code] => 256)) #1 trigger_error(Invalid JSON-response on line 196 in /var/www/vhosts/newsoftworld.com/httpdocs/forum/includes/bitly.php , 256) called at [/var/www/vhosts/newsoftworld.com/httpdocs/forum/vb/vb.php:287] #2 vB::handleException(BitlyException Object ([] => Invalid JSON-response,[] => ,[] => 0,[] => /var/www/vhosts/newsoftworld.com/httpdocs/forum/includes/bitly.php,[] => 196,[] => Array ([0] => Array ([file] => /var/www/vhosts/newsoftworld.com/httpdocs/forum/includes/bitly.php,[line] => 382,[function] => doCall,[class] => Bitly,[type] => ->,[args] => Array ([0] => shorten,[1] => Array ([longUrl] => http://www.newsoftworld.com/forum/showthread.php?t=48387,[history] => 1))),[1] => Array ([file] => /var/www/vhosts/newsoftworld.com/httpdocs/forum/newthread.php(274) : eval()'d code,[line] => 26,[function] => shorten,[class] => Bitly,[type] => ->,[args] => Array ([0] => http://www.newsoftworld.com/forum/showthread.php?t=48387)),[2] => Array ([file] => /var/www/vhosts/newsoftworld.com/httpdocs/forum/newthread.php,[line] => 274,[function] => eval),[3] => Array ([file] => /var/www/vhosts/newsoftworld.com/httpdocs/forum/vbseo.php,[line] => 1392,[args] => Array ([0] => /var/www/vhosts/newsoftworld.com/httpdocs/forum/newthread.php),[function] => require))))
please how i can fix it
thanks