Thread: New Posting Features - WS vBulletin Tweet Poster
View Single Post
  #276  
Old 09-18-2010, 07:38 PM
newsoftw newsoftw is offline
 
Join Date: Nov 2008
Location: Pakistan
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01213 seconds
  • Memory Usage 1,798KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete